summaryrefslogtreecommitdiffstats
path: root/kxkb/x11helper.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kxkb/x11helper.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kxkb/x11helper.h')
-rw-r--r--kxkb/x11helper.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kxkb/x11helper.h b/kxkb/x11helper.h
index a4faba899..042fb4ce5 100644
--- a/kxkb/x11helper.h
+++ b/kxkb/x11helper.h
@@ -1,19 +1,19 @@
#ifndef X11HELPER_H_
#define X11HELPER_H_
-#include <qdict.h>
-#include <qstringlist.h>
+#include <tqdict.h>
+#include <tqstringlist.h>
struct RulesInfo {
- QDict<char> models;
- QDict<char> layouts;
- QDict<char> options;
+ TQDict<char> models;
+ TQDict<char> layouts;
+ TQDict<char> options;
};
struct OldLayouts {
- QStringList oldLayouts;
- QStringList nonLatinLayouts;
+ TQStringList oldLayouts;
+ TQStringList nonLatinLayouts;
};
class X11Helper
@@ -22,17 +22,17 @@ class X11Helper
public:
static const WId UNKNOWN_WINDOW_ID = (WId) 0;
- static const QString X11_WIN_CLASS_ROOT;
- static const QString X11_WIN_CLASS_UNKNOWN;
+ static const TQString X11_WIN_CLASS_ROOT;
+ static const TQString X11_WIN_CLASS_UNKNOWN;
/**
* Tries to find X11 xkb config dir
*/
- static const QString findX11Dir();
- static const QString findXkbRulesFile(QString x11Dir, Display* dpy);
- static QString getWindowClass(WId winId, Display* dpy);
- static QStringList* getVariants(const QString& layout, const QString& x11Dir, bool oldLayouts=false);
- static RulesInfo* loadRules(const QString& rulesFile, bool layoutsOnly=false);
- static OldLayouts* loadOldLayouts(const QString& rulesFile);
+ static const TQString findX11Dir();
+ static const TQString findXkbRulesFile(TQString x11Dir, Display* dpy);
+ static TQString getWindowClass(WId winId, Display* dpy);
+ static TQStringList* getVariants(const TQString& layout, const TQString& x11Dir, bool oldLayouts=false);
+ static RulesInfo* loadRules(const TQString& rulesFile, bool layoutsOnly=false);
+ static OldLayouts* loadOldLayouts(const TQString& rulesFile);
static bool areLayoutsClean() { return m_layoutsClean; }
static bool areSingleGroupsSupported();