diff options
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 ) { } |