From d296f1d337dabfeae5191955fdadb874965dbbe9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 10 Aug 2011 12:13:27 -0500 Subject: rename the following methods: tqparent parent tqmask mask --- tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp') diff --git a/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp b/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp index bb7d5f1..18f5631 100644 --- a/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp +++ b/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp @@ -63,19 +63,19 @@ struct TQDialogButtonsPrivate }; #ifndef TQT_NO_DIALOG -TQDialogButtons::TQDialogButtons(TQDialog *tqparent, bool autoConnect, TQ_UINT32 buttons, - Qt::Orientation orient, const char *name ) : TQWidget(tqparent, name) +TQDialogButtons::TQDialogButtons(TQDialog *parent, bool autoConnect, TQ_UINT32 buttons, + Qt::Orientation orient, const char *name ) : TQWidget(parent, name) { init(buttons, orient); - if(tqparent && autoConnect) { - TQObject::connect(this, TQT_SIGNAL(acceptClicked()), tqparent, TQT_SLOT(accept())); - TQObject::connect(this, TQT_SIGNAL(rejectClicked()), tqparent, TQT_SLOT(reject())); + if(parent && autoConnect) { + TQObject::connect(this, TQT_SIGNAL(acceptClicked()), parent, TQT_SLOT(accept())); + TQObject::connect(this, TQT_SIGNAL(rejectClicked()), parent, TQT_SLOT(reject())); } } #endif // TQT_NO_DIALOG -TQDialogButtons::TQDialogButtons(TQWidget *tqparent, TQ_UINT32 buttons, - Qt::Orientation orient, const char *name ) : TQWidget(tqparent, name) +TQDialogButtons::TQDialogButtons(TQWidget *parent, TQ_UINT32 buttons, + Qt::Orientation orient, const char *name ) : TQWidget(parent, name) { init(buttons, orient); } @@ -164,7 +164,7 @@ TQDialogButtons::addWidget(TQWidget *w) } else { lay = (TQBoxLayout*)d->custom->tqlayout(); } - if(w->tqparent() != TQT_TQOBJECT(d->custom)) + if(w->parent() != TQT_TQOBJECT(d->custom)) w->reparent(d->custom, 0, TQPoint(0, 0), TRUE); lay->addWidget(w); } -- cgit v1.2.3