From 9647d4c7ff182c1fadffb9c6218bc00132fe682e Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Thu, 21 Dec 2023 17:32:43 +0200 Subject: Kxkb: move LayoutUnit struct into its own file and add getLayoutName function Signed-off-by: Mavridis Philippe --- kxkb/rules.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kxkb/rules.h') 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 #include +#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); -- cgit v1.2.1