diff options
Diffstat (limited to 'doc/html/ntqinputdialog.html')
-rw-r--r-- | doc/html/ntqinputdialog.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/ntqinputdialog.html b/doc/html/ntqinputdialog.html index c52d87e7d..af631ca60 100644 --- a/doc/html/ntqinputdialog.html +++ b/doc/html/ntqinputdialog.html @@ -56,10 +56,10 @@ label must be set to tell the user what they should enter. functions can be used in a similar way, for example: <pre> bool ok; - <a href="ntqstring.html">TQString</a> text = TQInputDialog::<a href="#getText">getText</a>( + <a href="tqstring.html">TQString</a> text = TQInputDialog::<a href="#getText">getText</a>( "MyApp 3000", "Enter your name:", TQLineEdit::Normal, - <a href="ntqstring.html#TQString-null">TQString::null</a>, &ok, this ); - if ( ok && !text.<a href="ntqstring.html#isEmpty">isEmpty</a>() ) { + <a href="tqstring.html#TQString-null">TQString::null</a>, &ok, this ); + if ( ok && !text.<a href="tqstring.html#isEmpty">isEmpty</a>() ) { // user entered something and pressed OK } else { // user entered nothing or pressed Cancel @@ -69,7 +69,7 @@ functions can be used in a similar way, for example: <p> <center><img src="inputdialogs.png" alt="Input Dialogs"></center> <p>See also <a href="dialogs.html">Dialog Classes</a>. <hr><h2>Member Function Documentation</h2> -<h3 class=fn>double <a name="getDouble"></a>TQInputDialog::getDouble ( const <a href="ntqstring.html">TQString</a> & caption, const <a href="ntqstring.html">TQString</a> & label, double value = 0, double minValue = -2147483647, double maxValue = 2147483647, int decimals = 1, bool * ok = 0, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 )<tt> [static]</tt> +<h3 class=fn>double <a name="getDouble"></a>TQInputDialog::getDouble ( const <a href="tqstring.html">TQString</a> & caption, const <a href="tqstring.html">TQString</a> & label, double value = 0, double minValue = -2147483647, double maxValue = 2147483647, int decimals = 1, bool * ok = 0, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 )<tt> [static]</tt> </h3> Static convenience function to get a floating point number from the user. <em>caption</em> is the text which is displayed in the title @@ -98,7 +98,7 @@ entered by the user. </pre> -<h3 class=fn>int <a name="getInteger"></a>TQInputDialog::getInteger ( const <a href="ntqstring.html">TQString</a> & caption, const <a href="ntqstring.html">TQString</a> & label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool * ok = 0, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 )<tt> [static]</tt> +<h3 class=fn>int <a name="getInteger"></a>TQInputDialog::getInteger ( const <a href="tqstring.html">TQString</a> & caption, const <a href="tqstring.html">TQString</a> & label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool * ok = 0, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 )<tt> [static]</tt> </h3> Static convenience function to get an integer input from the user. <em>caption</em> is the text which is displayed in the title bar @@ -126,7 +126,7 @@ be modal. </pre> -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="getItem"></a>TQInputDialog::getItem ( const <a href="ntqstring.html">TQString</a> & caption, const <a href="ntqstring.html">TQString</a> & label, const <a href="ntqstringlist.html">TQStringList</a> & list, int current = 0, bool editable = TRUE, bool * ok = 0, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 )<tt> [static]</tt> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="getItem"></a>TQInputDialog::getItem ( const <a href="tqstring.html">TQString</a> & caption, const <a href="tqstring.html">TQString</a> & label, const <a href="tqstringlist.html">TQStringList</a> & list, int current = 0, bool editable = TRUE, bool * ok = 0, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 )<tt> [static]</tt> </h3> Static convenience function to let the user select an item from a string list. <em>caption</em> is the text which is displayed in the title @@ -143,10 +143,10 @@ be modal. <p> This function returns the text of the current item, or if <em>editable</em> is TRUE, the current text of the combobox. <p> Use this static function like this: <p> <pre> - <a href="ntqstringlist.html">TQStringList</a> lst; + <a href="tqstringlist.html">TQStringList</a> lst; lst << "First" << "Second" << "Third" << "Fourth" << "Fifth"; bool ok; - <a href="ntqstring.html">TQString</a> res = TQInputDialog::<a href="#getItem">getItem</a>( + <a href="tqstring.html">TQString</a> res = TQInputDialog::<a href="#getItem">getItem</a>( "MyApp 3000", "Select an item:", lst, 1, TRUE, &ok, this ); if ( ok ) { @@ -157,7 +157,7 @@ be modal. </pre> -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="getText"></a>TQInputDialog::getText ( const <a href="ntqstring.html">TQString</a> & caption, const <a href="ntqstring.html">TQString</a> & label, <a href="ntqlineedit.html#EchoMode-enum">TQLineEdit::EchoMode</a> mode = TQLineEdit::Normal, const <a href="ntqstring.html">TQString</a> & text = TQString::null, bool * ok = 0, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 )<tt> [static]</tt> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="getText"></a>TQInputDialog::getText ( const <a href="tqstring.html">TQString</a> & caption, const <a href="tqstring.html">TQString</a> & label, <a href="ntqlineedit.html#EchoMode-enum">TQLineEdit::EchoMode</a> mode = TQLineEdit::Normal, const <a href="tqstring.html">TQString</a> & text = TQString::null, bool * ok = 0, <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0 )<tt> [static]</tt> </h3> Static convenience function to get a string from the user. <em>caption</em> is the text which is displayed in the title bar of the dialog. <em>label</em> is the text which is shown to the user (it should @@ -172,10 +172,10 @@ edit. It will not return an empty string. <p> Use this static function like this: <p> <pre> bool ok; - <a href="ntqstring.html">TQString</a> text = TQInputDialog::<a href="#getText">getText</a>( + <a href="tqstring.html">TQString</a> text = TQInputDialog::<a href="#getText">getText</a>( "MyApp 3000", "Enter your name:", TQLineEdit::Normal, - <a href="ntqstring.html#TQString-null">TQString::null</a>, &ok, this ); - if ( ok && !text.<a href="ntqstring.html#isEmpty">isEmpty</a>() ) { + <a href="tqstring.html#TQString-null">TQString::null</a>, &ok, this ); + if ( ok && !text.<a href="tqstring.html#isEmpty">isEmpty</a>() ) { // user entered something and pressed OK } else { // user entered nothing or pressed Cancel |