summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/pdoublenuminput.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/pdoublenuminput.h')
-rw-r--r--lib/widgets/propeditor/pdoublenuminput.h9
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
};