On Apr 17, 2006, at 10:10 AM, Lars Gullik Bjønnes wrote:

Bennett Helm <[EMAIL PROTECTED]> writes:

| On Apr 17, 2006, at 9:55 AM, Georg Baum wrote:
|
| > Am Montag, 17. April 2006 15:41 schrieb Bennett Helm:
| >> In most recent svn (13689), QWorkArea.C won't compile, giving the
| >> following error (within a #ifdef Q_WS_MACX):
| >>
| >> QWorkArea.C: In function `OSErr handleOpenDocuments(const AERecord*,
| >> AERecord*,
| >>     long int)':
| >> QWorkArea.C:176: error: `dispatch' undeclared (first use this
| >> function)
| >>
| >> Suggestions?
| >
| > Does
| >
| > wa_ptr->view().dispatch
| >
| > instead of
| >
| > wa_ptr->dispatch
| >
| > work?
|
| Yes -- that does it. Thanks!

But it is wrong.

workAreaDispatch is the dispatch function that should be called.

Sorry, but you'll have to be more explicit for me. Using

wa_ptr->workAreaDispatch(
        FuncRequest(LFUN_FILE_OPEN,
                fromqstr(s_arg)));

does not compile; what do I need instead?

Bennett

Reply via email to