diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/dialogs/tqinputdialog.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/dialogs/tqinputdialog.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/experimental/tqtinterface/qt4/src/dialogs/tqinputdialog.cpp b/experimental/tqtinterface/qt4/src/dialogs/tqinputdialog.cpp index 951826baf..a9ae81f7e 100644 --- a/experimental/tqtinterface/qt4/src/dialogs/tqinputdialog.cpp +++ b/experimental/tqtinterface/qt4/src/dialogs/tqinputdialog.cpp @@ -116,17 +116,17 @@ public: /*! Constructs the dialog. The \a label is the text which is shown to the user - (it should tell the user what they are expected to enter). The \a tqparent - is the dialog's tqparent widget. The widget is called \a name. If \a + (it should tell the user what they are expected to enter). The \a parent + is the dialog's parent widget. The widget is called \a name. If \a modal is TRUE (the default) the dialog will be modal. The \a type parameter is used to specify which type of dialog to construct. \sa getText(), getInteger(), getDouble(), getItem() */ -TQInputDialog::TQInputDialog( const TQString &label, TQWidget* tqparent, +TQInputDialog::TQInputDialog( const TQString &label, TQWidget* parent, const char* name, bool modal, Type type ) - : TQDialog( tqparent, name, modal ) + : TQDialog( parent, name, modal ) { d = new TQInputDialogPrivate; d->lineEdit = 0; @@ -275,7 +275,7 @@ TQInputDialog::~TQInputDialog() placed in the line edit. The \a mode is the echo mode the line edit will use. If \a ok is not-null \e *\a ok will be set to TRUE if the user pressed OK and to FALSE if the user pressed Cancel. The - dialog's tqparent is \a tqparent; the dialog is called \a name. The + dialog's parent is \a parent; the dialog is called \a name. The dialog will be modal. This function returns the text which has been entered in the line @@ -298,9 +298,9 @@ TQInputDialog::~TQInputDialog() TQString TQInputDialog::getText( const TQString &caption, const TQString &label, TQLineEdit::EchoMode mode, const TQString &text, - bool *ok, TQWidget *tqparent, const char *name ) + bool *ok, TQWidget *parent, const char *name ) { - TQInputDialog *dlg = new TQInputDialog( label, tqparent, + TQInputDialog *dlg = new TQInputDialog( label, parent, name ? name : "qt_inputdlg_gettext", TRUE, LineEdit ); @@ -334,7 +334,7 @@ TQString TQInputDialog::getText( const TQString &caption, const TQString &label, If \a ok is not-null *\a ok will be set to TRUE if the user pressed OK and to FALSE if the user pressed Cancel. The dialog's - tqparent is \a tqparent; the dialog is called \a name. The dialog will + parent is \a parent; the dialog is called \a name. The dialog will be modal. This function returns the integer which has been entered by the user. @@ -356,9 +356,9 @@ TQString TQInputDialog::getText( const TQString &caption, const TQString &label, int TQInputDialog::getInteger( const TQString &caption, const TQString &label, int value, int minValue, int maxValue, int step, bool *ok, - TQWidget *tqparent, const char *name ) + TQWidget *parent, const char *name ) { - TQInputDialog *dlg = new TQInputDialog( label, tqparent, + TQInputDialog *dlg = new TQInputDialog( label, parent, name ? name : "qt_inputdlg_getint", TRUE, SpinBox ); #ifndef TQT_NO_WIDGET_TOPEXTRA @@ -391,7 +391,7 @@ int TQInputDialog::getInteger( const TQString &caption, const TQString &label, If \a ok is not-null \e *\a ok will be set to TRUE if the user pressed OK and to FALSE if the user pressed Cancel. The dialog's - tqparent is \a tqparent; the dialog is called \a name. The dialog will + parent is \a parent; the dialog is called \a name. The dialog will be modal. This function returns the floating point number which has been @@ -414,10 +414,10 @@ int TQInputDialog::getInteger( const TQString &caption, const TQString &label, double TQInputDialog::getDouble( const TQString &caption, const TQString &label, double value, double minValue, double maxValue, - int decimals, bool *ok, TQWidget *tqparent, + int decimals, bool *ok, TQWidget *parent, const char *name ) { - TQInputDialog dlg( label, tqparent, + TQInputDialog dlg( label, parent, name ? name : "qt_inputdlg_getdbl", TRUE, LineEdit ); #ifndef TQT_NO_WIDGET_TOPEXTRA dlg.setCaption( caption ); @@ -444,7 +444,7 @@ double TQInputDialog::getDouble( const TQString &caption, const TQString &label, If \a ok is not-null \e *\a ok will be set to TRUE if the user pressed OK and to FALSE if the user pressed Cancel. The dialog's - tqparent is \a tqparent; the dialog is called \a name. The dialog will + parent is \a parent; the dialog is called \a name. The dialog will be modal. This function returns the text of the current item, or if \a @@ -469,9 +469,9 @@ double TQInputDialog::getDouble( const TQString &caption, const TQString &label, TQString TQInputDialog::getItem( const TQString &caption, const TQString &label, const TQStringList &list, int current, bool editable, - bool *ok, TQWidget *tqparent, const char *name ) + bool *ok, TQWidget *parent, const char *name ) { - TQInputDialog *dlg = new TQInputDialog( label, tqparent, name ? name : "qt_inputdlg_getitem", TRUE, editable ? EditableComboBox : ComboBox ); + TQInputDialog *dlg = new TQInputDialog( label, parent, name ? name : "qt_inputdlg_getitem", TRUE, editable ? EditableComboBox : ComboBox ); #ifndef TQT_NO_WIDGET_TOPEXTRA dlg->setCaption( caption ); #endif |