<liclass=fn>EchoMode <ahref="#echoMode-prop"><b>echoMode</b></a> - the line edit's echo mode</li>
<liclass=fn>bool edited - whether the line edit has been edited. Use modified instead <em>(obsolete)</em></li>
<liclass=fn>bool <ahref="#frame-prop"><b>frame</b></a> - whether the line edit draws itself with a frame</li>
<liclass=fn>bool hasMarkedText - whether part of the text has been selected by the user. Use hasSelectedText instead <em>(read only)</em> <em>(obsolete)</em></li>
<liclass=fn>bool <ahref="#hasSelectedText-prop"><b>hasSelectedText</b></a> - whether there is any text selected <em>(read only)</em></li>
<liclass=fn>TQString <ahref="#inputMask-prop"><b>inputMask</b></a> - the validation input mask</li>
<liclass=fn>TQString markedText - the text selected by the user. Use selectedText instead <em>(read only)</em> <em>(obsolete)</em></li>
<liclass=fn>int <ahref="#maxLength-prop"><b>maxLength</b></a> - the maximum permitted length of the text</li>
<liclass=fn>bool <ahref="#modified-prop"><b>modified</b></a> - whether the line edit's contents has been modified by the user <em>(read only)</em></li>
<liclass=fn>bool <ahref="#readOnly-prop"><b>readOnly</b></a> - whether the line edit is read only</li>
</h3><p>Returns TRUE if there is any text selected; otherwise returns FALSE.
See the <ahref="ntqlineedit.html#hasSelectedText-prop">"hasSelectedText"</a> property for details.
@ -439,9 +414,6 @@ validator), the signal <a href="#returnPressed">returnPressed</a>() is emitted.
<p> This signal is emitted when the line edit has lost focus.
<p><p>See also <ahref="ntqwidget.html#focus-prop">focus</a>, <ahref="ntqwidget.html#focusInEvent">TQWidget::focusInEvent</a>(), and <ahref="ntqwidget.html#focusOutEvent">TQWidget::focusOutEvent</a>().
<li><ahref="ntqfontdatabase.html#weight">TQFontDatabase::weight</a>( const TQString & family, const TQString & style, const TQString & ) const
<p>Set this property's value with <a href="ntqlineedit.html#setFrame">setFrame</a>() and get this property's value with <a href="ntqlineedit.html#frame">frame</a>().
</doc>
</property>
<property>
<name>QLineEdit::hasMarkedText</name>
<doc href="ntqlineedit.html#hasMarkedText-prop">
<b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
<p> <p>This property holds whether part of the text has been selected by the user. Use hasSelectedText instead.
<p>
<p>Get this property's value with <a href="ntqlineedit.html#hasMarkedText">hasMarkedText</a>().
@ -2183,15 +2174,6 @@ with <a href="ntqlineedit.html#setValidator">validators</a>.
<p>Set this property's value with <a href="ntqlineedit.html#setInputMask">setInputMask</a>() and get this property's value with <a href="ntqlineedit.html#inputMask">inputMask</a>().
</doc>
</property>
<property>
<name>QLineEdit::markedText</name>
<doc href="ntqlineedit.html#markedText-prop">
<b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
<p> <p>This property holds the text selected by the user. Use selectedText instead.
<p>
<p>Get this property's value with <a href="ntqlineedit.html#markedText">markedText</a>().
.BI "bool \fBframe\fR - whether the line edit draws itself with a frame"
.br
.ti -1c
.BI "bool hasMarkedText - whether part of the text has been selected by the user. Use hasSelectedText instead \fI(read " "only" ")\fR \fI(obsolete)\fR"
.br
.ti -1c
.BI "bool \fBhasSelectedText\fR - whether there is any text selected \fI(read " "only" ")\fR"
.br
.ti -1c
.BI "QString \fBinputMask\fR - the validation input mask"
.br
.ti -1c
.BI "QString markedText - the text selected by the user. Use selectedText instead \fI(read " "only" ")\fR \fI(obsolete)\fR"
.br
.ti -1c
.BI "int \fBmaxLength\fR - the maximum permitted length of the text"
.BI "void repaintArea ( int from, int to ) \fI(obsolete)\fR"
.br
.in -1c
.SH DESCRIPTION
The QLineEdit widget is a one-line text editor.
@ -400,20 +379,8 @@ See also cursorForward().
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.
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
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.
.PP
@ -454,8 +421,6 @@ Returns TRUE if the line edit draws itself with a frame; otherwise returns FALSE
\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.
.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.
.SH "bool QLineEdit::hasSelectedText () const"
Returns TRUE if there is any text selected; otherwise returns FALSE. See the "hasSelectedText" property for details.
.SH "void QLineEdit::home ( bool mark )"
@ -486,8 +451,6 @@ Reimplemented from QWidget.
This signal is emitted when the line edit has lost focus.
.PP
See also focus, QWidget::focusInEvent(), and QWidget::focusOutEvent().
.SH "QString QLineEdit::markedText () const"
Returns the text selected by the user. Use selectedText instead. See the "markedText" property for details.
.SH "int QLineEdit::maxLength () const"
Returns the maximum permitted length of the text. See the "maxLength" property for details.
This signal is emitted when the Return or Enter key is pressed. Note that if there is a validator() or inputMask() set on the line edit, the returnPressed() signal will only be emitted if the input follows the inputMask() and the validator() returns \fCAcceptable\fR.
.PP
@ -641,12 +600,6 @@ This property holds whether the line edit draws itself with a frame.
If enabled (the default) the line edit draws itself inside a two-pixel frame, otherwise the line edit draws itself without any frame.
.PP
Set this property's value with setFrame() and get this property's value with frame().
.SH "bool hasMarkedText"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
This property holds whether part of the text has been selected by the user. Use hasSelectedText instead.
.PP
Get this property's value with hasMarkedText().
.SH "bool hasSelectedText"
This property holds whether there is any text selected.
.PP
@ -687,12 +640,6 @@ To get range control (e.g. for an IP address) use masks together with validators
See also maxLength.
.PP
Set this property's value with setInputMask() and get this property's value with inputMask().
.SH "QString markedText"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
This property holds the text selected by the user. Use selectedText instead.
.PP
Get this property's value with markedText().
.SH "int maxLength"
This property holds the maximum permitted length of the text.