diff options
Diffstat (limited to 'lib/widgets/propeditor/propertywidgetproxy.h')
-rw-r--r-- | lib/widgets/propeditor/propertywidgetproxy.h | 9 |
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.*/ |