diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-08-18 16:22:39 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-08-18 16:22:39 +0200 |
commit | 0af498ec7d2af08ea8e01b54cc29fae9975b8c91 (patch) | |
tree | 4803270143afa7788a254b7791da7bd605a661a3 /kkbswitch/windowclasswatcher.h | |
parent | 43e0b376e766d90e825697d0aa419c41007324a6 (diff) | |
download | kkbswitch-0af498ec7d2af08ea8e01b54cc29fae9975b8c91.tar.gz kkbswitch-0af498ec7d2af08ea8e01b54cc29fae9975b8c91.zip |
Initial TQt conversion
Diffstat (limited to 'kkbswitch/windowclasswatcher.h')
-rw-r--r-- | kkbswitch/windowclasswatcher.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kkbswitch/windowclasswatcher.h b/kkbswitch/windowclasswatcher.h index 5479dd5..a81382e 100644 --- a/kkbswitch/windowclasswatcher.h +++ b/kkbswitch/windowclasswatcher.h @@ -21,9 +21,9 @@ #define WINDOWCLASSWATCHER_H #include "windowwatcher.h" -#include <qmap.h> +#include <ntqmap.h> -class QString; +class TQString; /** This class watcher for active window changes and keeps a group per window class @@ -33,7 +33,7 @@ This class watcher for active window changes and keeps a group per window class class WindowClassWatcher : public WindowWatcher { Q_OBJECT private: - typedef QMap<WId, QString> WinClassMap; + typedef TQMap<WId, TQString> WinClassMap; WinClassMap m_win_class_map; struct KBClassInfo { int groupno; @@ -41,16 +41,16 @@ private: int refcount; KBClassInfo() : refcount(0) {} }; - typedef QMap<QString, KBClassInfo> ClassGroupMap; + typedef TQMap<TQString, KBClassInfo> ClassGroupMap; ClassGroupMap m_class_group_map; ClassGroupMap::Iterator m_active_class; - QString getWindowClass(WId id); + TQString getWindowClass(WId id); protected: virtual void windowAdded(WId id); virtual void windowRemoved(WId id); virtual void activeWindowChanged(WId id); public: - WindowClassWatcher(KBConfig *kbconf, QObject *parent = 0, const char *name = 0); + WindowClassWatcher(KBConfig *kbconf, TQObject *parent = 0, const char *name = 0); ~WindowClassWatcher(); virtual void changeGroup(int groupno, int next_groupno); virtual void reset(); |