diff options
Diffstat (limited to 'kxkb/kxkbconfig.h')
-rw-r--r-- | kxkb/kxkbconfig.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/kxkb/kxkbconfig.h b/kxkb/kxkbconfig.h index a4dc83e5a..afa028687 100644 --- a/kxkb/kxkbconfig.h +++ b/kxkb/kxkbconfig.h @@ -19,6 +19,13 @@ #include <tqptrqueue.h> #include <tqmap.h> +struct XkbOptions { + TQString layouts; + TQString variants; + TQString model; + TQString options; + bool resetOld; +}; /* Utility classes for per-window/per-application layout implementation */ @@ -41,9 +48,7 @@ inline TQString createPair(TQString key, TQString value) struct LayoutUnit { TQString layout; TQString variant; - TQString includeGroup; TQString displayName; - int defaultGroup; LayoutUnit() {} @@ -115,8 +120,6 @@ public: TQString m_options; TQValueList<LayoutUnit> m_layouts; - LayoutUnit getDefaultLayout(); - bool load(int loadMode); void save(); void setDefaults(); @@ -125,6 +128,8 @@ public: static TQString getDefaultDisplayName(const TQString& code_); static TQString getDefaultDisplayName(const LayoutUnit& layoutUnit, bool single=false); + const XkbOptions getXkbOptions(); + private: static const TQMap<TQString, TQString> parseIncludesMap(const TQStringList& pairList); }; |