Re: QWorkArea.C won't compile on Mac

2006-04-17 Thread Lars Gullik Bjønnes
Bennett Helm <[EMAIL PROTECTED]> writes: | On Apr 17, 2006, at 10:31 AM, Lars Gullik Bjønnes wrote: | > Bennett Helm <[EMAIL PROTECTED]> writes: | > | > | > But it is wrong. | > | > | > | > workAreaDispatch is the dispatch function that should be called. | > | | > | Sorry, but you'll have to be mo

Re: QWorkArea.C won't compile on Mac

2006-04-17 Thread Georg Baum
Am Montag, 17. April 2006 18:31 schrieb Bennett Helm: > Well, I had to go to QContentPane.C to find something similar. > > wa_ptr->view().view()->workAreaDispatch( > FuncRequest(LFUN_FILE_OPEN, > fromqstr(s_arg))); > > seems to work -- opening documents within LyX is fine. (Is

Re: QWorkArea.C won't compile on Mac

2006-04-17 Thread Bennett Helm
On Apr 17, 2006, at 10:31 AM, Lars Gullik Bjønnes wrote: Bennett Helm <[EMAIL PROTECTED]> writes: | > 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( | FuncR

Re: QWorkArea.C won't compile on Mac

2006-04-17 Thread Lars Gullik Bjønnes
Bennett Helm <[EMAIL PROTECTED]> writes: | > 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)));

Re: QWorkArea.C won't compile on Mac

2006-04-17 Thread Bennett Helm
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 er

Re: QWorkArea.C won't compile on Mac

2006-04-17 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Am Montag, 17. April 2006 15:41 schrieb Bennett Helm: | > Suggestions? | | Or maybe wa_ptr->view()->workAreaDispatch. I don't know which one should | be used here. workAreaDispatch. -- Lgb

Re: QWorkArea.C won't compile on Mac

2006-04-17 Thread Lars Gullik Bjønnes
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

Re: QWorkArea.C won't compile on Mac

2006-04-17 Thread Bennett Helm
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*,

Re: QWorkArea.C won't compile on Mac

2006-04-17 Thread Georg Baum
Am Montag, 17. April 2006 15:41 schrieb Bennett Helm: > Suggestions? Or maybe wa_ptr->view()->workAreaDispatch. I don't know which one should be used here. Georg

Re: QWorkArea.C won't compile on Mac

2006-04-17 Thread Georg Baum
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: er