diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
commit | 48d4a26399959121f33d2bc3bfe51c7827b654fc (patch) | |
tree | 5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/widgets/propeditor/propertyeditor.h | |
parent | 7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff) | |
download | tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip |
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/widgets/propeditor/propertyeditor.h')
-rw-r--r-- | lib/widgets/propeditor/propertyeditor.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/widgets/propeditor/propertyeditor.h b/lib/widgets/propeditor/propertyeditor.h index 6bdd3e32..ee868a55 100644 --- a/lib/widgets/propeditor/propertyeditor.h +++ b/lib/widgets/propeditor/propertyeditor.h @@ -24,8 +24,8 @@ #include <klistview.h> #else #include <tqlistview.h> -#define KListView QListView -#define KListViewItem QListViewItem +#define KListView TQListView +#define KListViewItem TQListViewItem #endif #include "propertylist.h" @@ -57,9 +57,10 @@ creation of property widgets from the machine factory. */ class PropertyEditor: public KListView{ Q_OBJECT + TQ_OBJECT public: /**Constructs the property editor.*/ - PropertyEditor(TQWidget *parent = 0, const char *name = 0); + PropertyEditor(TQWidget *tqparent = 0, const char *name = 0); ~PropertyEditor(); /**@return @ref Machine for given property. @@ -102,7 +103,7 @@ protected: void addGroup(const TQString &name); void addProperty(PropertyGroupItem *group, const TQString &name); void addProperty(const TQString &name); - void addChildProperties(PropertyItem *parent); + void addChildProperties(PropertyItem *tqparent); private: PropertyList *m_list; |