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/kcontrol/triggers_tab.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/kcontrol/triggers_tab.h')
-rw-r--r-- | khotkeys/kcontrol/triggers_tab.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/khotkeys/kcontrol/triggers_tab.h b/khotkeys/kcontrol/triggers_tab.h index 57cce3e3e..824b31173 100644 --- a/khotkeys/kcontrol/triggers_tab.h +++ b/khotkeys/kcontrol/triggers_tab.h @@ -30,22 +30,22 @@ class Action_data; class Trigger_list_item; class KHotKeysShortcutList; -// A listbox here would do too, but unlike QListView, QListBox now even cannot be subclassed +// A listbox here would do too, but unlike TQListView, TQListBox now even cannot be subclassed // to behave sanely WRT selecting and the current item class Triggers_tab : public Triggers_tab_ui { Q_OBJECT public: - Triggers_tab( QWidget* parent_P = NULL, const char* name_P = NULL ); + Triggers_tab( TQWidget* parent_P = NULL, const char* name_P = NULL ); virtual ~Triggers_tab(); void set_data( const Trigger_list* data_P ); Trigger_list* get_data( Action_data* data_P ) const; public slots: void clear_data(); protected: - Trigger_list_item* create_listview_item( Trigger* trigger_P, QListView* parent_P, - QListViewItem* after_P, bool copy_P ); + Trigger_list_item* create_listview_item( Trigger* trigger_P, TQListView* parent_P, + TQListViewItem* after_P, bool copy_P ); void edit_listview_item( Trigger_list_item* item_P ); Trigger_list_item* selected_item; enum type_t { TYPE_SHORTCUT_TRIGGER, TYPE_GESTURE_TRIGGER, TYPE_WINDOW_TRIGGER, TYPE_VOICE_TRIGGER }; @@ -54,17 +54,17 @@ class Triggers_tab virtual void copy_pressed(); virtual void delete_pressed(); virtual void modify_pressed(); - virtual void current_changed( QListViewItem* item_P ); + virtual void current_changed( TQListViewItem* item_P ); }; class Trigger_list_item : public QListViewItem { public: - Trigger_list_item( QListView* parent_P, Trigger* trigger_P ); - Trigger_list_item( QListView* parent_P, QListViewItem* after_P, Trigger* trigger_P ); + Trigger_list_item( TQListView* parent_P, Trigger* trigger_P ); + Trigger_list_item( TQListView* parent_P, TQListViewItem* after_P, Trigger* trigger_P ); virtual ~Trigger_list_item(); - virtual QString text( int column_P ) const; + virtual TQString text( int column_P ) const; Trigger* trigger() const; void set_trigger( Trigger* trigger_P ); protected: @@ -84,7 +84,7 @@ class Shortcut_trigger_widget { Q_OBJECT public: - Shortcut_trigger_widget( QWidget* parent_P = NULL, const char* name_P = NULL ); + Shortcut_trigger_widget( TQWidget* parent_P = NULL, const char* name_P = NULL ); void set_data( const Shortcut_trigger* trigger_P ); Shortcut_trigger* get_data( Action_data* data_P ) const; public slots: @@ -163,15 +163,15 @@ class Voice_trigger_dialog // Trigger_list_item inline -Trigger_list_item::Trigger_list_item( QListView* parent_P, Trigger* trigger_P ) - : QListViewItem( parent_P ), _trigger( trigger_P ) +Trigger_list_item::Trigger_list_item( TQListView* parent_P, Trigger* trigger_P ) + : TQListViewItem( parent_P ), _trigger( trigger_P ) { } inline -Trigger_list_item::Trigger_list_item( QListView* parent_P, QListViewItem* after_P, +Trigger_list_item::Trigger_list_item( TQListView* parent_P, TQListViewItem* after_P, Trigger* trigger_P ) - : QListViewItem( parent_P, after_P ), _trigger( trigger_P ) + : TQListViewItem( parent_P, after_P ), _trigger( trigger_P ) { } |