diff options
Diffstat (limited to 'doc/html/ntqlineedit.html')
-rw-r--r-- | doc/html/ntqlineedit.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/ntqlineedit.html b/doc/html/ntqlineedit.html index 8aafddf5e..c79bc71f1 100644 --- a/doc/html/ntqlineedit.html +++ b/doc/html/ntqlineedit.html @@ -224,7 +224,7 @@ Constructs a line edit with no text. <p> The <em>parent</em> and <em>name</em> arguments are sent to the <a href="tqwidget.html">TQWidget</a> constructor. <p> <p>See also <a href="#text-prop">text</a> and <a href="#maxLength-prop">maxLength</a>. -<h3 class=fn><a name="TQLineEdit-2"></a>TQLineEdit::TQLineEdit ( const <a href="ntqstring.html">TQString</a> & contents, <a href="tqwidget.html">TQWidget</a> * parent, const char * name = 0 ) +<h3 class=fn><a name="TQLineEdit-2"></a>TQLineEdit::TQLineEdit ( const <a href="tqstring.html">TQString</a> & contents, <a href="tqwidget.html">TQWidget</a> * parent, const char * name = 0 ) </h3> Constructs a line edit containing the text <em>contents</em>. <p> The cursor position is set to the end of the line and the maximum @@ -233,7 +233,7 @@ text length to 32767 characters. constructor. <p> <p>See also <a href="#text-prop">text</a> and <a href="#maxLength-prop">maxLength</a>. -<h3 class=fn><a name="TQLineEdit-3"></a>TQLineEdit::TQLineEdit ( const <a href="ntqstring.html">TQString</a> & contents, const <a href="ntqstring.html">TQString</a> & inputMask, <a href="tqwidget.html">TQWidget</a> * parent, const char * name = 0 ) +<h3 class=fn><a name="TQLineEdit-3"></a>TQLineEdit::TQLineEdit ( const <a href="tqstring.html">TQString</a> & contents, const <a href="tqstring.html">TQString</a> & inputMask, <a href="tqwidget.html">TQWidget</a> * parent, const char * name = 0 ) </h3> Constructs a line edit with an input <em>inputMask</em> and the text <em>contents</em>. <p> The cursor position is set to the end of the line and the maximum @@ -337,7 +337,7 @@ beginning of the selected text and the selected text is deleted. Deselects any selected text. <p> <p>See also <a href="#setSelection">setSelection</a>() and <a href="#selectAll">selectAll</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="displayText"></a>TQLineEdit::displayText () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="displayText"></a>TQLineEdit::displayText () const </h3><p>Returns the displayed text. See the <a href="ntqlineedit.html#displayText-prop">"displayText"</a> property for details. <h3 class=fn>bool <a name="dragEnabled"></a>TQLineEdit::dragEnabled () const @@ -377,10 +377,10 @@ first position; otherwise, any selected text is unselected if the cursor is moved. <p> <p>See also <a href="#end">end</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="inputMask"></a>TQLineEdit::inputMask () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="inputMask"></a>TQLineEdit::inputMask () const </h3><p>Returns the validation input mask. See the <a href="ntqlineedit.html#inputMask-prop">"inputMask"</a> property for details. -<h3 class=fn>void <a name="insert"></a>TQLineEdit::insert ( const <a href="ntqstring.html">TQString</a> & newText )<tt> [virtual slot]</tt> +<h3 class=fn>void <a name="insert"></a>TQLineEdit::insert ( const <a href="tqstring.html">TQString</a> & newText )<tt> [virtual slot]</tt> </h3> Deletes any selected text, inserts <em>newText</em>, and validates the result. If it is valid, it sets it as the new contents of the line @@ -452,7 +452,7 @@ because if the user types before clicking on the widget, the selected text will be deleted. <p> <p>See also <a href="#setSelection">setSelection</a>() and <a href="#deselect">deselect</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="selectedText"></a>TQLineEdit::selectedText () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="selectedText"></a>TQLineEdit::selectedText () const </h3><p>Returns the selected text. See the <a href="ntqlineedit.html#selectedText-prop">"selectedText"</a> property for details. <h3 class=fn>void <a name="selectionChanged"></a>TQLineEdit::selectionChanged ()<tt> [signal]</tt> @@ -485,7 +485,7 @@ See the <a href="ntqlineedit.html#edited-prop">"edited"</a> property for details <h3 class=fn>void <a name="setFrame"></a>TQLineEdit::setFrame ( bool )<tt> [virtual slot]</tt> </h3><p>Sets whether the line edit draws itself with a frame. See the <a href="ntqlineedit.html#frame-prop">"frame"</a> property for details. -<h3 class=fn>void <a name="setInputMask"></a>TQLineEdit::setInputMask ( const <a href="ntqstring.html">TQString</a> & inputMask ) +<h3 class=fn>void <a name="setInputMask"></a>TQLineEdit::setInputMask ( const <a href="tqstring.html">TQString</a> & inputMask ) </h3><p>Sets the validation input mask to <em>inputMask</em>. See the <a href="ntqlineedit.html#inputMask-prop">"inputMask"</a> property for details. <h3 class=fn>void <a name="setMaxLength"></a>TQLineEdit::setMaxLength ( int )<tt> [virtual slot]</tt> @@ -501,7 +501,7 @@ Selects text from position <em>start</em> and for <em>length</em> characters. the selection regardless of its current position. <p> <p>See also <a href="#deselect">deselect</a>(), <a href="#selectAll">selectAll</a>(), <a href="#getSelection">getSelection</a>(), <a href="#cursorForward">cursorForward</a>(), and <a href="#cursorBackward">cursorBackward</a>(). -<h3 class=fn>void <a name="setText"></a>TQLineEdit::setText ( const <a href="ntqstring.html">TQString</a> & )<tt> [virtual slot]</tt> +<h3 class=fn>void <a name="setText"></a>TQLineEdit::setText ( const <a href="tqstring.html">TQString</a> & )<tt> [virtual slot]</tt> </h3><p>Sets the line edit's text. See the <a href="ntqlineedit.html#text-prop">"text"</a> property for details. <h3 class=fn>void <a name="setValidator"></a>TQLineEdit::setValidator ( const <a href="ntqvalidator.html">TQValidator</a> * v )<tt> [virtual slot]</tt> @@ -522,10 +522,10 @@ Returns a recommended size for the widget. 20 characters. <p>Example: <a href="addressbook-example.html#x583">addressbook/centralwidget.cpp</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text"></a>TQLineEdit::text () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="text"></a>TQLineEdit::text () const </h3><p>Returns the line edit's text. See the <a href="ntqlineedit.html#text-prop">"text"</a> property for details. -<h3 class=fn>void <a name="textChanged"></a>TQLineEdit::textChanged ( const <a href="ntqstring.html">TQString</a> & )<tt> [signal]</tt> +<h3 class=fn>void <a name="textChanged"></a>TQLineEdit::textChanged ( const <a href="tqstring.html">TQString</a> & )<tt> [signal]</tt> </h3> <p> This signal is emitted whenever the text changes. The argument is @@ -538,7 +538,7 @@ Undoes the last operation if undo is <a href="#undoAvailable-prop">available</a> selection, and updates the selection start to the current cursor position. -<h3 class=fn>bool <a name="validateAndSet"></a>TQLineEdit::validateAndSet ( const <a href="ntqstring.html">TQString</a> & newText, int newPos, int newMarkAnchor, int newMarkDrag ) +<h3 class=fn>bool <a name="validateAndSet"></a>TQLineEdit::validateAndSet ( const <a href="tqstring.html">TQString</a> & newText, int newPos, int newMarkAnchor, int newMarkDrag ) </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. Use <a href="#setText">setText</a>(), <a href="#setCursorPosition">setCursorPosition</a>() and <a href="#setSelection">setSelection</a>() instead. @@ -568,7 +568,7 @@ does nothing. <p>Setting the cursor position causes a repaint when appropriate. <p>Set this property's value with <a href="#setCursorPosition">setCursorPosition</a>() and get this property's value with <a href="#cursorPosition">cursorPosition</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="displayText-prop"></a>displayText</h3> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="displayText-prop"></a>displayText</h3> <p>This property holds the displayed text. <p>If <a href="#EchoMode-enum">EchoMode</a> is <a href="#EchoMode-enum">Normal</a> this returns the same as <a href="#text">text</a>(); if <a href="#EchoMode-enum">EchoMode</a> is <a href="#EchoMode-enum">Password</a> it returns a string of asterisks @@ -608,9 +608,9 @@ selected by the user; otherwise returns FALSE. <p> <p>See also <a href="#selectedText-prop">selectedText</a>. <p>Get this property's value with <a href="#hasSelectedText">hasSelectedText</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="inputMask-prop"></a>inputMask</h3> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="inputMask-prop"></a>inputMask</h3> <p>This property holds the validation input mask. -<p>If no mask is set, <a href="#inputMask">inputMask</a>() returns <a href="ntqstring.html#TQString-null">TQString::null</a>. +<p>If no mask is set, <a href="#inputMask">inputMask</a>() returns <a href="tqstring.html#TQString-null">TQString::null</a>. <p> Sets the TQLineEdit's validation mask. Validators can be used instead of, or in conjunction with masks; see <a href="#setValidator">setValidator</a>(). <p> Unset the mask and return to normal TQLineEdit operation by passing @@ -694,14 +694,14 @@ but cannot edit it. <p>This property holds whether redo is available. <p> <p>Get this property's value with <a href="#isRedoAvailable">isRedoAvailable</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="selectedText-prop"></a>selectedText</h3> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="selectedText-prop"></a>selectedText</h3> <p>This property holds the selected text. <p>If there is no selected text this property's value is -<a href="ntqstring.html#TQString-null">TQString::null</a>. +<a href="tqstring.html#TQString-null">TQString::null</a>. <p> <p>See also <a href="#hasSelectedText-prop">hasSelectedText</a>. <p>Get this property's value with <a href="#selectedText">selectedText</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text-prop"></a>text</h3> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="text-prop"></a>text</h3> <p>This property holds the line edit's text. <p>Note that setting this property clears the selection, clears the undo/redo history, moves the cursor to the end of the line and |