diff options
Diffstat (limited to 'kivio/kiviopart/ui/kivio_layer_panel.h')
-rw-r--r-- | kivio/kiviopart/ui/kivio_layer_panel.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/kivio/kiviopart/ui/kivio_layer_panel.h b/kivio/kiviopart/ui/kivio_layer_panel.h index 4f781313..55a908c2 100644 --- a/kivio/kiviopart/ui/kivio_layer_panel.h +++ b/kivio/kiviopart/ui/kivio_layer_panel.h @@ -24,15 +24,15 @@ class KAction; class KivioView; class KivioLayer; -#include <qlistview.h> +#include <tqlistview.h> #include "kivio_layer_panel_base.h" -class KivioLayerItem: public QListViewItem +class KivioLayerItem: public TQListViewItem { friend class KivioLayerPanel; public: - KivioLayerItem(QListView* parent, KivioLayer*, int id); + KivioLayerItem(TQListView* tqparent, KivioLayer*, int id); ~KivioLayerItem(); KivioLayer* layer() const { return data; } @@ -49,11 +49,12 @@ class KivioLayerItem: public QListViewItem class KivioLayerPanel : public KivioLayerPanelBase { Q_OBJECT + TQ_OBJECT public: - KivioLayerPanel(KivioView* view, QWidget* parent=0, const char* name=0); + KivioLayerPanel(KivioView* view, TQWidget* tqparent=0, const char* name=0); ~KivioLayerPanel(); - bool eventFilter(QObject*, QEvent*); + bool eventFilter(TQObject*, TQEvent*); public slots: void reset(); @@ -65,9 +66,9 @@ class KivioLayerPanel : public KivioLayerPanelBase void upItem(); void downItem(); - void itemClicked(QListViewItem*, const QPoint&, int); - void itemActivated(QListViewItem*); - void updateButtons(QListViewItem*); + void itemClicked(TQListViewItem*, const TQPoint&, int); + void itemActivated(TQListViewItem*); + void updateButtons(TQListViewItem*); private: KivioView* m_pView; |