summaryrefslogtreecommitdiffstats
path: root/doc/html/tqlineedit.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqlineedit.html')
-rw-r--r--doc/html/tqlineedit.html50
1 files changed, 25 insertions, 25 deletions
diff --git a/doc/html/tqlineedit.html b/doc/html/tqlineedit.html
index ec4216229..b76101ba2 100644
--- a/doc/html/tqlineedit.html
+++ b/doc/html/tqlineedit.html
@@ -162,7 +162,7 @@ the returnPressed() signal will only be emitted if the validator
returns <tt>Acceptable</tt>.
<p> By default, TQLineEdits have a frame as specified by the Windows
and Motif style guides; you can turn it off by calling
-<a href="#setFrame">setFrame</a>(FALSE).
+<a href="#setFrame">setFrame</a>(false).
<p> The default key bindings are described below. The line edit also
provides a context menu (usually invoked by a right mouse click)
that presents some of these editing options.
@@ -266,7 +266,7 @@ Clears the contents of the line edit.
<h3 class=fn>void <a name="clearModified"></a>TQLineEdit::clearModified ()
</h3>
-Resets the modified flag to FALSE.
+Resets the modified flag to false.
<p> <p>See also <a href="#modified-prop">modified</a>.
<h3 class=fn>void <a name="clearValidator"></a>TQLineEdit::clearValidator ()<tt> [virtual slot]</tt>
@@ -289,16 +289,16 @@ ownership is transferred to the caller.
<h3 class=fn>void <a name="cursorBackward"></a>TQLineEdit::cursorBackward ( bool&nbsp;mark, int&nbsp;steps = 1 )
</h3>
-Moves the cursor back <em>steps</em> characters. If <em>mark</em> is TRUE each
+Moves the cursor back <em>steps</em> characters. If <em>mark</em> is true each
character moved over is added to the selection; if <em>mark</em> is
-FALSE the selection is cleared.
+false the selection is cleared.
<p> <p>See also <a href="#cursorForward">cursorForward</a>().
<h3 class=fn>void <a name="cursorForward"></a>TQLineEdit::cursorForward ( bool&nbsp;mark, int&nbsp;steps = 1 )
</h3>
-Moves the cursor forward <em>steps</em> characters. If <em>mark</em> is TRUE
+Moves the cursor forward <em>steps</em> characters. If <em>mark</em> is true
each character moved over is added to the selection; if <em>mark</em> is
-FALSE the selection is cleared.
+false the selection is cleared.
<p> <p>See also <a href="#cursorBackward">cursorBackward</a>().
<h3 class=fn>int <a name="cursorPosition"></a>TQLineEdit::cursorPosition () const
@@ -306,13 +306,13 @@ FALSE the selection is cleared.
See the <a href="tqlineedit.html#cursorPosition-prop">"cursorPosition"</a> property for details.
<h3 class=fn>void <a name="cursorWordBackward"></a>TQLineEdit::cursorWordBackward ( bool&nbsp;mark )
</h3>
-Moves the cursor one word backward. If <em>mark</em> is TRUE, the word
+Moves the cursor one word backward. If <em>mark</em> is true, the word
is also selected.
<p> <p>See also <a href="#cursorWordForward">cursorWordForward</a>().
<h3 class=fn>void <a name="cursorWordForward"></a>TQLineEdit::cursorWordForward ( bool&nbsp;mark )
</h3>
-Moves the cursor one word forward. If <em>mark</em> is TRUE, the word is
+Moves the cursor one word forward. If <em>mark</em> is true, the word is
also selected.
<p> <p>See also <a href="#cursorWordBackward">cursorWordBackward</a>().
@@ -340,38 +340,38 @@ Deselects any selected text.
</h3><p>Returns the displayed text.
See the <a href="tqlineedit.html#displayText-prop">"displayText"</a> property for details.
<h3 class=fn>bool <a name="dragEnabled"></a>TQLineEdit::dragEnabled () const
-</h3><p>Returns TRUE if the lineedit starts a drag if the user presses and moves the mouse on some selected text; otherwise returns FALSE.
+</h3><p>Returns true if the lineedit starts a drag if the user presses and moves the mouse on some selected text; otherwise returns false.
See the <a href="tqlineedit.html#dragEnabled-prop">"dragEnabled"</a> property for details.
<h3 class=fn><a href="tqlineedit.html#EchoMode-enum">EchoMode</a> <a name="echoMode"></a>TQLineEdit::echoMode () const
</h3><p>Returns the line edit's echo mode.
See the <a href="tqlineedit.html#echoMode-prop">"echoMode"</a> property for details.
<h3 class=fn>bool <a name="edited"></a>TQLineEdit::edited () const
-</h3><p>Returns TRUE if the line edit has been edited. Use modified instead; otherwise returns FALSE.
+</h3><p>Returns true if the line edit has been edited. Use modified instead; otherwise returns false.
See the <a href="tqlineedit.html#edited-prop">"edited"</a> property for details.
<h3 class=fn>void <a name="end"></a>TQLineEdit::end ( bool&nbsp;mark )
</h3>
Moves the text cursor to the end of the line unless it is already
-there. If <em>mark</em> is TRUE, text is selected towards the last
+there. If <em>mark</em> is true, text is selected towards the last
position; otherwise, any selected text is unselected if the cursor
is moved.
<p> <p>See also <a href="#home">home</a>().
<h3 class=fn>bool <a name="frame"></a>TQLineEdit::frame () const
-</h3><p>Returns TRUE if the line edit draws itself with a frame; otherwise returns FALSE.
+</h3><p>Returns true if the line edit draws itself with a frame; otherwise returns false.
See the <a href="tqlineedit.html#frame-prop">"frame"</a> property for details.
<h3 class=fn>bool <a name="getSelection"></a>TQLineEdit::getSelection ( int&nbsp;*&nbsp;start, int&nbsp;*&nbsp;end )
</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="#selectedText">selectedText</a>(), <a href="#selectionStart">selectionStart</a>()
<h3 class=fn>bool <a name="hasAcceptableInput"></a>TQLineEdit::hasAcceptableInput () const
-</h3><p>Returns TRUE if the input satisfies the inputMask and the validator; otherwise returns FALSE.
+</h3><p>Returns true if the input satisfies the inputMask and the validator; otherwise returns false.
See the <a href="tqlineedit.html#acceptableInput-prop">"acceptableInput"</a> property for details.
<h3 class=fn>bool <a name="hasSelectedText"></a>TQLineEdit::hasSelectedText () const
-</h3><p>Returns TRUE if there is any text selected; otherwise returns FALSE.
+</h3><p>Returns true if there is any text selected; otherwise returns false.
See the <a href="tqlineedit.html#hasSelectedText-prop">"hasSelectedText"</a> property for details.
<h3 class=fn>void <a name="home"></a>TQLineEdit::home ( bool&nbsp;mark )
</h3>
Moves the text cursor to the beginning of the line unless it is
-already there. If <em>mark</em> is TRUE, text is selected towards the
+already there. If <em>mark</em> is true, text is selected towards the
first position; otherwise, any selected text is unselected if the
cursor is moved.
<p> <p>See also <a href="#end">end</a>().
@@ -386,16 +386,16 @@ result. If it is valid, it sets it as the new contents of the line
edit.
<h3 class=fn>bool <a name="isModified"></a>TQLineEdit::isModified () const
-</h3><p>Returns TRUE if the line edit's contents has been modified by the user; otherwise returns FALSE.
+</h3><p>Returns true if the line edit's contents has been modified by the user; otherwise returns false.
See the <a href="tqlineedit.html#modified-prop">"modified"</a> property for details.
<h3 class=fn>bool <a name="isReadOnly"></a>TQLineEdit::isReadOnly () const
-</h3><p>Returns TRUE if the line edit is read only; otherwise returns FALSE.
+</h3><p>Returns true if the line edit is read only; otherwise returns false.
See the <a href="tqlineedit.html#readOnly-prop">"readOnly"</a> property for details.
<h3 class=fn>bool <a name="isRedoAvailable"></a>TQLineEdit::isRedoAvailable () const
-</h3><p>Returns TRUE if redo is available; otherwise returns FALSE.
+</h3><p>Returns true if redo is available; otherwise returns false.
See the <a href="tqlineedit.html#redoAvailable-prop">"redoAvailable"</a> property for details.
<h3 class=fn>bool <a name="isUndoAvailable"></a>TQLineEdit::isUndoAvailable () const
-</h3><p>Returns TRUE if undo is available; otherwise returns FALSE.
+</h3><p>Returns true if undo is available; otherwise returns false.
See the <a href="tqlineedit.html#undoAvailable-prop">"undoAvailable"</a> property for details.
<h3 class=fn>void <a name="keyPressEvent"></a>TQLineEdit::keyPressEvent ( <a href="tqkeyevent.html">TQKeyEvent</a>&nbsp;*&nbsp;e )<tt> [virtual protected]</tt>
</h3>
@@ -602,8 +602,8 @@ frame.
<p>Set this property's value with <a href="#setFrame">setFrame</a>() and get this property's value with <a href="#frame">frame</a>().
<h3 class=fn>bool <a name="hasSelectedText-prop"></a>hasSelectedText</h3>
<p>This property holds whether there is any text selected.
-<p>hasSelectedText() returns TRUE if some or all of the text has been
-selected by the user; otherwise returns FALSE.
+<p>hasSelectedText() returns true if some or all of the text has been
+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>().
@@ -668,16 +668,16 @@ string length.
<h3 class=fn>bool <a name="modified-prop"></a>modified</h3>
<p>This property holds whether the line edit's contents has been modified by the user.
<p>The modified flag is never read by TQLineEdit; it has a default value
-of FALSE and is changed to TRUE whenever the user changes the line
+of false and is changed to true whenever the user changes the line
edit's contents.
<p> This is useful for things that need to provide a default value but
do not start out knowing what the default should be (perhaps it
depends on other fields on the form). Start the line edit without
the best default, and when the default is known, if modified()
-returns FALSE (the user hasn't entered any text), insert the
+returns false (the user hasn't entered any text), insert the
default value.
<p> Calling <a href="#clearModified">clearModified</a>() or <a href="#setText">setText</a>() resets the modified flag to
-FALSE.
+false.
<p>Get this property's value with <a href="#isModified">isModified</a>().
<h3 class=fn>bool <a name="readOnly-prop"></a>readOnly</h3>
@@ -704,7 +704,7 @@ but cannot edit it.
<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
-resets the <a href="#modified-prop">modified</a> property to FALSE. The text is not
+resets the <a href="#modified-prop">modified</a> property to false. The text is not
validated when inserted with <a href="#setText">setText</a>().
<p> The text is truncated to <a href="#maxLength">maxLength</a>() length.
<p> <p>See also <a href="#insert">insert</a>().