summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-10 12:13:27 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-10 12:13:27 -0500
commitd296f1d337dabfeae5191955fdadb874965dbbe9 (patch)
tree1a4b3b4cca01f2ea77eee2497297219d60e9bbd4 /tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp
parenteaa7ee2e0bbca40ba3173c4304f81957e8964291 (diff)
downloadexperimental-d296f1d337dabfeae5191955fdadb874965dbbe9.tar.gz
experimental-d296f1d337dabfeae5191955fdadb874965dbbe9.zip
rename the following methods:
tqparent parent tqmask mask
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp')
-rw-r--r--tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp16
1 files changed, 8 insertions, 8 deletions
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);
}