diff options
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(); |