From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khotkeys/kcontrol/triggers_tab.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'khotkeys/kcontrol/triggers_tab.h') 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 ) { } -- cgit v1.2.1