]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/Dialog.h
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / Dialog.h
index 7b96d65390cc35eee15587f82bb9a8b53c7ba3f1..1bd75673c54af9c076edf8a516b393216793c48f 100644 (file)
 #ifndef DIALOG_H
 #define DIALOG_H
 
-#include "lfuns.h"
+#include "FuncCode.h"
+
+#include "support/strfwd.h"
 
 #include <QString>
-#include <string>
 
 class QWidget;
 
@@ -164,7 +165,7 @@ public:
         * It should be used in dispatchParams(), too for consistency reasons.
         *  \returns the lfun that is sent for applying the data.
         */
-       virtual kb_action getLfun() const { return LFUN_INSET_APPLY; }
+       virtual FuncCode getLfun() const { return LFUN_INSET_APPLY; }
 
        /** Check whether we may apply our data.
         *
@@ -227,7 +228,7 @@ public:
        //@{
        bool isBufferAvailable() const;
        bool isBufferReadonly() const;
-       std::string const bufferFilepath() const;
+       QString bufferFilepath() const;
        //@}
 
        /// The type of the current buffer.