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/action_list_widget.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/action_list_widget.h')
-rw-r--r-- | khotkeys/kcontrol/action_list_widget.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/khotkeys/kcontrol/action_list_widget.h b/khotkeys/kcontrol/action_list_widget.h index f1f965db6..b49a1315a 100644 --- a/khotkeys/kcontrol/action_list_widget.h +++ b/khotkeys/kcontrol/action_list_widget.h @@ -11,7 +11,7 @@ #ifndef _ACTION_LIST_WIDGET_H_ #define _ACTION_LIST_WIDGET_H_ -#include <qlistview.h> +#include <tqlistview.h> #include <actions.h> #include <kdialogbase.h> @@ -36,15 +36,15 @@ class Action_list_widget { Q_OBJECT public: - Action_list_widget( QWidget* parent_P = NULL, const char* name_P = NULL ); + Action_list_widget( TQWidget* parent_P = NULL, const char* name_P = NULL ); virtual ~Action_list_widget(); void set_data( const Action_list* data_P ); Action_list* get_data( Action_data* data_P ) const; public slots: void clear_data(); protected: - Action_list_item* create_listview_item( Action* action_P, QListView* parent1_P, - QListViewItem* parent2_P, QListViewItem* after_P, bool copy_P ); + Action_list_item* create_listview_item( Action* action_P, TQListView* parent1_P, + TQListViewItem* parent2_P, TQListViewItem* after_P, bool copy_P ); void edit_listview_item( Action_list_item* item_P ); enum type_t { TYPE_COMMAND_URL_ACTION, TYPE_MENUENTRY_ACTION, TYPE_DCOP_ACTION, TYPE_KEYBOARD_INPUT_ACTION, TYPE_ACTIVATE_WINDOW_ACTION }; @@ -53,7 +53,7 @@ class Action_list_widget 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 ); protected: Action_list_item* selected_item; }; @@ -64,12 +64,12 @@ class Action_list_item : public QListViewItem { public: - Action_list_item( QListView* parent_P, Action* action_P ); - Action_list_item( QListViewItem* parent_P, Action* action_P ); - Action_list_item( QListView* parent_P, QListViewItem* after_P, Action* action_P ); - Action_list_item( QListViewItem* parent_P, QListViewItem* after_P, Action* action_P ); + Action_list_item( TQListView* parent_P, Action* action_P ); + Action_list_item( TQListViewItem* parent_P, Action* action_P ); + Action_list_item( TQListView* parent_P, TQListViewItem* after_P, Action* action_P ); + Action_list_item( TQListViewItem* parent_P, TQListViewItem* after_P, Action* action_P ); virtual ~Action_list_item(); - virtual QString text( int column_P ) const; + virtual TQString text( int column_P ) const; Action* action() const; void set_action( Action* action_P ); protected: @@ -155,28 +155,28 @@ class Activate_window_action_dialog // Action_list_item inline -Action_list_item::Action_list_item( QListView* parent_P, Action* action_P ) - : QListViewItem( parent_P ), _action( action_P ) +Action_list_item::Action_list_item( TQListView* parent_P, Action* action_P ) + : TQListViewItem( parent_P ), _action( action_P ) { } inline -Action_list_item::Action_list_item( QListViewItem* parent_P, Action* action_P ) - : QListViewItem( parent_P ), _action( action_P ) +Action_list_item::Action_list_item( TQListViewItem* parent_P, Action* action_P ) + : TQListViewItem( parent_P ), _action( action_P ) { } inline -Action_list_item::Action_list_item( QListView* parent_P, QListViewItem* after_P, +Action_list_item::Action_list_item( TQListView* parent_P, TQListViewItem* after_P, Action* action_P ) - : QListViewItem( parent_P, after_P ), _action( action_P ) + : TQListViewItem( parent_P, after_P ), _action( action_P ) { } inline -Action_list_item::Action_list_item( QListViewItem* parent_P, QListViewItem* after_P, +Action_list_item::Action_list_item( TQListViewItem* parent_P, TQListViewItem* after_P, Action* action_P ) - : QListViewItem( parent_P, after_P ), _action( action_P ) + : TQListViewItem( parent_P, after_P ), _action( action_P ) { } |