]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiMath.h
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / GuiMath.h
index c6026ad32df74dc38a8fa607542f71cee6a5ce1b..8100b61c693ad5a7b26118e7bbdc5582295b28ba 100644 (file)
@@ -13,8 +13,8 @@
 #define GUIMATH_H
 
 #include "GuiDialog.h"
-#include "lfuns.h" // for kb_action
-#include "Font.h"
+#include "FuncCode.h"
+#include "FontEnums.h"
 
 #include <map>
 
@@ -24,19 +24,19 @@ namespace frontend {
 
 struct MathSymbol {
        MathSymbol(char_type uc = '?', unsigned char fc = 0,
-               Font::FONT_FAMILY ff = Font::SYMBOL_FAMILY)
+               FontFamily ff = SYMBOL_FAMILY)
                : unicode(uc), fontcode(fc), fontfamily(ff)
        {}
        char_type unicode;
        unsigned char fontcode;
-       Font::FONT_FAMILY fontfamily;
+       FontFamily fontfamily;
 };
 
 
 class GuiMath : public GuiDialog
 {
 public:
-       GuiMath(LyXView & lv, std::string const & name);
+       GuiMath(GuiView & lv, QString const & name, QString const & title);
 
        /// Nothing to initialise in this case.
        bool initialiseParams(std::string const &) { return true; }
@@ -45,7 +45,7 @@ public:
        bool isBufferDependent() const { return true; }
 
        /// dispatch an LFUN
-       void dispatchFunc(kb_action action,
+       void dispatchFunc(FuncCode action,
                std::string const & arg = std::string()) const;
        /// Insert a math symbol into the doc.
        void dispatchInsert(std::string const & name) const;