diff options
Diffstat (limited to 'src/Keys.hh')
-rw-r--r-- | src/Keys.hh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Keys.hh b/src/Keys.hh index 43f4445..2dc1c10 100644 --- a/src/Keys.hh +++ b/src/Keys.hh | |||
@@ -23,6 +23,7 @@ | |||
23 | #define KEYS_HH | 23 | #define KEYS_HH |
24 | 24 | ||
25 | #include "FbTk/NotCopyable.hh" | 25 | #include "FbTk/NotCopyable.hh" |
26 | #include "FbTk/Signal.hh" | ||
26 | 27 | ||
27 | #include <X11/Xlib.h> | 28 | #include <X11/Xlib.h> |
28 | #include <string> | 29 | #include <string> |
@@ -35,7 +36,7 @@ namespace FbTk { | |||
35 | class AutoReloadHelper; | 36 | class AutoReloadHelper; |
36 | } | 37 | } |
37 | 38 | ||
38 | class Keys:private FbTk::NotCopyable { | 39 | class Keys: private FbTk::NotCopyable, private FbTk::SignalTracker { |
39 | public: | 40 | public: |
40 | 41 | ||
41 | // contexts for events | 42 | // contexts for events |
@@ -79,7 +80,6 @@ public: | |||
79 | /// grab keys again when keymap changes | 80 | /// grab keys again when keymap changes |
80 | void regrab(); | 81 | void regrab(); |
81 | 82 | ||
82 | const std::string& filename() const { return m_filename; } | ||
83 | /** | 83 | /** |
84 | Load configuration from file | 84 | Load configuration from file |
85 | */ | 85 | */ |
@@ -87,7 +87,6 @@ public: | |||
87 | /** | 87 | /** |
88 | Reload configuration if keys file has changed | 88 | Reload configuration if keys file has changed |
89 | */ | 89 | */ |
90 | void reconfigure(); | ||
91 | void keyMode(const std::string& keyMode); | 90 | void keyMode(const std::string& keyMode); |
92 | 91 | ||
93 | bool inKeychain() const { return saved_keymode != 0; } | 92 | bool inKeychain() const { return saved_keymode != 0; } |
@@ -112,7 +111,6 @@ private: | |||
112 | 111 | ||
113 | 112 | ||
114 | // member variables | 113 | // member variables |
115 | std::string m_filename; | ||
116 | FbTk::AutoReloadHelper* m_reloader; | 114 | FbTk::AutoReloadHelper* m_reloader; |
117 | t_key *m_keylist; | 115 | t_key *m_keylist; |
118 | keyspace_t m_map; | 116 | keyspace_t m_map; |