summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqlineedit.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqlineedit.3qt')
-rw-r--r--doc/man/man3/tqlineedit.3qt46
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/man/man3/tqlineedit.3qt b/doc/man/man3/tqlineedit.3qt
index 49f6f2b68..fa4ffc5bc 100644
--- a/doc/man/man3/tqlineedit.3qt
+++ b/doc/man/man3/tqlineedit.3qt
@@ -313,7 +313,7 @@ You can change the text with setText() or insert(). The text is retrieved with t
.PP
When the text changes the textChanged() signal is emitted; when the Return or Enter key is pressed the returnPressed() signal is emitted. Note that if there is a validator set on the line edit, the returnPressed() signal will only be emitted if the validator returns \fCAcceptable\fR.
.PP
-By default, QLineEdits have a frame as specified by the Windows and Motif style guides; you can turn it off by calling setFrame(FALSE).
+By default, QLineEdits have a frame as specified by the Windows and Motif style guides; you can turn it off by calling setFrame(false).
.PP
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. <center>.nf
.TS
@@ -381,7 +381,7 @@ See also del().
.SH "void QLineEdit::clear ()\fC [virtual slot]\fR"
Clears the contents of the line edit.
.SH "void QLineEdit::clearModified ()"
-Resets the modified flag to FALSE.
+Resets the modified flag to false.
.PP
See also modified.
.SH "void QLineEdit::clearValidator ()\fC [virtual slot]\fR"
@@ -393,11 +393,11 @@ See also cut() and paste().
.SH "QPopupMenu * QLineEdit::createPopupMenu ()\fC [virtual protected]\fR"
This function is called to create the popup menu which is shown when the user clicks on the line edit with the right mouse button. If you want to create a custom popup menu, reimplement this function and return the popup menu you create. The popup menu's ownership is transferred to the caller.
.SH "void QLineEdit::cursorBackward ( bool mark, int steps = 1 )"
-Moves the cursor back \fIsteps\fR characters. If \fImark\fR is TRUE each character moved over is added to the selection; if \fImark\fR is FALSE the selection is cleared.
+Moves the cursor back \fIsteps\fR characters. If \fImark\fR is true each character moved over is added to the selection; if \fImark\fR is false the selection is cleared.
.PP
See also cursorForward().
.SH "void QLineEdit::cursorForward ( bool mark, int steps = 1 )"
-Moves the cursor forward \fIsteps\fR characters. If \fImark\fR is TRUE each character moved over is added to the selection; if \fImark\fR is FALSE the selection is cleared.
+Moves the cursor forward \fIsteps\fR characters. If \fImark\fR is true each character moved over is added to the selection; if \fImark\fR is false the selection is cleared.
.PP
See also cursorBackward().
.SH "void QLineEdit::cursorLeft ( bool mark, int steps = 1 )"
@@ -415,11 +415,11 @@ Use cursorForward() instead.
.PP
See also cursorForward().
.SH "void QLineEdit::cursorWordBackward ( bool mark )"
-Moves the cursor one word backward. If \fImark\fR is TRUE, the word is also selected.
+Moves the cursor one word backward. If \fImark\fR is true, the word is also selected.
.PP
See also cursorWordForward().
.SH "void QLineEdit::cursorWordForward ( bool mark )"
-Moves the cursor one word forward. If \fImark\fR is TRUE, the word is also selected.
+Moves the cursor one word forward. If \fImark\fR is true, the word is also selected.
.PP
See also cursorWordBackward().
.SH "void QLineEdit::cut ()\fC [virtual slot]\fR"
@@ -439,27 +439,27 @@ See also setSelection() and selectAll().
.SH "TQString QLineEdit::displayText () const"
Returns the displayed text. See the "displayText" property for details.
.SH "bool QLineEdit::dragEnabled () const"
-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 "dragEnabled" property for details.
+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 "dragEnabled" property for details.
.SH "EchoMode QLineEdit::echoMode () const"
Returns the line edit's echo mode. See the "echoMode" property for details.
.SH "bool QLineEdit::edited () const"
-Returns TRUE if the line edit has been edited. Use modified instead; otherwise returns FALSE. See the "edited" property for details.
+Returns true if the line edit has been edited. Use modified instead; otherwise returns false. See the "edited" property for details.
.SH "void QLineEdit::end ( bool mark )"
-Moves the text cursor to the end of the line unless it is already there. If \fImark\fR is TRUE, text is selected towards the last position; otherwise, any selected text is unselected if the cursor is moved.
+Moves the text cursor to the end of the line unless it is already there. If \fImark\fR is true, text is selected towards the last position; otherwise, any selected text is unselected if the cursor is moved.
.PP
See also home().
.SH "bool QLineEdit::frame () const"
-Returns TRUE if the line edit draws itself with a frame; otherwise returns FALSE. See the "frame" property for details.
+Returns true if the line edit draws itself with a frame; otherwise returns false. See the "frame" property for details.
.SH "bool QLineEdit::getSelection ( int * start, int * end )"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. use selectedText(), selectionStart()
.SH "bool QLineEdit::hasAcceptableInput () const"
-Returns TRUE if the input satisfies the inputMask and the validator; otherwise returns FALSE. See the "acceptableInput" property for details.
+Returns true if the input satisfies the inputMask and the validator; otherwise returns false. See the "acceptableInput" property for details.
.SH "bool QLineEdit::hasMarkedText () const"
-Returns TRUE if part of the text has been selected by the user. Use hasSelectedText instead; otherwise returns FALSE. See the "hasMarkedText" property for details.
+Returns true if part of the text has been selected by the user. Use hasSelectedText instead; otherwise returns false. See the "hasMarkedText" property for details.
.SH "bool QLineEdit::hasSelectedText () const"
-Returns TRUE if there is any text selected; otherwise returns FALSE. See the "hasSelectedText" property for details.
+Returns true if there is any text selected; otherwise returns false. See the "hasSelectedText" property for details.
.SH "void QLineEdit::home ( bool mark )"
-Moves the text cursor to the beginning of the line unless it is already there. If \fImark\fR is TRUE, text is selected towards the first position; otherwise, any selected text is unselected if the cursor is moved.
+Moves the text cursor to the beginning of the line unless it is already there. If \fImark\fR is true, text is selected towards the first position; otherwise, any selected text is unselected if the cursor is moved.
.PP
See also end().
.SH "TQString QLineEdit::inputMask () const"
@@ -467,13 +467,13 @@ Returns the validation input mask. See the "inputMask" property for details.
.SH "void QLineEdit::insert ( const TQString & newText )\fC [virtual slot]\fR"
Deletes any selected text, inserts \fInewText\fR, and validates the result. If it is valid, it sets it as the new contents of the line edit.
.SH "bool QLineEdit::isModified () const"
-Returns TRUE if the line edit's contents has been modified by the user; otherwise returns FALSE. See the "modified" property for details.
+Returns true if the line edit's contents has been modified by the user; otherwise returns false. See the "modified" property for details.
.SH "bool QLineEdit::isReadOnly () const"
-Returns TRUE if the line edit is read only; otherwise returns FALSE. See the "readOnly" property for details.
+Returns true if the line edit is read only; otherwise returns false. See the "readOnly" property for details.
.SH "bool QLineEdit::isRedoAvailable () const"
-Returns TRUE if redo is available; otherwise returns FALSE. See the "redoAvailable" property for details.
+Returns true if redo is available; otherwise returns false. See the "redoAvailable" property for details.
.SH "bool QLineEdit::isUndoAvailable () const"
-Returns TRUE if undo is available; otherwise returns FALSE. See the "undoAvailable" property for details.
+Returns true if undo is available; otherwise returns false. See the "undoAvailable" property for details.
.SH "void QLineEdit::keyPressEvent ( QKeyEvent * e )\fC [virtual protected]\fR"
Converts key press event \fIe\fR into a line edit action.
.PP
@@ -650,7 +650,7 @@ Get this property's value with hasMarkedText().
.SH "bool hasSelectedText"
This property holds whether there is any text selected.
.PP
-hasSelectedText() returns TRUE if some or all of the text has been selected by the user; otherwise returns FALSE.
+hasSelectedText() returns true if some or all of the text has been selected by the user; otherwise returns false.
.PP
See also selectedText.
.PP
@@ -708,11 +708,11 @@ Set this property's value with setMaxLength() and get this property's value with
.SH "bool modified"
This property holds whether the line edit's contents has been modified by the user.
.PP
-The modified flag is never read by QLineEdit; it has a default value of FALSE and is changed to TRUE whenever the user changes the line edit's contents.
+The modified flag is never read by QLineEdit; it has a default value of false and is changed to true whenever the user changes the line edit's contents.
.PP
-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 default value.
+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 default value.
.PP
-Calling clearModified() or setText() resets the modified flag to FALSE.
+Calling clearModified() or setText() resets the modified flag to false.
.PP
Get this property's value with isModified().
.SH "bool readOnly"
@@ -740,7 +740,7 @@ Get this property's value with selectedText().
.SH "TQString text"
This property holds the line edit's text.
.PP
-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 modified property to FALSE. The text is not validated when inserted with setText().
+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 modified property to false. The text is not validated when inserted with setText().
.PP
The text is truncated to maxLength() length.
.PP