summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/treewidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widgets/treewidget.h')
-rw-r--r--kommander/widgets/treewidget.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/kommander/widgets/treewidget.h b/kommander/widgets/treewidget.h
index 3988c9a8..df7440b1 100644
--- a/kommander/widgets/treewidget.h
+++ b/kommander/widgets/treewidget.h
@@ -35,11 +35,12 @@ class TQShowEvent;
class KOMMANDER_EXPORT TreeWidget : public KListView, public KommanderWidget
{
Q_OBJECT
+ TQ_OBJECT
- Q_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
- Q_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
- Q_PROPERTY(bool KommanderWidget READ isKommanderWidget)
- Q_PROPERTY(TQString pathSeparator READ pathSeparator WRITE setPathSeparator)
+ TQ_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
+ TQ_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
+ TQ_PROPERTY(bool KommanderWidget READ isKommanderWidget)
+ TQ_PROPERTY(TQString pathSeparator READ pathSeparator WRITE setPathSeparator)
public:
TreeWidget(TQWidget *a_parent, const char *a_name);
@@ -75,7 +76,7 @@ protected:
TQString itemPath(TQListViewItem* item) const;
private:
void addItemFromString(const TQString& s);
- TQListViewItem* itemFromString(TQListViewItem* parent, const TQString& s);
+ TQListViewItem* itemFromString(TQListViewItem* tqparent, const TQString& s);
TQPtrVector<TQListViewItem> m_lastPath;
TQString m_pathSeparator;
int addColumnTree(const TQString & label, int width = -1 );