Diffstat (limited to 'noncore/apps/keyz-cfg/zkbnames.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/keyz-cfg/zkbnames.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/noncore/apps/keyz-cfg/zkbnames.h b/noncore/apps/keyz-cfg/zkbnames.h new file mode 100644 index 0000000..58462ff --- a/dev/null +++ b/noncore/apps/keyz-cfg/zkbnames.h | |||
@@ -0,0 +1,27 @@ | |||
1 | #ifndef ZKBNAMES_H | ||
2 | #define ZKBNAMES_H | ||
3 | |||
4 | #ifdef USE_ZKB_NAMES | ||
5 | |||
6 | #include <qstring.h> | ||
7 | |||
8 | class KeyNames { | ||
9 | public: | ||
10 | static int find(const QString& key); | ||
11 | static const QString& find(int); | ||
12 | }; | ||
13 | |||
14 | class KeycodeNames { | ||
15 | public: | ||
16 | static int find(const QString& key); | ||
17 | static const QString& find(int); | ||
18 | }; | ||
19 | |||
20 | class ModifierNames { | ||
21 | public: | ||
22 | static int find(const QString& key); | ||
23 | static const QString& find(int); | ||
24 | }; | ||
25 | |||
26 | #endif | ||
27 | #endif | ||