summaryrefslogtreecommitdiffstats
path: root/kxkb/rules.h
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2023-12-21 17:32:43 +0200
committerMavridis Philippe <[email protected]>2023-12-25 17:35:38 +0200
commit94cec968a8bdb4c51fe68c814b1d864fe887e65e (patch)
treec0b01bd3ea80f9484c8e1273f73e6ffb3b9830b7 /kxkb/rules.h
parentc55cad68e9f36ddbf028f3bbf2674861057905a3 (diff)
downloadtdebase-94cec968a8bdb4c51fe68c814b1d864fe887e65e.tar.gz
tdebase-94cec968a8bdb4c51fe68c814b1d864fe887e65e.zip
Kxkb: move LayoutUnit struct into its own file and add getLayoutName function
Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit 9647d4c7ff182c1fadffb9c6218bc00132fe682e)
Diffstat (limited to 'kxkb/rules.h')
-rw-r--r--kxkb/rules.h3
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);