diff options
Diffstat (limited to 'lib/koproperty/editors/sizeedit.h')
-rw-r--r-- | lib/koproperty/editors/sizeedit.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/koproperty/editors/sizeedit.h b/lib/koproperty/editors/sizeedit.h index 0fe96c64..743f630f 100644 --- a/lib/koproperty/editors/sizeedit.h +++ b/lib/koproperty/editors/sizeedit.h @@ -23,7 +23,7 @@ #include "../widget.h" -#include <qvariant.h> +#include <tqvariant.h> class KActiveLabel; @@ -32,22 +32,23 @@ namespace KoProperty { class KOPROPERTY_EXPORT SizeEdit : public Widget { Q_OBJECT + TQ_OBJECT public: - SizeEdit(Property *property, QWidget *parent=0, const char *name=0); + SizeEdit(Property *property, TQWidget *tqparent=0, const char *name=0); virtual ~SizeEdit(); - virtual QVariant value() const; - virtual void setValue(const QVariant &value, bool emitChange=true); + virtual TQVariant value() const; + virtual void setValue(const TQVariant &value, bool emitChange=true); - virtual void drawViewer(QPainter *p, const QColorGroup &cg, const QRect &r, const QVariant &value); + virtual void drawViewer(TQPainter *p, const TQColorGroup &cg, const TQRect &r, const TQVariant &value); protected: virtual void setReadOnlyInternal(bool readOnly); private: KActiveLabel *m_edit; - QVariant m_value; + TQVariant m_value; }; } |