]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/Dialog.h
Compil fix.
[lyx.git] / src / frontends / qt4 / Dialog.h
index 7b96d65390cc35eee15587f82bb9a8b53c7ba3f1..9c7b3b6c56cad85a3c4e778cc8269222595cd8cc 100644 (file)
 #ifndef DIALOG_H
 #define DIALOG_H
 
-#include "lfuns.h"
+#include "FuncCode.h"
+
+#include "support/strfwd.h"
 
 #include <QString>
-#include <string>
 
 class QWidget;
 
@@ -86,7 +87,6 @@ public:
        /// \param data is a string encoding of the data to be displayed.
        /// It is passed to the Controller to be translated into a useable form.
        virtual void showData(std::string const & data);
-       virtual void updateData(std::string const & data);
        //@}
 
        /** Check whether we may apply our data.
@@ -164,7 +164,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 +227,7 @@ public:
        //@{
        bool isBufferAvailable() const;
        bool isBufferReadonly() const;
-       std::string const bufferFilepath() const;
+       QString bufferFilepath() const;
        //@}
 
        /// The type of the current buffer.