diff options
Diffstat (limited to 'kxkb/rules.h')
-rw-r--r-- | kxkb/rules.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kxkb/rules.h b/kxkb/rules.h index 38dd40fb6..0a68f3dbf 100644 --- a/kxkb/rules.h +++ b/kxkb/rules.h @@ -3,8 +3,10 @@ #include <tqstring.h> #include <tqdict.h> +#include <tqstringlist.h> #include <tqmap.h> +#include "layoutunit.h" class XkbRules { @@ -18,6 +20,11 @@ public: TQStringList getAvailableVariants(const TQString& layout); + TQString getLayoutName(LayoutUnit layout) const; + + /// A helper to translate option description + static TQString trOpt(TQString opt); + protected: void loadRules(TQString filename, bool layoutsOnly=false); |