summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqinputdialog.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqinputdialog.3qt')
-rw-r--r--doc/man/man3/tqinputdialog.3qt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqinputdialog.3qt b/doc/man/man3/tqinputdialog.3qt
index 4ea3e4315..03b6e4f7f 100644
--- a/doc/man/man3/tqinputdialog.3qt
+++ b/doc/man/man3/tqinputdialog.3qt
@@ -11,10 +11,10 @@ QInputDialog \- Simple convenience dialog to get a single value from the user
.SH SYNOPSIS
\fC#include <ntqinputdialog.h>\fR
.PP
-Inherits QDialog.
+Inherits TQDialog.
.PP
.SS "Static Public Members"
-<li class=fn>TQString \fBgetText\fR ( const TQString & caption, const TQString & label, QLineEdit::EchoMode mode = QLineEdit::Normal, const TQString & text = TQString::null, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>int \fBgetInteger\fR ( const TQString & caption, const TQString & label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>double \fBgetDouble\fR ( const TQString & caption, const TQString & label, double value = 0, double minValue = -2147483647, double maxValue = 2147483647, int decimals = 1, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>TQString \fBgetItem\fR ( const TQString & caption, const TQString & label, const TQStringList & list, int current = 0, bool editable = TRUE, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 )
+<li class=fn>TQString \fBgetText\fR ( const TQString & caption, const TQString & label, TQLineEdit::EchoMode mode = TQLineEdit::Normal, const TQString & text = TQString::null, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>int \fBgetInteger\fR ( const TQString & caption, const TQString & label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>double \fBgetDouble\fR ( const TQString & caption, const TQString & label, double value = 0, double minValue = -2147483647, double maxValue = 2147483647, int decimals = 1, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>TQString \fBgetItem\fR ( const TQString & caption, const TQString & label, const TQStringList & list, int current = 0, bool editable = TRUE, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 )
.SH DESCRIPTION
The QInputDialog class provides a simple convenience dialog to get a single value from the user.
.PP
@@ -28,7 +28,7 @@ Four static convenience functions are provided: getText(), getInteger(), getDoub
.br
TQString text = QInputDialog::getText(
.br
- "MyApp 3000", "Enter your name:", QLineEdit::Normal,
+ "MyApp 3000", "Enter your name:", TQLineEdit::Normal,
.br
TQString::null, &ok, this );
.br
@@ -146,7 +146,7 @@ Use this static function like this:
}
.br
.fi
-.SH "TQString QInputDialog::getText ( const TQString & caption, const TQString & label, QLineEdit::EchoMode mode = QLineEdit::Normal, const TQString & text = TQString::null, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR"
+.SH "TQString QInputDialog::getText ( const TQString & caption, const TQString & label, TQLineEdit::EchoMode mode = TQLineEdit::Normal, const TQString & text = TQString::null, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR"
Static convenience function to get a string from the user. \fIcaption\fR is the text which is displayed in the title bar of the dialog. \fIlabel\fR is the text which is shown to the user (it should say what should be entered). \fItext\fR is the default text which is placed in the line edit. The \fImode\fR is the echo mode the line edit will use. If \fIok\fR is not-null \fI*\fR\fIok\fR will be set to TRUE if the user pressed OK and to FALSE if the user pressed Cancel. The dialog's parent is \fIparent\fR; the dialog is called \fIname\fR. The dialog will be modal.
.PP
This function returns the text which has been entered in the line edit. It will not return an empty string.
@@ -159,7 +159,7 @@ Use this static function like this:
.br
TQString text = QInputDialog::getText(
.br
- "MyApp 3000", "Enter your name:", QLineEdit::Normal,
+ "MyApp 3000", "Enter your name:", TQLineEdit::Normal,
.br
TQString::null, &ok, this );
.br