summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/propertywidgetproxy.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/widgets/propeditor/propertywidgetproxy.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-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/propertywidgetproxy.h')
-rw-r--r--lib/widgets/propeditor/propertywidgetproxy.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/widgets/propeditor/propertywidgetproxy.h b/lib/widgets/propeditor/propertywidgetproxy.h
index 43ef3311..04a2503a 100644
--- a/lib/widgets/propeditor/propertywidgetproxy.h
+++ b/lib/widgets/propeditor/propertywidgetproxy.h
@@ -39,13 +39,14 @@ It is sometimes useful to create single property editor widgets instead of havin
all in the property editor. Proxy creates an empty widget and shows the property editor
depending on the property type.
*/
-class PropertyWidgetProxy: public QWidget
+class PropertyWidgetProxy: public TQWidget
{
Q_OBJECT
-Q_PROPERTY( int propertyType READ propertyType WRITE setPropertyType DESIGNABLE true )
-Q_PROPERTY( PropertyType propertyType2 READ propertyType2 WRITE setPropertyType2 DESIGNABLE false )
+ TQ_OBJECT
+TQ_PROPERTY( int propertyType READ propertyType WRITE setPropertyType DESIGNABLE true )
+TQ_PROPERTY( PropertyType propertyType2 READ propertyType2 WRITE setPropertyType2 DESIGNABLE false )
public:
- PropertyWidgetProxy(TQWidget *parent = 0, const char *name = 0);
+ PropertyWidgetProxy(TQWidget *tqparent = 0, const char *name = 0);
~PropertyWidgetProxy();
/**Sets the type of a property editor to appear.*/