From 979f5621d7cb2015eef214b0258dac1d6cd4c742 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 11 Jul 2023 13:32:20 +0900 Subject: Drop compatibility code for TQLineEdit Signed-off-by: Michele Calgaro --- doc/man/man3/tqlineedit.3qt | 53 --------------------------------------------- 1 file changed, 53 deletions(-) (limited to 'doc/man/man3') diff --git a/doc/man/man3/tqlineedit.3qt b/doc/man/man3/tqlineedit.3qt index 0e4f64b3d..6c7e2320e 100644 --- a/doc/man/man3/tqlineedit.3qt +++ b/doc/man/man3/tqlineedit.3qt @@ -67,12 +67,6 @@ Inherits QFrame. .BI "int \fBalignment\fR () const" .br .ti -1c -.BI "void cursorLeft ( bool mark, int steps = 1 ) \fI(obsolete)\fR" -.br -.ti -1c -.BI "void cursorRight ( bool mark, int steps = 1 ) \fI(obsolete)\fR" -.br -.ti -1c .BI "void \fBcursorForward\fR ( bool mark, int steps = 1 )" .br .ti -1c @@ -124,12 +118,6 @@ Inherits QFrame. .BI "bool \fBisRedoAvailable\fR () const" .br .ti -1c -.BI "bool hasMarkedText () const \fI(obsolete)\fR" -.br -.ti -1c -.BI "QString markedText () const \fI(obsolete)\fR" -.br -.ti -1c .BI "bool \fBdragEnabled\fR () const" .br .ti -1c @@ -253,18 +241,12 @@ Inherits QFrame. .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" .br .ti -1c @@ -294,9 +276,6 @@ Inherits QFrame. .ti -1c .BI "virtual QPopupMenu * \fBcreatePopupMenu\fR ()" .br -.ti -1c -.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. .PP See also cursorBackward(). -.SH "void QLineEdit::cursorLeft ( bool mark, int steps = 1 )" -\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.PP -For compatibilty with older applications only. Use cursorBackward() instead. -.PP -See also cursorBackward(). .SH "int QLineEdit::cursorPosition () const" Returns the current cursor position for this line edit. See the "cursorPosition" property for details. -.SH "void QLineEdit::cursorRight ( bool mark, int steps = 1 )" -\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. .SH "QSize QLineEdit::minimumSizeHint () const\fC [virtual]\fR" @@ -504,10 +467,6 @@ If the end result would not be acceptable to the current validator, nothing happ See also copy() and cut(). .SH "void QLineEdit::redo ()\fC [virtual slot]\fR" Redoes the last operation if redo is available. -.SH "void QLineEdit::repaintArea ( int from, int to )\fC [protected]\fR" -\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.PP -Repaints all characters from \fIfrom\fR to \fIto\fR. If cursorPos is between from and to, ensures that cursorPos is visible. .SH "void QLineEdit::returnPressed ()\fC [signal]\fR" 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. .PP -- cgit v1.2.1