diff options
Diffstat (limited to 'lib/widgets')
76 files changed, 184 insertions, 184 deletions
diff --git a/lib/widgets/fancylistviewitem.h b/lib/widgets/fancylistviewitem.h index e61beed2..ab8b3310 100644 --- a/lib/widgets/fancylistviewitem.h +++ b/lib/widgets/fancylistviewitem.h @@ -124,11 +124,11 @@ class TextPaintItem { class FancyListViewItem : public KListViewItem { public: - FancyListViewItem(TextPaintStyleStore& styles, TQListView *tqparent, const TQString &label1, const TQString &label2="") : KListViewItem(tqparent, label1, label2), m_styles(styles) { + FancyListViewItem(TextPaintStyleStore& styles, TQListView *parent, const TQString &label1, const TQString &label2="") : KListViewItem(parent, label1, label2), m_styles(styles) { init(label1, label2); } - FancyListViewItem(TextPaintStyleStore& styles, TQListViewItem *tqparent, const TQString &label1, const TQString &label2="") : KListViewItem(tqparent, label1, label2), m_styles(styles) { + FancyListViewItem(TextPaintStyleStore& styles, TQListViewItem *parent, const TQString &label1, const TQString &label2="") : KListViewItem(parent, label1, label2), m_styles(styles) { init(label1, label2); } diff --git a/lib/widgets/flagboxes.cpp b/lib/widgets/flagboxes.cpp index a12c5092..0f1f9193 100644 --- a/lib/widgets/flagboxes.cpp +++ b/lib/widgets/flagboxes.cpp @@ -54,14 +54,14 @@ TQString TQRegExp_escape( const TQString& str ) class FlagListToolTip : public TQToolTip { public: - FlagListToolTip(TQWidget *tqparent); + FlagListToolTip(TQWidget *parent); protected: void maybeTip(const TQPoint &p); }; -FlagListToolTip::FlagListToolTip(TQWidget *tqparent) - : TQToolTip(tqparent) +FlagListToolTip::FlagListToolTip(TQWidget *parent) + : TQToolTip(parent) {} @@ -76,22 +76,22 @@ void FlagListToolTip::maybeTip(const TQPoint &pos) } -FlagListItem::FlagListItem(FlagListBox *tqparent, const TQString &flagstr, +FlagListItem::FlagListItem(FlagListBox *parent, const TQString &flagstr, const TQString &description) - : TQCheckListItem(tqparent, flagstr, TQCheckListItem::CheckBox), + : TQCheckListItem(parent, flagstr, TQCheckListItem::CheckBox), flag(flagstr), desc(description) {} -FlagListItem::FlagListItem(FlagListBox *tqparent, const TQString &flagstr, +FlagListItem::FlagListItem(FlagListBox *parent, const TQString &flagstr, const TQString &description, const TQString &offstr) - : TQCheckListItem(tqparent, flagstr, TQCheckListItem::CheckBox), + : TQCheckListItem(parent, flagstr, TQCheckListItem::CheckBox), flag(flagstr), off(offstr), desc(description) {} -FlagListBox::FlagListBox(TQWidget *tqparent, const char *name) - : TQListView(tqparent, name) +FlagListBox::FlagListBox(TQWidget *parent, const char *name) + : TQListView(parent, name) { setResizeMode(LastColumn); header()->hide(); @@ -130,28 +130,28 @@ void FlagListBox::writeFlags(TQStringList *list) } -FlagCheckBox::FlagCheckBox(TQWidget *tqparent, FlagCheckBoxController *controller, +FlagCheckBox::FlagCheckBox(TQWidget *parent, FlagCheckBoxController *controller, const TQString &flagstr, const TQString &description) - : TQCheckBox(description, tqparent), flag(flagstr), includeOff(false), useDef(false), defSet(false) + : TQCheckBox(description, parent), flag(flagstr), includeOff(false), useDef(false), defSet(false) { TQToolTip::add(this, flagstr); controller->addCheckBox(this); } -FlagCheckBox::FlagCheckBox(TQWidget *tqparent, FlagCheckBoxController *controller, +FlagCheckBox::FlagCheckBox(TQWidget *parent, FlagCheckBoxController *controller, const TQString &flagstr, const TQString &description, const TQString &offstr) - : TQCheckBox(description, tqparent), flag(flagstr), off(offstr), includeOff(false), useDef(false), defSet(false) + : TQCheckBox(description, parent), flag(flagstr), off(offstr), includeOff(false), useDef(false), defSet(false) { TQToolTip::add(this, flagstr); controller->addCheckBox(this); } -FlagCheckBox::FlagCheckBox(TQWidget *tqparent, FlagCheckBoxController *controller, +FlagCheckBox::FlagCheckBox(TQWidget *parent, FlagCheckBoxController *controller, const TQString &flagstr, const TQString &description, const TQString &offstr, const TQString &defstr) - : TQCheckBox(description, tqparent), flag(flagstr), off(offstr), def(defstr), includeOff(false), useDef(true), defSet(false) + : TQCheckBox(description, parent), flag(flagstr), off(offstr), def(defstr), includeOff(false), useDef(true), defSet(false) { TQToolTip::add(this, flagstr); controller->addCheckBox(this); @@ -299,10 +299,10 @@ void FlagPathEditController::addPathEdit( FlagPathEdit * item ) plist.append(item); } -FlagPathEdit::FlagPathEdit( TQWidget * tqparent, TQString pathDelimiter, +FlagPathEdit::FlagPathEdit( TQWidget * parent, TQString pathDelimiter, FlagPathEditController * controller, const TQString & flagstr, const TQString & description, KFile::Mode mode ) - : TQWidget(tqparent), delimiter(pathDelimiter), flag(flagstr), m_description(description) + : TQWidget(parent), delimiter(pathDelimiter), flag(flagstr), m_description(description) { TQBoxLayout *topLayout = new TQVBoxLayout(this, 0, 1); topLayout->addWidget(new TQLabel(description, this)); @@ -379,8 +379,8 @@ bool FlagPathEdit::isEmpty( ) return edit->text().isEmpty(); } -FlagRadioButton::FlagRadioButton( TQWidget * tqparent, FlagRadioButtonController * controller, const TQString & flagstr, const TQString & description ) - : TQRadioButton(description, tqparent), flag(flagstr) +FlagRadioButton::FlagRadioButton( TQWidget * parent, FlagRadioButtonController * controller, const TQString & flagstr, const TQString & description ) + : TQRadioButton(description, parent), flag(flagstr) { TQToolTip::add(this, flagstr); controller->addRadioButton(this); @@ -526,9 +526,9 @@ void FlagEditController::addSpinBox(FlagSpinEdit *item) } -FlagListEdit::FlagListEdit( TQWidget * tqparent, TQString listDelimiter, FlagEditController * controller, +FlagListEdit::FlagListEdit( TQWidget * parent, TQString listDelimiter, FlagEditController * controller, const TQString & flagstr, const TQString & description) - : TQWidget(tqparent), delimiter(listDelimiter), flag(flagstr), m_description(description) + : TQWidget(parent), delimiter(listDelimiter), flag(flagstr), m_description(description) { TQBoxLayout *topLayout = new TQVBoxLayout(this, 0, 1); topLayout->addWidget(new TQLabel(description, this)); @@ -601,8 +601,8 @@ TQStringList FlagListEdit::flags( ) return fl; } -FlagSpinEdit::FlagSpinEdit( TQWidget * tqparent, int minVal, int maxVal, int incr, int defaultVal, FlagEditController * controller, const TQString & flagstr, const TQString & description ) - :TQWidget(tqparent), m_defaultVal(defaultVal), flag(flagstr) +FlagSpinEdit::FlagSpinEdit( TQWidget * parent, int minVal, int maxVal, int incr, int defaultVal, FlagEditController * controller, const TQString & flagstr, const TQString & description ) + :TQWidget(parent), m_defaultVal(defaultVal), flag(flagstr) { TQBoxLayout *topLayout = new TQVBoxLayout(this, 0, 1); topLayout->addWidget(new TQLabel(description, this)); diff --git a/lib/widgets/flagboxes.h b/lib/widgets/flagboxes.h index a2193277..ba04fd10 100644 --- a/lib/widgets/flagboxes.h +++ b/lib/widgets/flagboxes.h @@ -49,9 +49,9 @@ class KURLRequester; class FlagListItem : public TQCheckListItem { public: - FlagListItem(FlagListBox *tqparent, const TQString &flagstr, + FlagListItem(FlagListBox *parent, const TQString &flagstr, const TQString &description); - FlagListItem(FlagListBox *tqparent, const TQString &flagstr, + FlagListItem(FlagListBox *parent, const TQString &flagstr, const TQString &description, const TQString &offstr); ~FlagListItem() {} @@ -70,7 +70,7 @@ class FlagListBox : public TQListView Q_OBJECT TQ_OBJECT public: - FlagListBox( TQWidget *tqparent=0, const char *name=0 ); + FlagListBox( TQWidget *parent=0, const char *name=0 ); ~FlagListBox() {} @@ -85,12 +85,12 @@ class FlagCheckBox : public TQCheckBox Q_OBJECT TQ_OBJECT public: - FlagCheckBox(TQWidget *tqparent, FlagCheckBoxController *controller, + FlagCheckBox(TQWidget *parent, FlagCheckBoxController *controller, const TQString &flagstr, const TQString &description); - FlagCheckBox(TQWidget *tqparent, FlagCheckBoxController *controller, + FlagCheckBox(TQWidget *parent, FlagCheckBoxController *controller, const TQString &flagstr, const TQString &description, const TQString &offstr); - FlagCheckBox(TQWidget *tqparent, FlagCheckBoxController *controller, + FlagCheckBox(TQWidget *parent, FlagCheckBoxController *controller, const TQString &flagstr, const TQString &description, const TQString &offstr, const TQString &defstr); ~FlagCheckBox() @@ -112,7 +112,7 @@ class FlagRadioButton : public TQRadioButton Q_OBJECT TQ_OBJECT public: - FlagRadioButton(TQWidget *tqparent, FlagRadioButtonController *controller, + FlagRadioButton(TQWidget *parent, FlagRadioButtonController *controller, const TQString &flagstr, const TQString &description); ~FlagRadioButton() {} @@ -129,7 +129,7 @@ class FlagPathEdit: public TQWidget TQ_OBJECT public: /**If the pathDelimiter is not empty then path edit can contain a list of paths*/ - FlagPathEdit(TQWidget *tqparent, TQString pathDelimiter, FlagPathEditController *controller, + FlagPathEdit(TQWidget *parent, TQString pathDelimiter, FlagPathEditController *controller, const TQString &flagstr, const TQString &description, KFile::Mode mode = KFile::Directory); ~FlagPathEdit() {} @@ -159,7 +159,7 @@ class FlagListEdit: public TQWidget TQ_OBJECT public: /**If the listDelimiter is not empty then list edit can contain a list of entries*/ - FlagListEdit(TQWidget *tqparent, TQString listDelimiter, FlagEditController *controller, + FlagListEdit(TQWidget *parent, TQString listDelimiter, FlagEditController *controller, const TQString &flagstr, const TQString &description); ~FlagListEdit() {} @@ -187,7 +187,7 @@ private: class FlagSpinEdit: public TQWidget { public: - FlagSpinEdit(TQWidget *tqparent, int minVal, int maxVal, int incr, int defaultVal, FlagEditController *controller, + FlagSpinEdit(TQWidget *parent, int minVal, int maxVal, int incr, int defaultVal, FlagEditController *controller, const TQString &flagstr, const TQString &description); ~FlagSpinEdit() {} diff --git a/lib/widgets/kcomboview.cpp b/lib/widgets/kcomboview.cpp index ad4cd188..2576ed0c 100644 --- a/lib/widgets/kcomboview.cpp +++ b/lib/widgets/kcomboview.cpp @@ -25,8 +25,8 @@ #include "kcomboview.h" -KComboView::KComboView( bool rw, int defaultWidth, TQWidget* tqparent, const char* name , CustomCompleter* comp) - :QComboView(rw, tqparent, name), m_comp( comp ), m_defaultWidth(defaultWidth) +KComboView::KComboView( bool rw, int defaultWidth, TQWidget* parent, const char* name , CustomCompleter* comp) + :QComboView(rw, parent, name), m_comp( comp ), m_defaultWidth(defaultWidth) { if (rw) { diff --git a/lib/widgets/kcomboview.h b/lib/widgets/kcomboview.h index e73b73e6..981eaa1a 100644 --- a/lib/widgets/kcomboview.h +++ b/lib/widgets/kcomboview.h @@ -58,7 +58,7 @@ class KComboView: public QComboView TQ_OBJECT public: ///The combo-view takes the ownership of the completer and deletes it on destruction - KComboView( bool rw, int defaultWidth = 100, TQWidget* tqparent=0, const char* name=0, CustomCompleter* completer = new CustomCompleter() ); + KComboView( bool rw, int defaultWidth = 100, TQWidget* parent=0, const char* name=0, CustomCompleter* completer = new CustomCompleter() ); virtual ~KComboView(); virtual void addItem(TQListViewItem *it); diff --git a/lib/widgets/kdevtabwidget.cpp b/lib/widgets/kdevtabwidget.cpp index 4631f16a..a7d12348 100644 --- a/lib/widgets/kdevtabwidget.cpp +++ b/lib/widgets/kdevtabwidget.cpp @@ -18,7 +18,7 @@ #include "kdevtabwidget.h" -KDevTabWidget::KDevTabWidget(TQWidget *tqparent, const char *name) : TQTabWidget(tqparent,name) +KDevTabWidget::KDevTabWidget(TQWidget *parent, const char *name) : TQTabWidget(parent,name) { m_pTabBar = new KTabBar(this, "tabbar"); setTabBar(m_pTabBar); @@ -26,7 +26,7 @@ KDevTabWidget::KDevTabWidget(TQWidget *tqparent, const char *name) : TQTabWidget connect(m_pTabBar, TQT_SIGNAL(closeOthers(TQWidget*)), this, TQT_SIGNAL(closeOthers(TQWidget*))); } -KTabBar::KTabBar(TQWidget *tqparent, const char *name) : TQTabBar(tqparent,name) +KTabBar::KTabBar(TQWidget *parent, const char *name) : TQTabBar(parent,name) { m_pPopupMenu = new TQPopupMenu(this); @@ -55,7 +55,7 @@ void KTabBar::mousePressEvent(TQMouseEvent *e) TQTab *tab = selectTab(e->pos() ); if( tab == 0L ) return; - m_pPage = ((KDevTabWidget*)tqparent())->page(indexOf(tab->identifier() ) ); + m_pPage = ((KDevTabWidget*)parent())->page(indexOf(tab->identifier() ) ); if(m_pPage == 0L) return; m_pPopupMenu->exec(mapToGlobal(e->pos())); diff --git a/lib/widgets/klistviewaction.cpp b/lib/widgets/klistviewaction.cpp index f439de6b..0a219da5 100644 --- a/lib/widgets/klistviewaction.cpp +++ b/lib/widgets/klistviewaction.cpp @@ -38,8 +38,8 @@ KListViewAction::~KListViewAction() } KListViewAction::KListViewAction(KComboView *view, const TQString & text, const KShortcut & cut, - const TQObject * receiver, const char * slot, KActionCollection * tqparent, const char * name ): - KWidgetAction(view, text, cut, receiver, slot, tqparent, name), m_view(view) + const TQObject * receiver, const char * slot, KActionCollection * parent, const char * name ): + KWidgetAction(view, text, cut, receiver, slot, parent, name), m_view(view) { m_view->setDuplicatesEnabled(false); m_view->setInsertionPolicy(KComboView::NoInsertion); @@ -48,8 +48,8 @@ KListViewAction::KListViewAction(KComboView *view, const TQString & text, const } KListViewAction::KListViewAction( KComboView * view, const TQString & text, const KShortcut & cut, - const TQObject * receiver, const char * slot, KActionCollection * tqparent, const char * name, const bool /*dummy*/ ): - KWidgetAction(new ResizableCombo(view), text, cut, receiver, slot, tqparent, name), m_view(view) + const TQObject * receiver, const char * slot, KActionCollection * parent, const char * name, const bool /*dummy*/ ): + KWidgetAction(new ResizableCombo(view), text, cut, receiver, slot, parent, name), m_view(view) { m_view->setDuplicatesEnabled(false); m_view->setInsertionPolicy(KComboView::NoInsertion); diff --git a/lib/widgets/klistviewaction.h b/lib/widgets/klistviewaction.h index 0334ec30..d8f53eb8 100644 --- a/lib/widgets/klistviewaction.h +++ b/lib/widgets/klistviewaction.h @@ -38,8 +38,8 @@ Can be used on toolbars. It appears as @ref ResizableCombo. class KListViewAction: public KWidgetAction { public: - KListViewAction(KComboView *view, const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent, const char *name); - KListViewAction(KComboView *view, const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent, const char *name, const bool); + KListViewAction(KComboView *view, const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent, const char *name); + KListViewAction(KComboView *view, const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent, const char *name, const bool); ~KListViewAction(); diff --git a/lib/widgets/ksavealldialog.cpp b/lib/widgets/ksavealldialog.cpp index a2c2d87c..0a922b7d 100644 --- a/lib/widgets/ksavealldialog.cpp +++ b/lib/widgets/ksavealldialog.cpp @@ -49,8 +49,8 @@ private: } -KSaveSelectDialog::KSaveSelectDialog( KURL::List const & filelist, KURL::List const & ignorelist, TQWidget * tqparent ) : - KDialogBase( tqparent, "SaveAllDialog", true, i18n("Save Modified Files?"), +KSaveSelectDialog::KSaveSelectDialog( KURL::List const & filelist, KURL::List const & ignorelist, TQWidget * parent ) : + KDialogBase( parent, "SaveAllDialog", true, i18n("Save Modified Files?"), Ok | User1 | Close ) { TQVBox *top = makeVBoxMainWidget(); @@ -140,8 +140,8 @@ KURL::List KSaveSelectDialog::filesNotToSave( ) } -KSaveAllDialog::KSaveAllDialog( const TQStringList& filenames, TQWidget* tqparent ) : - KDialogBase( tqparent, "SaveAllDialog", true, i18n("Save Modified Files?"), +KSaveAllDialog::KSaveAllDialog( const TQStringList& filenames, TQWidget* parent ) : + KDialogBase( parent, "SaveAllDialog", true, i18n("Save Modified Files?"), Ok | User1 | Close ) { m_result = Cancel; diff --git a/lib/widgets/ksavealldialog.h b/lib/widgets/ksavealldialog.h index 091a3ae0..8aee6870 100644 --- a/lib/widgets/ksavealldialog.h +++ b/lib/widgets/ksavealldialog.h @@ -39,7 +39,7 @@ class KSaveSelectDialog : public KDialogBase TQ_OBJECT public: - KSaveSelectDialog( KURL::List const & filelist, KURL::List const & ignorelist, TQWidget * tqparent ); + KSaveSelectDialog( KURL::List const & filelist, KURL::List const & ignorelist, TQWidget * parent ); virtual ~KSaveSelectDialog(); KURL::List filesToSave(); @@ -67,7 +67,7 @@ class KSaveAllDialog : public KDialogBase public: enum SaveAllResult{ SaveAll, Cancel, Revert }; - KSaveAllDialog( const TQStringList& filenames, TQWidget* tqparent ); + KSaveAllDialog( const TQStringList& filenames, TQWidget* parent ); virtual ~KSaveAllDialog(); SaveAllResult result() const { return m_result; } diff --git a/lib/widgets/processwidget.cpp b/lib/widgets/processwidget.cpp index cf13248c..3de31905 100644 --- a/lib/widgets/processwidget.cpp +++ b/lib/widgets/processwidget.cpp @@ -103,8 +103,8 @@ void ProcessListBoxItem::paint(TQPainter *p) } -ProcessWidget::ProcessWidget(TQWidget *tqparent, const char *name) - : KListBox(tqparent, name) +ProcessWidget::ProcessWidget(TQWidget *parent, const char *name) + : KListBox(parent, name) { setFocusPolicy(TQ_NoFocus); diff --git a/lib/widgets/processwidget.h b/lib/widgets/processwidget.h index e4ef0c5d..15ae5b85 100644 --- a/lib/widgets/processwidget.h +++ b/lib/widgets/processwidget.h @@ -61,7 +61,7 @@ class ProcessWidget : public KListBox TQ_OBJECT public: - ProcessWidget(TQWidget *tqparent, const char *name=0); + ProcessWidget(TQWidget *parent, const char *name=0); ~ProcessWidget(); /** 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 ); diff --git a/lib/widgets/qcomboview.cpp b/lib/widgets/qcomboview.cpp index 793c52d2..68e940ae 100644 --- a/lib/widgets/qcomboview.cpp +++ b/lib/widgets/qcomboview.cpp @@ -133,13 +133,13 @@ static inline bool checkIndex( const char *method, const char * name, The input field can be edited if \a rw is TRUE, otherwise the user may only choose one of the items in the combobox. - The \a tqparent and \a name arguments are passed on to the TQWidget + The \a parent and \a name arguments are passed on to the TQWidget constructor. */ -QComboView::QComboView( bool rw, TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name, WResizeNoErase ) +QComboView::QComboView( bool rw, TQWidget *parent, const char *name ) + : TQWidget( parent, name, WResizeNoErase ) { d = new QComboViewData( this ); setUpListView(); @@ -1430,7 +1430,7 @@ void QComboView::setLineEdit( TQLineEdit *edit ) d->ed = edit; - if ( TQT_BASE_OBJECT(edit->tqparent()) != TQT_BASE_OBJECT(this) ) { + if ( TQT_BASE_OBJECT(edit->parent()) != TQT_BASE_OBJECT(this) ) { edit->reparent( this, TQPoint(0,0), FALSE ); edit->setFont( font() ); } diff --git a/lib/widgets/qcomboview.h b/lib/widgets/qcomboview.h index 213c278f..4cdf6754 100644 --- a/lib/widgets/qcomboview.h +++ b/lib/widgets/qcomboview.h @@ -58,8 +58,8 @@ class TQ_EXPORT QComboView : public TQWidget TQ_OVERRIDE( bool autoMask DESIGNABLE true SCRIPTABLE true ) public: -// QComboView( TQWidget* tqparent=0, const char* name=0 ); - QComboView( bool rw, TQWidget* tqparent=0, const char* name=0 ); +// QComboView( TQWidget* parent=0, const char* name=0 ); + QComboView( bool rw, TQWidget* parent=0, const char* name=0 ); ~QComboView(); int childCount() const; diff --git a/lib/widgets/resizablecombo.cpp b/lib/widgets/resizablecombo.cpp index eeeba8d0..aba2f658 100644 --- a/lib/widgets/resizablecombo.cpp +++ b/lib/widgets/resizablecombo.cpp @@ -51,8 +51,8 @@ static const char * resize_xpm[] = { " . ", " "}; -ResizableCombo::ResizableCombo(KComboView *view, TQWidget *tqparent, const char *name): - TQWidget(tqparent, name), m_sizer(0), m_combo(view) +ResizableCombo::ResizableCombo(KComboView *view, TQWidget *parent, const char *name): + TQWidget(parent, name), m_sizer(0), m_combo(view) { TQHBoxLayout *l = new TQHBoxLayout(this); view->reparent(this, TQPoint(0,0)); @@ -86,8 +86,8 @@ void MyPushButton::mouseMoveEvent( TQMouseEvent * e ) TQPushButton::mouseMoveEvent(e); } -MyPushButton::MyPushButton( ResizableCombo * tqparent, const char * name ) - :TQPushButton(tqparent, name), m_resizing(false), m_combo(tqparent) +MyPushButton::MyPushButton( ResizableCombo * parent, const char * name ) + :TQPushButton(parent, name), m_resizing(false), m_combo(parent) { setFocusPolicy(TQ_NoFocus); setFlat(true); diff --git a/lib/widgets/resizablecombo.h b/lib/widgets/resizablecombo.h index bafefe33..ecaa2058 100644 --- a/lib/widgets/resizablecombo.h +++ b/lib/widgets/resizablecombo.h @@ -39,7 +39,7 @@ class ResizableCombo: public TQWidget{ Q_OBJECT TQ_OBJECT public: - ResizableCombo(KComboView *view, TQWidget *tqparent = 0, const char *name = 0); + ResizableCombo(KComboView *view, TQWidget *parent = 0, const char *name = 0); private: MyPushButton *m_sizer; @@ -51,7 +51,7 @@ friend class MyPushButton; class MyPushButton: public TQPushButton { public: - MyPushButton(ResizableCombo *tqparent = 0, const char *name = 0 ); + MyPushButton(ResizableCombo *parent = 0, const char *name = 0 ); TQPoint pressedPos() { |