summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp')
-rw-r--r--experimental/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/experimental/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp b/experimental/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp
index bb7d5f1da..18f563129 100644
--- a/experimental/tqtinterface/qt4/src/widgets/tqdialogbuttons.cpp
+++ b/experimental/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);
}