Angus Leeming <[EMAIL PROTECTED]> writes:

| On Wednesday 24 July 2002 6:56 am, Lars Gullik Bjønnes wrote:
| > John Levon <[EMAIL PROTECTED]> writes:
| > | On Tue, Jul 23, 2002 at 07:30:54PM +0100, Angus Leeming wrote:
| > | >             argument types are: (kb_action, const char *)
| > | >                 lv_->getLyXFunc()->dispatch(action_,
| > | > selectedFile().data());
| > |
| > | lv_->getLyXFunc()->dispatch(action_, selectedFile().data(), false);
| >
| > What type does selectedFile() return?
| 
| From the error message, const char *.
| 
| I guess that selectedFile() is a QFileDialog method... yup.
|     QString selectedFile() const;
| 
| Qt magic. Go figure.

Just make sure that QString::data is required to retrun a
null-terminated char const *.

-- 
        Lgb


Reply via email to