diff options
author | Mavridis Philippe <[email protected]> | 2023-12-21 17:32:43 +0200 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2023-12-25 16:38:10 +0200 |
commit | 9647d4c7ff182c1fadffb9c6218bc00132fe682e (patch) | |
tree | 2628ae8b408bc1ee90d4fbbfec35b023ee94bbd7 /kxkb/rules.h | |
parent | f2dbf5b9035e9a4861b7d0ad348f4f86c4caba03 (diff) | |
download | tdebase-9647d4c7ff182c1fadffb9c6218bc00132fe682e.tar.gz tdebase-9647d4c7ff182c1fadffb9c6218bc00132fe682e.zip |
Kxkb: move LayoutUnit struct into its own file and add getLayoutName function
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'kxkb/rules.h')
-rw-r--r-- | kxkb/rules.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kxkb/rules.h b/kxkb/rules.h index 38dd40fb6..e7a6e8840 100644 --- a/kxkb/rules.h +++ b/kxkb/rules.h @@ -5,6 +5,7 @@ #include <tqdict.h> #include <tqmap.h> +#include "layoutunit.h" class XkbRules { @@ -18,6 +19,8 @@ public: TQStringList getAvailableVariants(const TQString& layout); + TQString getLayoutName(LayoutUnit layout) const; + protected: void loadRules(TQString filename, bool layoutsOnly=false); |