summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/dialogs/tqdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/dialogs/tqdialog.cpp')
-rw-r--r--tqtinterface/qt4/src/dialogs/tqdialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tqtinterface/qt4/src/dialogs/tqdialog.cpp b/tqtinterface/qt4/src/dialogs/tqdialog.cpp
index 31341ca..bbb0ad5 100644
--- a/tqtinterface/qt4/src/dialogs/tqdialog.cpp
+++ b/tqtinterface/qt4/src/dialogs/tqdialog.cpp
@@ -75,11 +75,11 @@
buttons\endlink. TQDialogs can also have a TQSizeGrip in their
lower-right corner, using setSizeGripEnabled().
- Note that TQDialog uses the tqparent widget slightly differently from
+ Note that TQDialog uses the parent widget slightly differently from
other classes in TQt. A dialog is always a top-level widget, but if
- it has a tqparent, its default location is centered on top of the
- tqparent's top-level widget (if it is not top-level itself). It will
- also share the tqparent's taskbar entry.
+ it has a parent, its default location is centered on top of the
+ parent's top-level widget (if it is not top-level itself). It will
+ also share the parent's taskbar entry.
\target modal
\section1 Modal Dialogs
@@ -234,11 +234,11 @@ public:
};
/*!
- Constructs a dialog called \a name, with tqparent \a tqparent.
+ Constructs a dialog called \a name, with parent \a parent.
- A dialog is always a top-level widget, but if it has a tqparent, its
- default location is centered on top of the tqparent. It will also
- share the tqparent's taskbar entry.
+ A dialog is always a top-level widget, but if it has a parent, its
+ default location is centered on top of the parent. It will also
+ share the parent's taskbar entry.
The widget flags \a f are passed on to the TQWidget constructor.
If, for example, you don't want a What's This button in the titlebar
@@ -253,8 +253,8 @@ public:
\sa TQWidget::setWFlags() TQt::WidgetFlags
*/
-TQDialog::TQDialog( TQWidget *tqparent, const char *name, bool modal, WFlags f )
- : TQWidget( tqparent, name,
+TQDialog::TQDialog( TQWidget *parent, const char *name, bool modal, WFlags f )
+ : TQWidget( parent, name,
(WFlags)((modal ? (WFlags)(f|TQt::WShowModal) : f) | TQt::WType_Dialog )),
rescode(0), did_move(0), has_relpos(0), did_resize(0), in_loop(0)
{