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 --- src/widgets/qlineedit.cpp | 39 +-------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) (limited to 'src/widgets/qlineedit.cpp') diff --git a/src/widgets/qlineedit.cpp b/src/widgets/qlineedit.cpp index b23486831..27f5867c0 100644 --- a/src/widgets/qlineedit.cpp +++ b/src/widgets/qlineedit.cpp @@ -788,23 +788,6 @@ void TQLineEdit::setAlignment( int flag ) } -/*! - \obsolete - \fn void TQLineEdit::cursorRight( bool, int ) - - Use cursorForward() instead. - - \sa cursorForward() -*/ - -/*! - \obsolete - \fn void TQLineEdit::cursorLeft( bool, int ) - For compatibilty with older applications only. Use cursorBackward() - instead. - \sa cursorBackward() -*/ - /*! Moves the cursor forward \a steps characters. If \a mark is TRUE each character moved over is added to the selection; if \a mark is @@ -979,12 +962,6 @@ void TQLineEdit::clearModified() bool TQLineEdit::edited() const { return d->modified; } void TQLineEdit::setEdited( bool on ) { d->modified = on; } -/*! - \obsolete - \property TQLineEdit::hasMarkedText - \brief whether part of the text has been selected by the user. Use hasSelectedText instead. -*/ - /*! \property TQLineEdit::hasSelectedText \brief whether there is any text selected @@ -1001,12 +978,6 @@ bool TQLineEdit::hasSelectedText() const return d->hasSelectedText(); } -/*! - \obsolete - \property TQLineEdit::markedText - \brief the text selected by the user. Use selectedText instead. -*/ - /*! \property TQLineEdit::selectedText \brief the selected text @@ -2319,15 +2290,7 @@ void TQLineEdit::setPalette( const TQPalette & p ) update(); } -/*! - \obsolete - \fn void TQLineEdit::repaintArea( int from, int to ) - Repaints all characters from \a from to \a to. If cursorPos is - between from and to, ensures that cursorPos is visible. -*/ - -/*! \reimp - */ +/*! \reimp */ void TQLineEdit::setFont( const TQFont & f ) { TQWidget::setFont( f ); -- cgit v1.2.3