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 more explicit for me. Using
| > |
| > | wa_ptr->workAreaDispatch(
| > |   FuncRequest(LFUN_FILE_OPEN,
| > |           fromqstr(s_arg)));
| >
| > wa_ptr->view().workAreaDispatch();
| >
| > is close. Just look at the other places in the same file where
| > workAreaDispatch is used.
| 
| 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 this right?)

Yes this is the right one.

-- 
        Lgb

Reply via email to