diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
commit | 48d4a26399959121f33d2bc3bfe51c7827b654fc (patch) | |
tree | 5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/widgets/propeditor/pdoublenuminput.h | |
parent | 7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff) | |
download | tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip |
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/widgets/propeditor/pdoublenuminput.h')
-rw-r--r-- | lib/widgets/propeditor/pdoublenuminput.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/widgets/propeditor/pdoublenuminput.h b/lib/widgets/propeditor/pdoublenuminput.h index 83849335..a59ae43d 100644 --- a/lib/widgets/propeditor/pdoublenuminput.h +++ b/lib/widgets/propeditor/pdoublenuminput.h @@ -25,7 +25,7 @@ #ifndef PURE_QT class KDoubleNumInput; #else -class QFloatInput; +class TQFloatInput; #endif namespace PropertyLib{ @@ -36,8 +36,9 @@ namespace PropertyLib{ class PDoubleNumInput: public PropertyWidget { Q_OBJECT + TQ_OBJECT public: - PDoubleNumInput(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); + PDoubleNumInput(MultiProperty *property, TQWidget *tqparent = 0, const char *name = 0); /**@return the value currently entered in the editor widget.*/ virtual TQVariant value() const; @@ -46,7 +47,7 @@ public: virtual void setValue(const TQVariant &value, bool emitChange=true); private slots: - //because of a bug in moc which doesn't detect conditional slots + //because of a bug in tqmoc which doesn't detect conditional slots //we need them both void updateProperty(double val); void updateProperty(int val); @@ -55,7 +56,7 @@ private: #ifndef PURE_QT KDoubleNumInput *m_edit; #else - QFloatInput *m_edit; + TQFloatInput *m_edit; #endif }; |