summaryrefslogtreecommitdiffstats
path: root/khotkeys/kcontrol/windowdef_list_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'khotkeys/kcontrol/windowdef_list_widget.h')
-rw-r--r--khotkeys/kcontrol/windowdef_list_widget.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/khotkeys/kcontrol/windowdef_list_widget.h b/khotkeys/kcontrol/windowdef_list_widget.h
index 8a69fc5eb..b49146a85 100644
--- a/khotkeys/kcontrol/windowdef_list_widget.h
+++ b/khotkeys/kcontrol/windowdef_list_widget.h
@@ -11,7 +11,7 @@
#ifndef _WINDOWDEF_LIST_WIDGET_H_
#define _WINDOWDEF_LIST_WIDGET_H_
-#include <qlistview.h>
+#include <tqlistview.h>
#include <kdialogbase.h>
@@ -32,16 +32,16 @@ class Windowdef_list_widget
{
Q_OBJECT
public:
- Windowdef_list_widget( QWidget* parent_P = NULL, const char* name_P = NULL );
+ Windowdef_list_widget( TQWidget* parent_P = NULL, const char* name_P = NULL );
virtual ~Windowdef_list_widget();
void set_data( const Windowdef_list* data_P );
Windowdef_list* get_data() const;
- void set_autodetect( QObject* obj_P, const char* slot_P );
+ void set_autodetect( TQObject* obj_P, const char* slot_P );
public slots:
void clear_data();
protected:
- Windowdef_list_item* create_listview_item( Windowdef* window_P, QListView* parent1_P,
- QListViewItem* parent2_P, QListViewItem* after_P, bool copy_P );
+ Windowdef_list_item* create_listview_item( Windowdef* window_P, TQListView* parent1_P,
+ TQListViewItem* parent2_P, TQListViewItem* after_P, bool copy_P );
void edit_listview_item( Windowdef_list_item* item_P );
enum type_t { TYPE_WINDOWDEF_SIMPLE };
protected slots:
@@ -49,9 +49,9 @@ class Windowdef_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:
- QObject* autodetect_object;
+ TQObject* autodetect_object;
const char* autodetect_slot;
Windowdef_list_item* selected_item;
};
@@ -62,12 +62,12 @@ class Windowdef_list_item
: public QListViewItem
{
public:
- Windowdef_list_item( QListView* parent_P, Windowdef* window_P );
- Windowdef_list_item( QListViewItem* parent_P, Windowdef* window_P );
- Windowdef_list_item( QListView* parent_P, QListViewItem* after_P, Windowdef* window_P );
- Windowdef_list_item( QListViewItem* parent_P, QListViewItem* after_P, Windowdef* window_P );
+ Windowdef_list_item( TQListView* parent_P, Windowdef* window_P );
+ Windowdef_list_item( TQListViewItem* parent_P, Windowdef* window_P );
+ Windowdef_list_item( TQListView* parent_P, TQListViewItem* after_P, Windowdef* window_P );
+ Windowdef_list_item( TQListViewItem* parent_P, TQListViewItem* after_P, Windowdef* window_P );
virtual ~Windowdef_list_item();
- virtual QString text( int column_P ) const;
+ virtual TQString text( int column_P ) const;
Windowdef* window() const;
void set_window( Windowdef* window_P );
protected:
@@ -86,7 +86,7 @@ class Windowdef_simple_dialog
{
Q_OBJECT
public:
- Windowdef_simple_dialog( Windowdef_simple* window_P, QObject* obj_P, const char* slot_P );
+ Windowdef_simple_dialog( Windowdef_simple* window_P, TQObject* obj_P, const char* slot_P );
virtual Windowdef* edit_windowdef();
protected:
virtual void accept();
@@ -101,7 +101,7 @@ class Windowdef_simple_dialog
// Windowdef_list_widget
inline
-void Windowdef_list_widget::set_autodetect( QObject* obj_P, const char* slot_P )
+void Windowdef_list_widget::set_autodetect( TQObject* obj_P, const char* slot_P )
{
autodetect_object = obj_P;
autodetect_slot = slot_P;
@@ -110,28 +110,28 @@ void Windowdef_list_widget::set_autodetect( QObject* obj_P, const char* slot_P )
// Windowdef_list_item
inline
-Windowdef_list_item::Windowdef_list_item( QListView* parent_P, Windowdef* window_P )
- : QListViewItem( parent_P ), _window( window_P )
+Windowdef_list_item::Windowdef_list_item( TQListView* parent_P, Windowdef* window_P )
+ : TQListViewItem( parent_P ), _window( window_P )
{
}
inline
-Windowdef_list_item::Windowdef_list_item( QListViewItem* parent_P, Windowdef* window_P )
- : QListViewItem( parent_P ), _window( window_P )
+Windowdef_list_item::Windowdef_list_item( TQListViewItem* parent_P, Windowdef* window_P )
+ : TQListViewItem( parent_P ), _window( window_P )
{
}
inline
-Windowdef_list_item::Windowdef_list_item( QListView* parent_P, QListViewItem* after_P,
+Windowdef_list_item::Windowdef_list_item( TQListView* parent_P, TQListViewItem* after_P,
Windowdef* window_P )
- : QListViewItem( parent_P, after_P ), _window( window_P )
+ : TQListViewItem( parent_P, after_P ), _window( window_P )
{
}
inline
-Windowdef_list_item::Windowdef_list_item( QListViewItem* parent_P, QListViewItem* after_P,
+Windowdef_list_item::Windowdef_list_item( TQListViewItem* parent_P, TQListViewItem* after_P,
Windowdef* window_P )
- : QListViewItem( parent_P, after_P ), _window( window_P )
+ : TQListViewItem( parent_P, after_P ), _window( window_P )
{
}