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 7a6b3b8..076387b 100644 --- a/src/Keys.hh +++ b/src/Keys.hh | |||
@@ -24,6 +24,7 @@ | |||
24 | 24 | ||
25 | #include "FbTk/NotCopyable.hh" | 25 | #include "FbTk/NotCopyable.hh" |
26 | #include "FbTk/RefCount.hh" | 26 | #include "FbTk/RefCount.hh" |
27 | #include "FbTk/Signal.hh" | ||
27 | 28 | ||
28 | #include <X11/Xlib.h> | 29 | #include <X11/Xlib.h> |
29 | #include <string> | 30 | #include <string> |
@@ -36,7 +37,7 @@ namespace FbTk { | |||
36 | class AutoReloadHelper; | 37 | class AutoReloadHelper; |
37 | } | 38 | } |
38 | 39 | ||
39 | class Keys:private FbTk::NotCopyable { | 40 | class Keys: private FbTk::NotCopyable, private FbTk::SignalTracker { |
40 | public: | 41 | public: |
41 | 42 | ||
42 | // contexts for events | 43 | // contexts for events |
@@ -80,7 +81,6 @@ public: | |||
80 | /// grab keys again when keymap changes | 81 | /// grab keys again when keymap changes |
81 | void regrab(); | 82 | void regrab(); |
82 | 83 | ||
83 | const std::string& filename() const { return m_filename; } | ||
84 | /** | 84 | /** |
85 | Load configuration from file | 85 | Load configuration from file |
86 | */ | 86 | */ |
@@ -88,7 +88,6 @@ public: | |||
88 | /** | 88 | /** |
89 | Reload configuration if keys file has changed | 89 | Reload configuration if keys file has changed |
90 | */ | 90 | */ |
91 | void reconfigure(); | ||
92 | void keyMode(const std::string& keyMode); | 91 | void keyMode(const std::string& keyMode); |
93 | 92 | ||
94 | bool inKeychain() const { return saved_keymode != 0; } | 93 | bool inKeychain() const { return saved_keymode != 0; } |
@@ -114,7 +113,6 @@ private: | |||
114 | 113 | ||
115 | 114 | ||
116 | // member variables | 115 | // member variables |
117 | std::string m_filename; | ||
118 | FbTk::AutoReloadHelper* m_reloader; | 116 | FbTk::AutoReloadHelper* m_reloader; |
119 | RefKey m_keylist; | 117 | RefKey m_keylist; |
120 | keyspace_t m_map; | 118 | keyspace_t m_map; |