diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 32b67ac0690de411b26b1d5e715b188c27442248 (patch) | |
tree | 43167816a3df6b3a877d71c9a7963ed270dcc8c9 /lib/widgets/propeditor | |
parent | 330c33ab6f97b279737bf9527c9add7bb1475450 (diff) | |
download | tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/widgets/propeditor')
60 files changed, 116 insertions, 116 deletions
diff --git a/lib/widgets/propeditor/childproperty.cpp b/lib/widgets/propeditor/childproperty.cpp index aa1326c9..ac53936a 100644 --- a/lib/widgets/propeditor/childproperty.cpp +++ b/lib/widgets/propeditor/childproperty.cpp @@ -28,16 +28,16 @@ namespace PropertyLib{ -ChildProperty::ChildProperty(MultiProperty *tqparent, int type, ChildPropertyType childType, const TQString &name, +ChildProperty::ChildProperty(MultiProperty *parent, int type, ChildPropertyType childType, const TQString &name, const TQString &description, const TQVariant &value, bool save, bool readOnly) - :Property(type, name, description, value, save, readOnly), m_parent(tqparent), m_childType(childType) + :Property(type, name, description, value, save, readOnly), m_parent(parent), m_childType(childType) { } -ChildProperty::ChildProperty(MultiProperty *tqparent, const TQString & name, ChildPropertyType childType, +ChildProperty::ChildProperty(MultiProperty *parent, const TQString & name, ChildPropertyType childType, const TQMap<TQString, TQVariant> &v_valueList, const TQString &description, const TQVariant &value, bool save, bool readOnly) - :Property(name, v_valueList, description, value, save, readOnly), m_parent(tqparent), m_childType(childType) + :Property(name, v_valueList, description, value, save, readOnly), m_parent(parent), m_childType(childType) { } diff --git a/lib/widgets/propeditor/childproperty.h b/lib/widgets/propeditor/childproperty.h index 0d1655ae..6e247fd3 100644 --- a/lib/widgets/propeditor/childproperty.h +++ b/lib/widgets/propeditor/childproperty.h @@ -29,7 +29,7 @@ class MultiProperty; /** @short Child property -Child property is a detailed property for complex tqparent properties. +Child property is a detailed property for complex parent properties. For example, to edit a property of Point type one can request two child properties for "x" and "y" components of a point. @@ -60,11 +60,11 @@ public: /**Constructs empty property.*/ ChildProperty() {} /**Constructs property.*/ - ChildProperty(MultiProperty *tqparent, int type, ChildPropertyType childType, const TQString &name, + ChildProperty(MultiProperty *parent, int type, ChildPropertyType childType, const TQString &name, const TQString &description, const TQVariant &value = TQVariant(), bool save = true, bool readOnly = false); /**Constructs property with @ref ValueFromList type.*/ - ChildProperty(MultiProperty *tqparent, const TQString &name, ChildPropertyType childType, + ChildProperty(MultiProperty *parent, const TQString &name, ChildPropertyType childType, const TQMap<TQString, TQVariant> &v_valueList, const TQString &description, const TQVariant &value = TQVariant(), bool save = true, bool readOnly = false); diff --git a/lib/widgets/propeditor/multiproperty.h b/lib/widgets/propeditor/multiproperty.h index 2330ffa0..49410a04 100644 --- a/lib/widgets/propeditor/multiproperty.h +++ b/lib/widgets/propeditor/multiproperty.h @@ -43,7 +43,7 @@ with many properties of the same name and type at the same type. MultiProperty is also responsible for storing detailed %property editors (instances of @ref ChildProperty class. It's too much overhead to store child properties -with their tqparent properties. MultiProperty provides a way to store child properties +with their parent properties. MultiProperty provides a way to store child properties only once for all properties with the same name and same type. */ class MultiProperty diff --git a/lib/widgets/propeditor/pcheckbox.cpp b/lib/widgets/propeditor/pcheckbox.cpp index e4a14389..4a12d575 100644 --- a/lib/widgets/propeditor/pcheckbox.cpp +++ b/lib/widgets/propeditor/pcheckbox.cpp @@ -31,8 +31,8 @@ namespace PropertyLib{ -PCheckBox::PCheckBox(MultiProperty *property, TQWidget *tqparent, const char *name) - :PropertyWidget(property, tqparent, name) +PCheckBox::PCheckBox(MultiProperty *property, TQWidget *parent, const char *name) + :PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new TQCheckBox(this); diff --git a/lib/widgets/propeditor/pcheckbox.h b/lib/widgets/propeditor/pcheckbox.h index 5e593588..8a7ff781 100644 --- a/lib/widgets/propeditor/pcheckbox.h +++ b/lib/widgets/propeditor/pcheckbox.h @@ -33,7 +33,7 @@ class PCheckBox: public PropertyWidget{ Q_OBJECT TQ_OBJECT public: - PCheckBox(MultiProperty *property, TQWidget *tqparent = 0, const char *name = 0); + PCheckBox(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); /**@return the value currently entered in the editor widget.*/ virtual TQVariant value() const; diff --git a/lib/widgets/propeditor/pcolorbutton.cpp b/lib/widgets/propeditor/pcolorbutton.cpp index aef37f4a..bb927a08 100644 --- a/lib/widgets/propeditor/pcolorbutton.cpp +++ b/lib/widgets/propeditor/pcolorbutton.cpp @@ -33,8 +33,8 @@ namespace PropertyLib { -PColorButton::PColorButton(MultiProperty* property, TQWidget* tqparent, const char* name) - :PropertyWidget(property, tqparent, name) +PColorButton::PColorButton(MultiProperty* property, TQWidget* parent, const char* name) + :PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); #ifndef PURE_QT diff --git a/lib/widgets/propeditor/pcolorbutton.h b/lib/widgets/propeditor/pcolorbutton.h index a132f0ce..d7b7494e 100644 --- a/lib/widgets/propeditor/pcolorbutton.h +++ b/lib/widgets/propeditor/pcolorbutton.h @@ -38,7 +38,7 @@ class PColorButton: public PropertyWidget Q_OBJECT TQ_OBJECT public: - PColorButton(MultiProperty *property, TQWidget *tqparent = 0, const char *name = 0); + PColorButton(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); virtual TQVariant value() const; virtual void drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value); diff --git a/lib/widgets/propeditor/pcolorcombo.cpp b/lib/widgets/propeditor/pcolorcombo.cpp index 5fee6b1f..b0c82de3 100644 --- a/lib/widgets/propeditor/pcolorcombo.cpp +++ b/lib/widgets/propeditor/pcolorcombo.cpp @@ -26,8 +26,8 @@ namespace PropertyLib{ -PColorCombo::PColorCombo(MultiProperty *property, TQWidget *tqparent, const char *name) - :PropertyWidget(property, tqparent, name) +PColorCombo::PColorCombo(MultiProperty *property, TQWidget *parent, const char *name) + :PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new KColorCombo(this); diff --git a/lib/widgets/propeditor/pcolorcombo.h b/lib/widgets/propeditor/pcolorcombo.h index 88c5b355..3b189cb6 100644 --- a/lib/widgets/propeditor/pcolorcombo.h +++ b/lib/widgets/propeditor/pcolorcombo.h @@ -33,7 +33,7 @@ class PColorCombo: public PropertyWidget{ Q_OBJECT TQ_OBJECT public: - PColorCombo(MultiProperty *property, TQWidget *tqparent = 0, const char *name = 0); + PColorCombo(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); /**@return the value currently entered in the editor widget.*/ virtual TQVariant value() const; diff --git a/lib/widgets/propeditor/pcombobox.cpp b/lib/widgets/propeditor/pcombobox.cpp index 7732866c..fa21678b 100644 --- a/lib/widgets/propeditor/pcombobox.cpp +++ b/lib/widgets/propeditor/pcombobox.cpp @@ -24,14 +24,14 @@ namespace PropertyLib{ -PComboBox::PComboBox(MultiProperty *property, const TQMap<TQString, TQVariant> &list, TQWidget *tqparent, const char *name) - :PropertyWidget(property, tqparent, name), m_valueList(list) +PComboBox::PComboBox(MultiProperty *property, const TQMap<TQString, TQVariant> &list, TQWidget *parent, const char *name) + :PropertyWidget(property, parent, name), m_valueList(list) { init(false); } -PComboBox::PComboBox(MultiProperty *property, const TQMap<TQString, TQVariant> &list, bool rw, TQWidget *tqparent, const char *name) - :PropertyWidget(property, tqparent, name), m_valueList(list) +PComboBox::PComboBox(MultiProperty *property, const TQMap<TQString, TQVariant> &list, bool rw, TQWidget *parent, const char *name) + :PropertyWidget(property, parent, name), m_valueList(list) { init(rw); } diff --git a/lib/widgets/propeditor/pcombobox.h b/lib/widgets/propeditor/pcombobox.h index 4176e2ed..82ccd220 100644 --- a/lib/widgets/propeditor/pcombobox.h +++ b/lib/widgets/propeditor/pcombobox.h @@ -38,9 +38,9 @@ class PComboBox: public PropertyWidget{ TQ_OBJECT public: /**This constructor is used for read-only selection combo. It provides a value from valueList*/ - PComboBox(MultiProperty *property, const TQMap<TQString, TQVariant> &list, TQWidget *tqparent = 0, const char *name = 0); + PComboBox(MultiProperty *property, const TQMap<TQString, TQVariant> &list, TQWidget *parent = 0, const char *name = 0); /**This constructor is used for read-write selection combo. It provides a value from valueList*/ - PComboBox(MultiProperty *property, const TQMap<TQString, TQVariant> &list, bool rw, TQWidget *tqparent = 0, const char *name = 0); + PComboBox(MultiProperty *property, const TQMap<TQString, TQVariant> &list, bool rw, TQWidget *parent = 0, const char *name = 0); /**@return the value currently entered in the editor widget.*/ virtual TQVariant value() const; diff --git a/lib/widgets/propeditor/pcursoredit.cpp b/lib/widgets/propeditor/pcursoredit.cpp index 02a2148c..85aefd5e 100644 --- a/lib/widgets/propeditor/pcursoredit.cpp +++ b/lib/widgets/propeditor/pcursoredit.cpp @@ -24,8 +24,8 @@ namespace PropertyLib{ PCursorEdit::PCursorEdit(MultiProperty* property, const TQMap<TQString, TQVariant> &spValues, - TQWidget* tqparent, const char* name) - :PComboBox(property, spValues, tqparent, name) + TQWidget* parent, const char* name) + :PComboBox(property, spValues, parent, name) { } diff --git a/lib/widgets/propeditor/pcursoredit.h b/lib/widgets/propeditor/pcursoredit.h index 82924fd2..34bede80 100644 --- a/lib/widgets/propeditor/pcursoredit.h +++ b/lib/widgets/propeditor/pcursoredit.h @@ -33,7 +33,7 @@ class PCursorEdit: public PComboBox TQ_OBJECT public: PCursorEdit(MultiProperty* property, const TQMap<TQString, TQVariant> &spValues, - TQWidget* tqparent = 0, const char* name = 0); + TQWidget* parent = 0, const char* name = 0); virtual void drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value); }; diff --git a/lib/widgets/propeditor/pdateedit.cpp b/lib/widgets/propeditor/pdateedit.cpp index 46de4069..64bbde18 100644 --- a/lib/widgets/propeditor/pdateedit.cpp +++ b/lib/widgets/propeditor/pdateedit.cpp @@ -25,8 +25,8 @@ namespace PropertyLib{ -PDateEdit::PDateEdit(MultiProperty* property, TQWidget* tqparent, const char* name) - :PropertyWidget(property, tqparent, name) +PDateEdit::PDateEdit(MultiProperty* property, TQWidget* parent, const char* name) + :PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new TQDateEdit(this); diff --git a/lib/widgets/propeditor/pdateedit.h b/lib/widgets/propeditor/pdateedit.h index a21dbc3f..8348a24d 100644 --- a/lib/widgets/propeditor/pdateedit.h +++ b/lib/widgets/propeditor/pdateedit.h @@ -34,7 +34,7 @@ class PDateEdit : public PropertyWidget Q_OBJECT TQ_OBJECT public: - PDateEdit(MultiProperty* property, TQWidget* tqparent=0, const char* name=0); + PDateEdit(MultiProperty* property, TQWidget* parent=0, const char* name=0); virtual TQVariant value() const; virtual void drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value); diff --git a/lib/widgets/propeditor/pdatetimeedit.cpp b/lib/widgets/propeditor/pdatetimeedit.cpp index e7a4b04f..59df2440 100644 --- a/lib/widgets/propeditor/pdatetimeedit.cpp +++ b/lib/widgets/propeditor/pdatetimeedit.cpp @@ -25,7 +25,7 @@ namespace PropertyLib{ -PDateTimeEdit::PDateTimeEdit(MultiProperty* property, TQWidget* tqparent, const char* name): PropertyWidget(property, tqparent, name) +PDateTimeEdit::PDateTimeEdit(MultiProperty* property, TQWidget* parent, const char* name): PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new TQDateTimeEdit(this); diff --git a/lib/widgets/propeditor/pdatetimeedit.h b/lib/widgets/propeditor/pdatetimeedit.h index e44c07d6..57130322 100644 --- a/lib/widgets/propeditor/pdatetimeedit.h +++ b/lib/widgets/propeditor/pdatetimeedit.h @@ -34,7 +34,7 @@ class PDateTimeEdit : public PropertyWidget Q_OBJECT TQ_OBJECT public: - PDateTimeEdit(MultiProperty* property, TQWidget* tqparent=0, const char* name=0); + PDateTimeEdit(MultiProperty* property, TQWidget* parent=0, const char* name=0); virtual TQVariant value() const; virtual void drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value); diff --git a/lib/widgets/propeditor/pdoublenuminput.cpp b/lib/widgets/propeditor/pdoublenuminput.cpp index 742180b4..e48475de 100644 --- a/lib/widgets/propeditor/pdoublenuminput.cpp +++ b/lib/widgets/propeditor/pdoublenuminput.cpp @@ -31,8 +31,8 @@ namespace PropertyLib{ -PDoubleNumInput::PDoubleNumInput(MultiProperty *property, TQWidget *tqparent, const char *name) - :PropertyWidget(property, tqparent, name) +PDoubleNumInput::PDoubleNumInput(MultiProperty *property, TQWidget *parent, const char *name) + :PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); #ifndef PURE_QT diff --git a/lib/widgets/propeditor/pdoublenuminput.h b/lib/widgets/propeditor/pdoublenuminput.h index a59ae43d..c3ef0d35 100644 --- a/lib/widgets/propeditor/pdoublenuminput.h +++ b/lib/widgets/propeditor/pdoublenuminput.h @@ -38,7 +38,7 @@ class PDoubleNumInput: public PropertyWidget Q_OBJECT TQ_OBJECT public: - PDoubleNumInput(MultiProperty *property, TQWidget *tqparent = 0, const char *name = 0); + PDoubleNumInput(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); /**@return the value currently entered in the editor widget.*/ virtual TQVariant value() const; diff --git a/lib/widgets/propeditor/pdummywidget.cpp b/lib/widgets/propeditor/pdummywidget.cpp index 428953f2..5d1b3278 100644 --- a/lib/widgets/propeditor/pdummywidget.cpp +++ b/lib/widgets/propeditor/pdummywidget.cpp @@ -23,8 +23,8 @@ namespace PropertyLib{ -PDummyWidget::PDummyWidget(MultiProperty *property, TQWidget *tqparent, const char *name) - :PropertyWidget(property, tqparent, name) +PDummyWidget::PDummyWidget(MultiProperty *property, TQWidget *parent, const char *name) + :PropertyWidget(property, parent, name) { } diff --git a/lib/widgets/propeditor/pdummywidget.h b/lib/widgets/propeditor/pdummywidget.h index f58e92b9..55649b45 100644 --- a/lib/widgets/propeditor/pdummywidget.h +++ b/lib/widgets/propeditor/pdummywidget.h @@ -42,7 +42,7 @@ class PDummyWidget: public PropertyWidget Q_OBJECT TQ_OBJECT public: - PDummyWidget(MultiProperty *property, TQWidget *tqparent = 0, const char *name = 0); + PDummyWidget(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); /**@return the value currently entered in the editor widget.*/ virtual TQVariant value() const; diff --git a/lib/widgets/propeditor/pfontbutton.cpp b/lib/widgets/propeditor/pfontbutton.cpp index d2a10217..e54e401f 100644 --- a/lib/widgets/propeditor/pfontbutton.cpp +++ b/lib/widgets/propeditor/pfontbutton.cpp @@ -33,8 +33,8 @@ namespace PropertyLib{ -PFontButton::PFontButton(MultiProperty* property, TQWidget* tqparent, const char* name) - :PropertyWidget(property, tqparent, name) +PFontButton::PFontButton(MultiProperty* property, TQWidget* parent, const char* name) + :PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new KFontRequester(this); diff --git a/lib/widgets/propeditor/pfontbutton.h b/lib/widgets/propeditor/pfontbutton.h index d875f307..91c07d81 100644 --- a/lib/widgets/propeditor/pfontbutton.h +++ b/lib/widgets/propeditor/pfontbutton.h @@ -34,7 +34,7 @@ class PFontButton : public PropertyWidget Q_OBJECT TQ_OBJECT public: - PFontButton(MultiProperty* property, TQWidget* tqparent = 0, const char* name = 0); + PFontButton(MultiProperty* property, TQWidget* parent = 0, const char* name = 0); virtual TQVariant value() const; virtual void drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value); diff --git a/lib/widgets/propeditor/pfontcombo.cpp b/lib/widgets/propeditor/pfontcombo.cpp index 240310c7..51b44e8c 100644 --- a/lib/widgets/propeditor/pfontcombo.cpp +++ b/lib/widgets/propeditor/pfontcombo.cpp @@ -33,8 +33,8 @@ namespace PropertyLib{ -PFontCombo::PFontCombo(MultiProperty *property, TQWidget *tqparent, const char *name) - :PropertyWidget(property, tqparent, name) +PFontCombo::PFontCombo(MultiProperty *property, TQWidget *parent, const char *name) + :PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new KFontCombo(this); diff --git a/lib/widgets/propeditor/pfontcombo.h b/lib/widgets/propeditor/pfontcombo.h index 63f07f51..ec22f662 100644 --- a/lib/widgets/propeditor/pfontcombo.h +++ b/lib/widgets/propeditor/pfontcombo.h @@ -37,7 +37,7 @@ class PFontCombo: public PropertyWidget{ Q_OBJECT TQ_OBJECT public: - PFontCombo(MultiProperty *property, TQWidget *tqparent = 0, const char *name = 0); + PFontCombo(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); /**@return the value currently entered in the editor widget.*/ virtual TQVariant value() const; diff --git a/lib/widgets/propeditor/plineedit.cpp b/lib/widgets/propeditor/plineedit.cpp index 0d3afa85..2c4fabc9 100644 --- a/lib/widgets/propeditor/plineedit.cpp +++ b/lib/widgets/propeditor/plineedit.cpp @@ -24,8 +24,8 @@ namespace PropertyLib{ -PLineEdit::PLineEdit(MultiProperty *property, TQWidget *tqparent, const char *name) - :PropertyWidget(property, tqparent, name) +PLineEdit::PLineEdit(MultiProperty *property, TQWidget *parent, const char *name) + :PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new KLineEdit(this); diff --git a/lib/widgets/propeditor/plineedit.h b/lib/widgets/propeditor/plineedit.h index c4d0c0f1..46ee3963 100644 --- a/lib/widgets/propeditor/plineedit.h +++ b/lib/widgets/propeditor/plineedit.h @@ -33,7 +33,7 @@ class PLineEdit: public PropertyWidget{ Q_OBJECT TQ_OBJECT public: - PLineEdit(MultiProperty *property, TQWidget *tqparent = 0, const char *name = 0); + PLineEdit(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); /**@return the value currently entered in the editor widget.*/ virtual TQVariant value() const; diff --git a/lib/widgets/propeditor/plinestyleedit.cpp b/lib/widgets/propeditor/plinestyleedit.cpp index 13094245..a47dc614 100644 --- a/lib/widgets/propeditor/plinestyleedit.cpp +++ b/lib/widgets/propeditor/plinestyleedit.cpp @@ -127,7 +127,7 @@ namespace PropertyLib { "................................................"}; -PLineStyleEdit::PLineStyleEdit(MultiProperty* property, TQWidget* tqparent, const char* name): PropertyWidget(property, tqparent, name) +PLineStyleEdit::PLineStyleEdit(MultiProperty* property, TQWidget* parent, const char* name): PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new TQComboBox(this); diff --git a/lib/widgets/propeditor/plinestyleedit.h b/lib/widgets/propeditor/plinestyleedit.h index 6021cb9c..8d0a5347 100644 --- a/lib/widgets/propeditor/plinestyleedit.h +++ b/lib/widgets/propeditor/plinestyleedit.h @@ -33,7 +33,7 @@ class PLineStyleEdit : public PropertyWidget { Q_OBJECT TQ_OBJECT public: - PLineStyleEdit(MultiProperty* property, TQWidget* tqparent = 0, const char* name = 0); + PLineStyleEdit(MultiProperty* property, TQWidget* parent = 0, const char* name = 0); virtual TQVariant value() const; virtual void drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value); diff --git a/lib/widgets/propeditor/ppixmapedit.cpp b/lib/widgets/propeditor/ppixmapedit.cpp index 0eaec74b..20f943e8 100644 --- a/lib/widgets/propeditor/ppixmapedit.cpp +++ b/lib/widgets/propeditor/ppixmapedit.cpp @@ -41,8 +41,8 @@ namespace PropertyLib{ -PPixmapEdit::PPixmapEdit(MultiProperty* property, TQWidget* tqparent, const char* name) - :PropertyWidget(property, tqparent, name) +PPixmapEdit::PPixmapEdit(MultiProperty* property, TQWidget* parent, const char* name) + :PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new TQLabel(this); diff --git a/lib/widgets/propeditor/ppixmapedit.h b/lib/widgets/propeditor/ppixmapedit.h index 09d7ffef..cbffa443 100644 --- a/lib/widgets/propeditor/ppixmapedit.h +++ b/lib/widgets/propeditor/ppixmapedit.h @@ -35,7 +35,7 @@ class PPixmapEdit : public PropertyWidget Q_OBJECT TQ_OBJECT public: - PPixmapEdit(MultiProperty* property, TQWidget* tqparent = 0, const char* name = 0); + PPixmapEdit(MultiProperty* property, TQWidget* parent = 0, const char* name = 0); virtual TQVariant value() const; virtual void drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value); diff --git a/lib/widgets/propeditor/ppointedit.cpp b/lib/widgets/propeditor/ppointedit.cpp index 7f31d92d..4e85d214 100644 --- a/lib/widgets/propeditor/ppointedit.cpp +++ b/lib/widgets/propeditor/ppointedit.cpp @@ -25,7 +25,7 @@ namespace PropertyLib{ -PPointEdit::PPointEdit(MultiProperty* property, TQWidget* tqparent, const char* name): PropertyWidget(property, tqparent, name) +PPointEdit::PPointEdit(MultiProperty* property, TQWidget* parent, const char* name): PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new KLineEdit(this); diff --git a/lib/widgets/propeditor/ppointedit.h b/lib/widgets/propeditor/ppointedit.h index e7de9178..3deb3d94 100644 --- a/lib/widgets/propeditor/ppointedit.h +++ b/lib/widgets/propeditor/ppointedit.h @@ -34,7 +34,7 @@ class PPointEdit : public PropertyWidget Q_OBJECT TQ_OBJECT public: - PPointEdit(MultiProperty* property, TQWidget* tqparent=0, const char* name=0); + PPointEdit(MultiProperty* property, TQWidget* parent=0, const char* name=0); virtual TQVariant value() const; virtual void drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value); diff --git a/lib/widgets/propeditor/prectedit.cpp b/lib/widgets/propeditor/prectedit.cpp index 562c013b..d7a5fa01 100644 --- a/lib/widgets/propeditor/prectedit.cpp +++ b/lib/widgets/propeditor/prectedit.cpp @@ -25,7 +25,7 @@ namespace PropertyLib{ -PRectEdit::PRectEdit(MultiProperty* property, TQWidget* tqparent, const char* name): PropertyWidget(property, tqparent, name) +PRectEdit::PRectEdit(MultiProperty* property, TQWidget* parent, const char* name): PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new KLineEdit(this); diff --git a/lib/widgets/propeditor/prectedit.h b/lib/widgets/propeditor/prectedit.h index 14381f80..09cf11c7 100644 --- a/lib/widgets/propeditor/prectedit.h +++ b/lib/widgets/propeditor/prectedit.h @@ -34,7 +34,7 @@ class PRectEdit : public PropertyWidget Q_OBJECT TQ_OBJECT public: - PRectEdit(MultiProperty* property, TQWidget* tqparent=0, const char* name=0); + PRectEdit(MultiProperty* property, TQWidget* parent=0, const char* name=0); virtual TQVariant value() const; virtual void drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value); diff --git a/lib/widgets/propeditor/propertyeditor.cpp b/lib/widgets/propeditor/propertyeditor.cpp index c7e5523c..ed7b81f2 100644 --- a/lib/widgets/propeditor/propertyeditor.cpp +++ b/lib/widgets/propeditor/propertyeditor.cpp @@ -42,14 +42,14 @@ namespace PropertyLib{ class PropertyItem: public KListViewItem{ public: - PropertyItem(PropertyEditor *tqparent, MultiProperty *property) - :KListViewItem(tqparent, property->description()), m_editor(tqparent), m_property(property), + PropertyItem(PropertyEditor *parent, MultiProperty *property) + :KListViewItem(parent, property->description()), m_editor(parent), m_property(property), m_changed(false) { } - PropertyItem(PropertyEditor *editor, KListViewItem *tqparent, MultiProperty *property) - :KListViewItem(tqparent, property->description()), m_editor(editor), + PropertyItem(PropertyEditor *editor, KListViewItem *parent, MultiProperty *property) + :KListViewItem(parent, property->description()), m_editor(editor), m_property(property), m_changed(false) { } @@ -120,13 +120,13 @@ private: class PropertyGroupItem: public KListViewItem{ public: - PropertyGroupItem(KListView *tqparent, const TQString &name) - :KListViewItem(tqparent, name) + PropertyGroupItem(KListView *parent, const TQString &name) + :KListViewItem(parent, name) { init(); } - PropertyGroupItem(KListViewItem *tqparent, const TQString &name) - :KListViewItem(tqparent, name) + PropertyGroupItem(KListViewItem *parent, const TQString &name) + :KListViewItem(parent, name) { init(); } @@ -158,14 +158,14 @@ private: class SeparatorItem: public KListViewItem{ public: - SeparatorItem(KListView *tqparent) - :KListViewItem(tqparent) + SeparatorItem(KListView *parent) + :KListViewItem(parent) { setSelectable(false); } }; -PropertyEditor::PropertyEditor(TQWidget *tqparent, const char *name) - :KListView(tqparent, name) +PropertyEditor::PropertyEditor(TQWidget *parent, const char *name) + :KListView(parent, name) { setSorting(-1); @@ -259,9 +259,9 @@ void PropertyEditor::addProperty(const TQString &name) addChildProperties(pitem); } -void PropertyEditor::addChildProperties(PropertyItem *tqparent) +void PropertyEditor::addChildProperties(PropertyItem *parent) { - MultiProperty *prop = tqparent->property(); + MultiProperty *prop = parent->property(); //force machine creation to get detailed properties appended to current multiproperty if ( !m_registeredForType.contains(prop->name()) && (PropertyMachineFactory::getInstance()->hasDetailedEditors(prop->type())) ) @@ -272,11 +272,11 @@ void PropertyEditor::addChildProperties(PropertyItem *tqparent) // qWarning("seeking tqchildren: count: %d", prop->details.count()); - tqparent->setOpen(true); + parent->setOpen(true); for (TQValueList<ChildProperty>::iterator it = prop->details.begin(); it != prop->details.end(); ++it) { // qWarning("found child %s", (*it).name().ascii()); - new PropertyItem(this, tqparent, new MultiProperty(&m_detailedList, &(*it))); + new PropertyItem(this, parent, new MultiProperty(&m_detailedList, &(*it))); } } diff --git a/lib/widgets/propeditor/propertyeditor.h b/lib/widgets/propeditor/propertyeditor.h index ee868a55..2fdbe432 100644 --- a/lib/widgets/propeditor/propertyeditor.h +++ b/lib/widgets/propeditor/propertyeditor.h @@ -60,7 +60,7 @@ class PropertyEditor: public KListView{ TQ_OBJECT public: /**Constructs the property editor.*/ - PropertyEditor(TQWidget *tqparent = 0, const char *name = 0); + PropertyEditor(TQWidget *parent = 0, const char *name = 0); ~PropertyEditor(); /**@return @ref Machine for given property. @@ -103,7 +103,7 @@ protected: void addGroup(const TQString &name); void addProperty(PropertyGroupItem *group, const TQString &name); void addProperty(const TQString &name); - void addChildProperties(PropertyItem *tqparent); + void addChildProperties(PropertyItem *parent); private: PropertyList *m_list; diff --git a/lib/widgets/propeditor/propertymachinefactory.h b/lib/widgets/propeditor/propertymachinefactory.h index 84da3e71..fae5569f 100644 --- a/lib/widgets/propeditor/propertymachinefactory.h +++ b/lib/widgets/propeditor/propertymachinefactory.h @@ -74,7 +74,7 @@ public: void registerEditor(int type, createMachine creator); /**Creates and returns the editor for given property type. - Warning: editor and viewer widgets won't have tqparent widget. %Property editor + Warning: editor and viewer widgets won't have parent widget. %Property editor cares about reparenting and deletion of returned widgets in machines.*/ Machine *machineForProperty(MultiProperty *property); bool hasDetailedEditors(int type); diff --git a/lib/widgets/propeditor/propertywidget.cpp b/lib/widgets/propeditor/propertywidget.cpp index df0df75a..38a99c9c 100644 --- a/lib/widgets/propeditor/propertywidget.cpp +++ b/lib/widgets/propeditor/propertywidget.cpp @@ -23,8 +23,8 @@ namespace PropertyLib{ -PropertyWidget::PropertyWidget(MultiProperty *property, TQWidget *tqparent, const char *name) - :TQWidget(tqparent, name), m_property(property) +PropertyWidget::PropertyWidget(MultiProperty *property, TQWidget *parent, const char *name) + :TQWidget(parent, name), m_property(property) { } diff --git a/lib/widgets/propeditor/propertywidget.h b/lib/widgets/propeditor/propertywidget.h index d5a22777..2105a220 100644 --- a/lib/widgets/propeditor/propertywidget.h +++ b/lib/widgets/propeditor/propertywidget.h @@ -51,7 +51,7 @@ class PropertyWidget: public TQWidget{ TQ_OBJECT public: /**Constructs widget for property with name "propertyName".*/ - PropertyWidget(MultiProperty *property, TQWidget *tqparent = 0, const char *name = 0); + PropertyWidget(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); virtual ~PropertyWidget() {} /**@return the value currently entered in the editor widget.*/ diff --git a/lib/widgets/propeditor/propertywidgetproxy.cpp b/lib/widgets/propeditor/propertywidgetproxy.cpp index 27f2a49c..813708ca 100644 --- a/lib/widgets/propeditor/propertywidgetproxy.cpp +++ b/lib/widgets/propeditor/propertywidgetproxy.cpp @@ -26,8 +26,8 @@ namespace PropertyLib{ -PropertyWidgetProxy::PropertyWidgetProxy(TQWidget *tqparent, const char *name) - :TQWidget(tqparent, name), mp(0), m_propertyType(Property::Invalid), m_editor(0) +PropertyWidgetProxy::PropertyWidgetProxy(TQWidget *parent, const char *name) + :TQWidget(parent, name), mp(0), m_propertyType(Property::Invalid), m_editor(0) { p = new Property(); m_layout = new TQHBoxLayout(this, 0, 0); diff --git a/lib/widgets/propeditor/propertywidgetproxy.h b/lib/widgets/propeditor/propertywidgetproxy.h index 04a2503a..642d7824 100644 --- a/lib/widgets/propeditor/propertywidgetproxy.h +++ b/lib/widgets/propeditor/propertywidgetproxy.h @@ -46,7 +46,7 @@ Q_OBJECT TQ_PROPERTY( int propertyType READ propertyType WRITE setPropertyType DESIGNABLE true ) TQ_PROPERTY( PropertyType propertyType2 READ propertyType2 WRITE setPropertyType2 DESIGNABLE false ) public: - PropertyWidgetProxy(TQWidget *tqparent = 0, const char *name = 0); + PropertyWidgetProxy(TQWidget *parent = 0, const char *name = 0); ~PropertyWidgetProxy(); /**Sets the type of a property editor to appear.*/ diff --git a/lib/widgets/propeditor/psizeedit.cpp b/lib/widgets/propeditor/psizeedit.cpp index 4ce6561c..5558c3f3 100644 --- a/lib/widgets/propeditor/psizeedit.cpp +++ b/lib/widgets/propeditor/psizeedit.cpp @@ -25,8 +25,8 @@ namespace PropertyLib{ -PSizeEdit::PSizeEdit(MultiProperty *property, TQWidget *tqparent, const char *name) - :PropertyWidget(property, tqparent, name) +PSizeEdit::PSizeEdit(MultiProperty *property, TQWidget *parent, const char *name) + :PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new KLineEdit(this); diff --git a/lib/widgets/propeditor/psizeedit.h b/lib/widgets/propeditor/psizeedit.h index 5fbd6d6d..43da3c55 100644 --- a/lib/widgets/propeditor/psizeedit.h +++ b/lib/widgets/propeditor/psizeedit.h @@ -36,7 +36,7 @@ class PSizeEdit: public PropertyWidget Q_OBJECT TQ_OBJECT public: - PSizeEdit(MultiProperty *property, TQWidget *tqparent = 0, const char *name = 0); + PSizeEdit(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); virtual TQVariant value() const; virtual void drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value); diff --git a/lib/widgets/propeditor/psizepolicyedit.cpp b/lib/widgets/propeditor/psizepolicyedit.cpp index 9c417005..94847d2a 100644 --- a/lib/widgets/propeditor/psizepolicyedit.cpp +++ b/lib/widgets/propeditor/psizepolicyedit.cpp @@ -26,8 +26,8 @@ namespace PropertyLib{ -PSizePolicyEdit::PSizePolicyEdit(MultiProperty* property, const TQMap<TQString, TQVariant> &spValues, TQWidget* tqparent, const char* name) - :PropertyWidget(property, tqparent, name), m_spValues(spValues) +PSizePolicyEdit::PSizePolicyEdit(MultiProperty* property, const TQMap<TQString, TQVariant> &spValues, TQWidget* parent, const char* name) + :PropertyWidget(property, parent, name), m_spValues(spValues) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new KLineEdit(this); diff --git a/lib/widgets/propeditor/psizepolicyedit.h b/lib/widgets/propeditor/psizepolicyedit.h index 613c65ea..586b4cba 100644 --- a/lib/widgets/propeditor/psizepolicyedit.h +++ b/lib/widgets/propeditor/psizepolicyedit.h @@ -36,7 +36,7 @@ class PSizePolicyEdit : public PropertyWidget Q_OBJECT TQ_OBJECT public: - PSizePolicyEdit(MultiProperty* property, const TQMap<TQString, TQVariant> &spValues, TQWidget* tqparent=0, const char* name=0); + PSizePolicyEdit(MultiProperty* property, const TQMap<TQString, TQVariant> &spValues, TQWidget* parent=0, const char* name=0); virtual TQVariant value() const; virtual void drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value); diff --git a/lib/widgets/propeditor/pspinbox.cpp b/lib/widgets/propeditor/pspinbox.cpp index 48b36324..e9c25325 100644 --- a/lib/widgets/propeditor/pspinbox.cpp +++ b/lib/widgets/propeditor/pspinbox.cpp @@ -26,8 +26,8 @@ namespace PropertyLib{ -PSpinBox::PSpinBox(MultiProperty *property, TQWidget *tqparent, const char *name) - :PropertyWidget(property, tqparent, name) +PSpinBox::PSpinBox(MultiProperty *property, TQWidget *parent, const char *name) + :PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new TQSpinBox(INT_MIN, INT_MAX, 1, this); @@ -37,8 +37,8 @@ PSpinBox::PSpinBox(MultiProperty *property, TQWidget *tqparent, const char *name connect(m_edit, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(updateProperty(int))); } -PSpinBox::PSpinBox(MultiProperty *property, int minValue, int maxValue, int step, TQWidget *tqparent, const char *name) - :PropertyWidget(property, tqparent, name) +PSpinBox::PSpinBox(MultiProperty *property, int minValue, int maxValue, int step, TQWidget *parent, const char *name) + :PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new TQSpinBox(minValue, maxValue, step, this); diff --git a/lib/widgets/propeditor/pspinbox.h b/lib/widgets/propeditor/pspinbox.h index 28d34ef2..3b6da02a 100644 --- a/lib/widgets/propeditor/pspinbox.h +++ b/lib/widgets/propeditor/pspinbox.h @@ -33,8 +33,8 @@ class PSpinBox: public PropertyWidget{ Q_OBJECT TQ_OBJECT public: - PSpinBox(MultiProperty *property, TQWidget *tqparent = 0, const char *name = 0); - PSpinBox(MultiProperty *property, int minValue, int maxValue, int step = 1, TQWidget *tqparent = 0, const char *name = 0); + PSpinBox(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); + PSpinBox(MultiProperty *property, int minValue, int maxValue, int step = 1, TQWidget *parent = 0, const char *name = 0); /**@return the value currently entered in the editor widget.*/ virtual TQVariant value() const; diff --git a/lib/widgets/propeditor/pstringlistedit.cpp b/lib/widgets/propeditor/pstringlistedit.cpp index e4eeeccf..fda16a8b 100644 --- a/lib/widgets/propeditor/pstringlistedit.cpp +++ b/lib/widgets/propeditor/pstringlistedit.cpp @@ -36,8 +36,8 @@ namespace PropertyLib{ -PStringListEdit::PStringListEdit(MultiProperty *property, TQWidget *tqparent, const char *name) - :PropertyWidget(property, tqparent, name) +PStringListEdit::PStringListEdit(MultiProperty *property, TQWidget *parent, const char *name) + :PropertyWidget(property, parent, name) { l = new TQHBoxLayout(this); diff --git a/lib/widgets/propeditor/pstringlistedit.h b/lib/widgets/propeditor/pstringlistedit.h index 45aa0e4e..7e651e43 100644 --- a/lib/widgets/propeditor/pstringlistedit.h +++ b/lib/widgets/propeditor/pstringlistedit.h @@ -37,7 +37,7 @@ class PStringListEdit: public PropertyWidget Q_OBJECT TQ_OBJECT public: - PStringListEdit(MultiProperty *property, TQWidget *tqparent = 0, const char *name = 0); + PStringListEdit(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); /**@return the value currently entered in the editor widget.*/ virtual TQVariant value() const; diff --git a/lib/widgets/propeditor/psymbolcombo.cpp b/lib/widgets/propeditor/psymbolcombo.cpp index 087f7a8d..7e79945a 100644 --- a/lib/widgets/propeditor/psymbolcombo.cpp +++ b/lib/widgets/propeditor/psymbolcombo.cpp @@ -35,8 +35,8 @@ namespace PropertyLib{ -PSymbolCombo::PSymbolCombo(MultiProperty *property, TQWidget *tqparent, const char *name) - :PropertyWidget(property, tqparent, name) +PSymbolCombo::PSymbolCombo(MultiProperty *property, TQWidget *parent, const char *name) + :PropertyWidget(property, parent, name) { l = new TQHBoxLayout(this); m_edit = new KLineEdit(this); diff --git a/lib/widgets/propeditor/psymbolcombo.h b/lib/widgets/propeditor/psymbolcombo.h index 9c559844..adb88e78 100644 --- a/lib/widgets/propeditor/psymbolcombo.h +++ b/lib/widgets/propeditor/psymbolcombo.h @@ -36,7 +36,7 @@ class PSymbolCombo: public PropertyWidget{ Q_OBJECT TQ_OBJECT public: - PSymbolCombo(MultiProperty *property, TQWidget *tqparent = 0, const char *name = 0); + PSymbolCombo(MultiProperty *property, TQWidget *parent = 0, const char *name = 0); /**@return the value currently entered in the editor widget.*/ virtual TQVariant value() const; diff --git a/lib/widgets/propeditor/purledit.cpp b/lib/widgets/propeditor/purledit.cpp index d27a0552..df8316cd 100644 --- a/lib/widgets/propeditor/purledit.cpp +++ b/lib/widgets/propeditor/purledit.cpp @@ -30,8 +30,8 @@ namespace PropertyLib{ -PUrlEdit::PUrlEdit(Mode mode, MultiProperty* property, TQWidget* tqparent, const char* name) - :PropertyWidget(property, tqparent, name) +PUrlEdit::PUrlEdit(Mode mode, MultiProperty* property, TQWidget* parent, const char* name) + :PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); #ifndef PURE_QT diff --git a/lib/widgets/propeditor/purledit.h b/lib/widgets/propeditor/purledit.h index 4aff51b8..396b16ba 100644 --- a/lib/widgets/propeditor/purledit.h +++ b/lib/widgets/propeditor/purledit.h @@ -47,7 +47,7 @@ public: enum Mode {File,Directory}; #endif - PUrlEdit(Mode mode, MultiProperty* property, TQWidget* tqparent=0, const char* name=0); + PUrlEdit(Mode mode, MultiProperty* property, TQWidget* parent=0, const char* name=0); virtual TQVariant value() const; virtual void setValue(const TQVariant& value, bool emitChange); diff --git a/lib/widgets/propeditor/pyesnobutton.cpp b/lib/widgets/propeditor/pyesnobutton.cpp index 9448d672..614b751b 100644 --- a/lib/widgets/propeditor/pyesnobutton.cpp +++ b/lib/widgets/propeditor/pyesnobutton.cpp @@ -31,8 +31,8 @@ namespace PropertyLib{ -PYesNoButton::PYesNoButton(MultiProperty* property, TQWidget* tqparent, const char* name) - :PropertyWidget(property, tqparent, name) +PYesNoButton::PYesNoButton(MultiProperty* property, TQWidget* parent, const char* name) + :PropertyWidget(property, parent, name) { TQHBoxLayout *l = new TQHBoxLayout(this, 0, 0); m_edit = new TQPushButton(this); diff --git a/lib/widgets/propeditor/pyesnobutton.h b/lib/widgets/propeditor/pyesnobutton.h index efe33584..412d167d 100644 --- a/lib/widgets/propeditor/pyesnobutton.h +++ b/lib/widgets/propeditor/pyesnobutton.h @@ -34,7 +34,7 @@ class PYesNoButton : public PropertyWidget Q_OBJECT TQ_OBJECT public: - PYesNoButton(MultiProperty* property, TQWidget* tqparent = 0, const char* name = 0); + PYesNoButton(MultiProperty* property, TQWidget* parent = 0, const char* name = 0); virtual TQVariant value() const; virtual void drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r, const TQVariant& value); diff --git a/lib/widgets/propeditor/qeditlistbox.cpp b/lib/widgets/propeditor/qeditlistbox.cpp index 0c3119da..fda5a006 100644 --- a/lib/widgets/propeditor/qeditlistbox.cpp +++ b/lib/widgets/propeditor/qeditlistbox.cpp @@ -46,24 +46,24 @@ public: int buttons; }; -QEditListBox::QEditListBox(TQWidget *tqparent, const char *name, +QEditListBox::QEditListBox(TQWidget *parent, const char *name, bool checkAtEntering, int buttons ) - :TQGroupBox(tqparent, name ) + :TQGroupBox(parent, name ) { init( checkAtEntering, buttons ); } -QEditListBox::QEditListBox(const TQString& title, TQWidget *tqparent, +QEditListBox::QEditListBox(const TQString& title, TQWidget *parent, const char *name, bool checkAtEntering, int buttons) - :TQGroupBox(title, tqparent, name ) + :TQGroupBox(title, parent, name ) { init( checkAtEntering, buttons ); } QEditListBox::QEditListBox(const TQString& title, const CustomEditor& custom, - TQWidget *tqparent, const char *name, + TQWidget *parent, const char *name, bool checkAtEntering, int buttons) - :TQGroupBox(title, tqparent, name ) + :TQGroupBox(title, parent, name ) { m_lineEdit = custom.lineEdit(); init( checkAtEntering, buttons, custom.representationWidget() ); diff --git a/lib/widgets/propeditor/qeditlistbox.h b/lib/widgets/propeditor/qeditlistbox.h index 78a61bfc..2750623b 100644 --- a/lib/widgets/propeditor/qeditlistbox.h +++ b/lib/widgets/propeditor/qeditlistbox.h @@ -101,7 +101,7 @@ public: * it will be checked if you press the Add-button. It is not * possible to enter items twice into the listbox. */ - QEditListBox(TQWidget *tqparent = 0, const char *name = 0, + QEditListBox(TQWidget *parent = 0, const char *name = 0, bool checkAtEntering=false, int buttons = All ); /** * Create an editable listbox. @@ -109,7 +109,7 @@ public: * The same as the other constructor, additionally it takes * @p title, which will be the title of the frame around the listbox. */ - QEditListBox(const TQString& title, TQWidget *tqparent = 0, + QEditListBox(const TQString& title, TQWidget *parent = 0, const char *name = 0, bool checkAtEntering=false, int buttons = All ); @@ -127,7 +127,7 @@ public: */ QEditListBox( const TQString& title, const CustomEditor &customEditor, - TQWidget *tqparent = 0, const char *name = 0, + TQWidget *parent = 0, const char *name = 0, bool checkAtEntering = false, int buttons = All ); virtual ~QEditListBox(); diff --git a/lib/widgets/propeditor/qfloatinput.cpp b/lib/widgets/propeditor/qfloatinput.cpp index d14ea9c7..1922ea6a 100644 --- a/lib/widgets/propeditor/qfloatinput.cpp +++ b/lib/widgets/propeditor/qfloatinput.cpp @@ -23,10 +23,10 @@ #include <math.h> TQFloatInput::TQFloatInput( int min, int max, float step, int digits, - TQWidget *tqparent, const char *name ) + TQWidget *parent, const char *name ) : TQSpinBox( (int) (min*pow(digits,10)), (int) (max*pow(digits,10)), - (int) (step*pow(digits,10)), tqparent, name ), + (int) (step*pow(digits,10)), parent, name ), m_digits( digits ) { setValue( (int) (min*pow(digits,10)) ); diff --git a/lib/widgets/propeditor/qfloatinput.h b/lib/widgets/propeditor/qfloatinput.h index dececcbf..23fb10d2 100644 --- a/lib/widgets/propeditor/qfloatinput.h +++ b/lib/widgets/propeditor/qfloatinput.h @@ -29,7 +29,7 @@ class TQFloatInput : public TQSpinBox { public: TQFloatInput( int min, int max, float step, int digits, - TQWidget *tqparent, const char *name = 0 ); + TQWidget *parent, const char *name = 0 ); virtual TQString mapValueToText( int value ); |