From a1bd60b34891ccc77056c190d7871bc4b14fe654 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 21:31:21 +0000 Subject: TQt4 port kdetoys This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1238103 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kodo/kimagenumber.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kodo/kimagenumber.h') diff --git a/kodo/kimagenumber.h b/kodo/kimagenumber.h index c3ffb8e..9f8a9b9 100644 --- a/kodo/kimagenumber.h +++ b/kodo/kimagenumber.h @@ -29,17 +29,18 @@ #include #include -class KImageNumber : public QFrame +class KImageNumber : public TQFrame { Q_OBJECT - Q_PROPERTY( double m_value READ value WRITE setValue ) + TQ_OBJECT + TQ_PROPERTY( double m_value READ value WRITE setValue ) public: - KImageNumber(const TQString& font, TQWidget* parent=0, const char* name=0); + KImageNumber(const TQString& font, TQWidget* tqparent=0, const char* name=0); virtual ~KImageNumber(); void paintEvent(TQPaintEvent*); - virtual TQSize sizeHint() const; + virtual TQSize tqsizeHint() const; double value() const; public slots: -- cgit v1.2.1