diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 21:31:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 21:31:21 +0000 |
commit | a1bd60b34891ccc77056c190d7871bc4b14fe654 (patch) | |
tree | 713f2f72c8f08a18df12f5bbeef7f9b61b19d4f1 /kodo/kimagenumber.h | |
parent | 8d92c3c2a4131996726cc7b625d3cd3caec296de (diff) | |
download | tdetoys-a1bd60b34891ccc77056c190d7871bc4b14fe654.tar.gz tdetoys-a1bd60b34891ccc77056c190d7871bc4b14fe654.zip |
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
Diffstat (limited to 'kodo/kimagenumber.h')
-rw-r--r-- | kodo/kimagenumber.h | 9 |
1 files changed, 5 insertions, 4 deletions
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 <tqframe.h> #include <tqpixmap.h> -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: |