summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/tagattributetree.h
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/treeviews/tagattributetree.h')
-rw-r--r--quanta/treeviews/tagattributetree.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/quanta/treeviews/tagattributetree.h b/quanta/treeviews/tagattributetree.h
index bae0f3ff..c07db51b 100644
--- a/quanta/treeviews/tagattributetree.h
+++ b/quanta/treeviews/tagattributetree.h
@@ -16,7 +16,7 @@
#define TAGATTRIBUTETREE_H
//qt includes
-#include <qwidget.h>
+#include <tqwidget.h>
//kde includes
#include <klistview.h>
@@ -35,17 +35,17 @@ class EditableTree : public KListView {
Q_OBJECT
public:
- EditableTree(QWidget *parent = 0, const char *name = 0);
+ EditableTree(TQWidget *parent = 0, const char *name = 0);
virtual ~EditableTree();
- virtual void setCurrentItem( QListViewItem *i);
+ virtual void setCurrentItem( TQListViewItem *i);
void setEditable(bool b) {m_editable = b;}
bool isEditable() {return m_editable;}
public slots:
virtual void editorContentChanged();
- virtual void focusInEvent(QFocusEvent *);
- virtual void focusOutEvent(QFocusEvent *);
+ virtual void focusInEvent(TQFocusEvent *);
+ virtual void focusOutEvent(TQFocusEvent *);
protected:
bool m_editable;
@@ -56,24 +56,24 @@ class DualEditableTree : public EditableTree
{
Q_OBJECT
public:
- DualEditableTree(QWidget *parent = 0, const char *name = 0);
+ DualEditableTree(TQWidget *parent = 0, const char *name = 0);
virtual ~DualEditableTree();
- virtual void setCurrentItem ( QListViewItem *i);
+ virtual void setCurrentItem ( TQListViewItem *i);
int currentColumn() {return curCol;}
protected:
- virtual bool eventFilter(QObject *object, QEvent *event);
- virtual void resizeEvent(QResizeEvent *);
+ virtual bool eventFilter(TQObject *object, TQEvent *event);
+ virtual void resizeEvent(TQResizeEvent *);
signals:
- void itemModified( QListViewItem *);
+ void itemModified( TQListViewItem *);
public slots:
virtual void editorContentChanged();
private slots:
- void itemClicked(QListViewItem *i, const QPoint &point, int col);
+ void itemClicked(TQListViewItem *i, const TQPoint &point, int col);
private:
int curCol;
@@ -83,11 +83,11 @@ class TagAttributeTree : public EditableTree {
Q_OBJECT
public:
- TagAttributeTree(QWidget *parent=0, const char *name=0);
+ TagAttributeTree(TQWidget *parent=0, const char *name=0);
virtual ~TagAttributeTree();
void setCurrentNode(Node *node);
- //virtual void setCurrentItem( QListViewItem *i );
+ //virtual void setCurrentItem( TQListViewItem *i );
Node *node() const {return m_node;}
public slots:
@@ -96,8 +96,8 @@ public slots:
virtual void editorContentChanged();
private slots:
- void slotCollapsed(QListViewItem *item);
- void slotExpanded(QListViewItem *item);
+ void slotCollapsed(TQListViewItem *item);
+ void slotExpanded(TQListViewItem *item);
signals:
void newNodeSelected(Node *node);
@@ -114,7 +114,7 @@ class EnhancedTagAttributeTree : public QWidget
{
Q_OBJECT
public:
- EnhancedTagAttributeTree(QWidget *parent = 0, const char *name = 0);
+ EnhancedTagAttributeTree(TQWidget *parent = 0, const char *name = 0);
virtual ~EnhancedTagAttributeTree();
void setCurrentNode(Node *node);
@@ -131,11 +131,11 @@ private slots:
private:
void showCaption();
- QLabel *nodeName;
+ TQLabel *nodeName;
KPushButton* deleteAll;
KPushButton* deleteTag;
TagAttributeTree *attrTree;
- QGridLayout *widgetLayout;
+ TQGridLayout *widgetLayout;
Node *curNode;
};