]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfunc.h
redraw fix 1.
[lyx.git] / src / lyxfunc.h
index b394f0de57598639ff2c9d1872bcf002d44f7e1b..9f72d2c406e12ce607312015f81a2e9b5f581c58 100644 (file)
@@ -6,16 +6,18 @@
 #pragma interface
 #endif
 
-#include <X11/Xlib.h>
-#include <sigc++/signal_system.h>
 
-#include "frontends/mouse_state.h"
-#include "frontends/key_state.h"
 #include "commandtags.h" // for kb_action enum
 #include "FuncStatus.h"
 #include "kbsequence.h"
 #include "LString.h"
 
+#include "frontends/mouse_state.h"
+#include "frontends/key_state.h"
+#include "frontends/LyXKeySym.h"
+
+#include <boost/signals/trackable.hpp>
+
 class LyXView;
 class LyXText;
 
@@ -26,7 +28,7 @@ class LyXText;
     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 SigC::Object {
+class LyXFunc : public boost::signals::trackable {
 public:
        ///
        explicit
@@ -54,7 +56,7 @@ public:
        void initMiniBuffer();
 
        ///
-       void processKeySym(KeySym key, key_modifier::state state);
+       void processKeySym(LyXKeySymPtr key, key_modifier::state state);
 
        /// we need one internal which is called from inside LyXAction and
        /// can contain the string argument.
@@ -78,7 +80,7 @@ public:
        string const getMessage() const { return dispatch_buffer; }
        /// Buffer to store result messages
        string const getStatusMessage() const { return status_buffer; }
-       /// Handle a accented char keysequenze
+       /// Handle a accented char key sequence
        void handleKeyFunc(kb_action action);
 
 private: