diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-31 19:56:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-31 19:56:49 +0900 |
commit | 39f8a475b4ec5c87a11a7e9300a30ef1c5b4a7e1 (patch) | |
tree | c38058d08754b389bd058a6d63f75086b49a22b1 /doc/man/man3/tqinputdialog.3qt | |
parent | e42ec295c2134770a1eb07032f5f22ca4ba1daa6 (diff) | |
download | tqt3-39f8a475b4ec5c87a11a7e9300a30ef1c5b4a7e1.tar.gz tqt3-39f8a475b4ec5c87a11a7e9300a30ef1c5b4a7e1.zip |
Rename remaining ntq[i-l]* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqinputdialog.3qt')
-rw-r--r-- | doc/man/man3/tqinputdialog.3qt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/man/man3/tqinputdialog.3qt b/doc/man/man3/tqinputdialog.3qt index 03b6e4f7f..aa59f35cb 100644 --- a/doc/man/man3/tqinputdialog.3qt +++ b/doc/man/man3/tqinputdialog.3qt @@ -1,5 +1,5 @@ '\" t -.TH QInputDialog 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQInputDialog 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,16 +7,16 @@ .ad l .nh .SH NAME -QInputDialog \- Simple convenience dialog to get a single value from the user +TQInputDialog \- Simple convenience dialog to get a single value from the user .SH SYNOPSIS -\fC#include <ntqinputdialog.h>\fR +\fC#include <tqinputdialog.h>\fR .PP Inherits TQDialog. .PP .SS "Static Public Members" <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. +The TQInputDialog class provides a simple convenience dialog to get a single value from the user. .PP The input value can be a string, a number or an item from a list. A label must be set to tell the user what they should enter. .PP @@ -26,7 +26,7 @@ Four static convenience functions are provided: getText(), getInteger(), getDoub .br bool ok; .br - TQString text = QInputDialog::getText( + TQString text = TQInputDialog::getText( .br "MyApp 3000", "Enter your name:", TQLineEdit::Normal, .br @@ -52,7 +52,7 @@ Four static convenience functions are provided: getText(), getInteger(), getDoub .PP See also Dialog Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "double QInputDialog::getDouble ( 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 )\fC [static]\fR" +.SH "double TQInputDialog::getDouble ( 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 )\fC [static]\fR" Static convenience function to get a floating point number 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). \fIvalue\fR is the default floating point number that the line edit will be set to. \fIminValue\fR and \fImaxValue\fR are the minimum and maximum values the user may choose, and \fIdecimals\fR is the maximum number of decimal places the number may have. .PP 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. @@ -65,7 +65,7 @@ Use this static function like this: .br bool ok; .br - double res = QInputDialog::getDouble( + double res = TQInputDialog::getDouble( .br "MyApp 3000", "Enter a decimal number:", 33.7, 0, .br @@ -82,7 +82,7 @@ Use this static function like this: } .br .fi -.SH "int QInputDialog::getInteger ( 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 )\fC [static]\fR" +.SH "int TQInputDialog::getInteger ( 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 )\fC [static]\fR" Static convenience function to get an integer input 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). \fIvalue\fR is the default integer which the spinbox will be set to. \fIminValue\fR and \fImaxValue\fR are the minimum and maximum values the user may choose, and \fIstep\fR is the amount by which the values change as the user presses the arrow buttons to increment or decrement the value. .PP If \fIok\fR is not-null *\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. @@ -95,7 +95,7 @@ Use this static function like this: .br bool ok; .br - int res = QInputDialog::getInteger( + int res = TQInputDialog::getInteger( .br "MyApp 3000", "Enter a number:", 22, 0, 1000, 2, .br @@ -112,7 +112,7 @@ Use this static function like this: } .br .fi -.SH "TQString QInputDialog::getItem ( 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 )\fC [static]\fR" +.SH "TQString TQInputDialog::getItem ( 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 )\fC [static]\fR" Static convenience function to let the user select an item from a string list. \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). \fIlist\fR is the string list which is inserted into the combobox, and \fIcurrent\fR is the number of the item which should be the current item. If \fIeditable\fR is TRUE the user can enter their own text; if \fIeditable\fR is FALSE the user may only select one of the existing items. .PP 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. @@ -129,7 +129,7 @@ Use this static function like this: .br bool ok; .br - TQString res = QInputDialog::getItem( + TQString res = TQInputDialog::getItem( .br "MyApp 3000", "Select an item:", lst, 1, TRUE, &ok, .br @@ -146,7 +146,7 @@ Use this static function like this: } .br .fi -.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" +.SH "TQString TQInputDialog::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. @@ -157,7 +157,7 @@ Use this static function like this: .br bool ok; .br - TQString text = QInputDialog::getText( + TQString text = TQInputDialog::getText( .br "MyApp 3000", "Enter your name:", TQLineEdit::Normal, .br @@ -176,7 +176,7 @@ Use this static function like this: .fi .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqinputdialog.html +.BR http://doc.trolltech.com/tqinputdialog.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |