]> git.lyx.org Git - lyx.git/blobdiff - src/LyXFunc.h
cleanup and reorder initialisation code of GuiView and GuiToolbars. Move some things...
[lyx.git] / src / LyXFunc.h
index 84dc9c58fd337f99663e6a9ca9df3320278c9826..137b533f5303e1f72e96a1d5b18ef006fee12440 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "support/docstring.h"
 
-#include <boost/signals/trackable.hpp>
-
 namespace lyx {
 
 class Buffer;
@@ -42,7 +40,8 @@ class LyXView;
     keyboard or from the GUI. All GUI objects, including buttons and
     menus should use this class and never call kernel functions directly.
 */
-class LyXFunc : public boost::signals::trackable {
+class LyXFunc
+{
 public:
        ///
        explicit LyXFunc();
@@ -60,7 +59,7 @@ public:
        docstring const viewStatusMessage();
 
        ///
-       void processKeySym(KeySymbol const & key, key_modifier::state state);
+       void processKeySym(KeySymbol const & key, KeyModifier state);
 
        ///
        FuncStatus getStatus(FuncRequest const & action) const;
@@ -99,7 +98,7 @@ private:
        ///
        KeySequence cancel_meta_seq;
        ///
-       key_modifier::state meta_fake_bit;
+       KeyModifier meta_fake_bit;
 
        /// Error status, only Dispatch can change this flag
        mutable bool errorstat;