summaryrefslogtreecommitdiffstats
path: root/src/widgets/ntqlineedit.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 13:32:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 13:41:33 +0900
commit979f5621d7cb2015eef214b0258dac1d6cd4c742 (patch)
treedab9e0ac7429c6814598a2c92cc683638c34730b /src/widgets/ntqlineedit.h
parent83991febd2b98788a0a018e187de0dfb7d95b500 (diff)
downloadtqt3-979f5621d7cb2015eef214b0258dac1d6cd4c742.tar.gz
tqt3-979f5621d7cb2015eef214b0258dac1d6cd4c742.zip
Drop compatibility code for TQLineEdit
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/widgets/ntqlineedit.h')
-rw-r--r--src/widgets/ntqlineedit.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/widgets/ntqlineedit.h b/src/widgets/ntqlineedit.h
index 18979f8f6..1542acbdd 100644
--- a/src/widgets/ntqlineedit.h
+++ b/src/widgets/ntqlineedit.h
@@ -69,9 +69,7 @@ class Q_EXPORT TQLineEdit : public TQFrame
TQ_PROPERTY( Alignment alignment READ alignment WRITE setAlignment )
TQ_PROPERTY( bool edited READ edited WRITE setEdited DESIGNABLE false )
TQ_PROPERTY( bool modified READ isModified )
- TQ_PROPERTY( bool hasMarkedText READ hasMarkedText DESIGNABLE false )
TQ_PROPERTY( bool hasSelectedText READ hasSelectedText )
- TQ_PROPERTY( TQString markedText READ markedText DESIGNABLE false )
TQ_PROPERTY( TQString selectedText READ selectedText )
TQ_PROPERTY( bool dragEnabled READ dragEnabled WRITE setDragEnabled )
TQ_PROPERTY( bool readOnly READ isReadOnly WRITE setReadOnly )
@@ -109,10 +107,6 @@ public:
int alignment() const;
-#ifndef TQT_NO_COMPAT
- void cursorLeft( bool mark, int steps = 1 ) { cursorForward( mark, -steps ); }
- void cursorRight( bool mark, int steps = 1 ) { cursorForward( mark, steps ); }
-#endif
void cursorForward( bool mark, int steps = 1 );
void cursorBackward( bool mark, int steps = 1 );
void cursorWordForward( bool mark );
@@ -135,11 +129,6 @@ public:
bool isUndoAvailable() const;
bool isRedoAvailable() const;
-#ifndef TQT_NO_COMPAT
- bool hasMarkedText() const { return hasSelectedText(); }
- TQString markedText() const { return selectedText(); }
-#endif
-
bool dragEnabled() const;
TQString inputMask() const;
@@ -202,9 +191,6 @@ protected:
bool sendMouseEventToInputContext( TQMouseEvent *e );
virtual TQPopupMenu *createPopupMenu();
void windowActivationChange( bool );
-#ifndef TQT_NO_COMPAT
- void repaintArea( int, int ) { update(); }
-#endif
private slots:
void clipboardChanged();