diff options
Diffstat (limited to 'lib/widgets/propeditor/propertywidgetproxy.h')
-rw-r--r-- | lib/widgets/propeditor/propertywidgetproxy.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/widgets/propeditor/propertywidgetproxy.h b/lib/widgets/propeditor/propertywidgetproxy.h index 31c28e76..e1183d91 100644 --- a/lib/widgets/propeditor/propertywidgetproxy.h +++ b/lib/widgets/propeditor/propertywidgetproxy.h @@ -20,8 +20,8 @@ #ifndef PROPERTYWIDGETPROXY_H #define PROPERTYWIDGETPROXY_H -#include <qwidget.h> -#include <qvariant.h> +#include <tqwidget.h> +#include <tqvariant.h> #include "multiproperty.h" @@ -45,7 +45,7 @@ Q_OBJECT Q_PROPERTY( int propertyType READ propertyType WRITE setPropertyType DESIGNABLE true ) Q_PROPERTY( PropertyType propertyType2 READ propertyType2 WRITE setPropertyType2 DESIGNABLE false ) public: - PropertyWidgetProxy(QWidget *parent = 0, const char *name = 0); + PropertyWidgetProxy(TQWidget *parent = 0, const char *name = 0); ~PropertyWidgetProxy(); /**Sets the type of a property editor to appear.*/ @@ -55,13 +55,13 @@ public: void setPropertyType2(PropertyType propertyType); PropertyType propertyType2() const { return m_propertyType; } - QVariant value() const; - void setValue(const QVariant &value); + TQVariant value() const; + void setValue(const TQVariant &value); /**Sets the type of an editor basing on the @p value if the name is "value". - Otherwise works as QWidget::setProperty.*/ - bool setProperty( const char *name, const QVariant &value); - QVariant property( const char *name) const; + Otherwise works as TQWidget::setProperty.*/ + bool setProperty( const char *name, const TQVariant &value); + TQVariant property( const char *name) const; protected: virtual void setWidget(); @@ -73,7 +73,7 @@ private: PropertyType m_propertyType; PropertyWidget *m_editor; - QHBoxLayout *m_layout; + TQHBoxLayout *m_layout; }; } |