summaryrefslogtreecommitdiffstats
path: root/quanta/components/csseditor/doubleeditors.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/components/csseditor/doubleeditors.h
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/components/csseditor/doubleeditors.h')
-rw-r--r--quanta/components/csseditor/doubleeditors.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/quanta/components/csseditor/doubleeditors.h b/quanta/components/csseditor/doubleeditors.h
index 4797f7c7..3bae8456 100644
--- a/quanta/components/csseditor/doubleeditors.h
+++ b/quanta/components/csseditor/doubleeditors.h
@@ -25,12 +25,13 @@
class doubleEditorBase : public miniEditor {
Q_OBJECT
+ TQ_OBJECT
protected:
TQString m_sxValue,
m_dxValue;
public:
- doubleEditorBase(TQWidget *parent=0, const char *name=0);
+ doubleEditorBase(TQWidget *tqparent=0, const char *name=0);
virtual ~doubleEditorBase(){}
virtual void setInitialValue(){}
virtual void connectToPropertySetter(propertySetter* /*p*/){}
@@ -45,12 +46,13 @@ class doubleEditorBase : public miniEditor {
class doublePercentageEditor : public doubleEditorBase {
Q_OBJECT
+ TQ_OBJECT
private:
mySpinBox *m_sbSx,
*m_sbDx;
public:
- doublePercentageEditor(TQWidget *parent=0, const char *name=0);
+ doublePercentageEditor(TQWidget *tqparent=0, const char *name=0);
virtual ~doublePercentageEditor();
virtual void setInitialValue(const TQString& sx, const TQString& dx);
virtual void connectToPropertySetter(propertySetter* p);
@@ -58,12 +60,13 @@ class doublePercentageEditor : public doubleEditorBase {
class doubleComboBoxEditor : public doubleEditorBase {
Q_OBJECT
+ TQ_OBJECT
private:
TQComboBox *m_cbSx,
*m_cbDx;
public:
- doubleComboBoxEditor(TQWidget *parent=0, const char *name=0);
+ doubleComboBoxEditor(TQWidget *tqparent=0, const char *name=0);
virtual ~doubleComboBoxEditor();
TQComboBox* cbSx() const { return m_cbSx;}
TQComboBox* cbDx() const { return m_cbDx;}
@@ -72,12 +75,13 @@ class doubleComboBoxEditor : public doubleEditorBase {
class doubleLengthEditor : public doubleEditorBase {
Q_OBJECT
+ TQ_OBJECT
private:
specialSB *m_ssbSx,
*m_ssbDx;
public:
- doubleLengthEditor(TQWidget *parent=0, const char *name=0);
+ doubleLengthEditor(TQWidget *tqparent=0, const char *name=0);
virtual ~doubleLengthEditor();
virtual void setInitialValue(const TQString& sx, const TQString& dx);
virtual void connectToPropertySetter(propertySetter* p);