diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /khotkeys/shared/input.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-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 'khotkeys/shared/input.h')
-rw-r--r-- | khotkeys/shared/input.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/khotkeys/shared/input.h b/khotkeys/shared/input.h index 1983bcf0b..22df89284 100644 --- a/khotkeys/shared/input.h +++ b/khotkeys/shared/input.h @@ -11,11 +11,11 @@ #ifndef _INPUT_H_ #define _INPUT_H_ -#include <qobject.h> -#include <qwindowdefs.h> -#include <qmap.h> -#include <qwidget.h> -#include <qvaluelist.h> +#include <tqobject.h> +#include <tqwindowdefs.h> +#include <tqmap.h> +#include <tqwidget.h> +#include <tqvaluelist.h> #include <kshortcut.h> #include <X11/X.h> @@ -37,7 +37,7 @@ class Kbd { Q_OBJECT public: - Kbd( bool grabbing_enabled_P, QObject* parent_P ); + Kbd( bool grabbing_enabled_P, TQObject* parent_P ); virtual ~Kbd(); void insert_item( const KShortcut& shortcut_P, Kbd_receiver* receiver_P ); void remove_item( const KShortcut& shortcut_P, Kbd_receiver* receiver_P ); @@ -49,17 +49,17 @@ class Kbd void grab_shortcut( const KShortcut& shortcut_P ); void ungrab_shortcut( const KShortcut& shortcut_P ); private slots: - void key_slot( QString key_P ); + void key_slot( TQString key_P ); void update_connections(); private: struct Receiver_data { Receiver_data(); - QValueList< KShortcut > shortcuts; + TQValueList< KShortcut > shortcuts; bool active; }; - QMap< Kbd_receiver*, Receiver_data > receivers; - QMap< KShortcut, int > grabs; + TQMap< Kbd_receiver*, Receiver_data > receivers; + TQMap< KShortcut, int > grabs; KGlobalAccel* kga; }; |