diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-10 19:24:44 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-10 19:57:34 +0900 |
commit | 299bffebcfda81d82e305e1b311a60d6a2d9b5a6 (patch) | |
tree | 424954bbec16e0bc892be6e5d934d38052845aad /lilo-config/kde-qt-common/EditWidget.h | |
parent | 0e015b4cfac4a494f6bda8de8e653c1b35bdf160 (diff) | |
download | tdeadmin-299bffebcfda81d82e305e1b311a60d6a2d9b5a6.tar.gz tdeadmin-299bffebcfda81d82e305e1b311a60d6a2d9b5a6.zip |
Replace usage of obsolete TQLineEdit methods with supported methods
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 6272f7a67624b67aacbdf094214969ea78e58618)
Diffstat (limited to 'lilo-config/kde-qt-common/EditWidget.h')
-rw-r--r-- | lilo-config/kde-qt-common/EditWidget.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lilo-config/kde-qt-common/EditWidget.h b/lilo-config/kde-qt-common/EditWidget.h index 411c907..8d17a12 100644 --- a/lilo-config/kde-qt-common/EditWidget.h +++ b/lilo-config/kde-qt-common/EditWidget.h @@ -60,8 +60,8 @@ public: void paste() { line->paste(); }; void setAlignment(int flag) { line->setAlignment(flag); }; int alignment() const { return line->alignment(); }; - void cursorLeft(bool mark, int steps=1) { line->cursorLeft(mark, steps); }; - void cursorRight(bool mark, int steps=1) { line->cursorRight(mark, steps); }; + void cursorLeft(bool mark, int steps=1) { line->cursorBackward(mark, steps); }; + void cursorRight(bool mark, int steps=1) { line->cursorForward(mark, steps); }; void cursorWordForward(bool mark) { line->cursorWordForward(mark); }; void cursorWordBackward(bool mark) { line->cursorWordBackward(mark); }; void backspace() { line->backspace(); }; @@ -70,8 +70,8 @@ public: void end(bool mark) { line->end(mark); }; void setEdited(bool e) { line->setEdited(e); }; bool edited() const { return line->edited(); }; - bool hasMarkedText() const { return line->hasMarkedText(); }; - TQString markedText() const { return line->markedText(); }; + bool hasMarkedText() const { return line->hasSelectedText(); }; + TQString markedText() const { return line->selectedText(); }; virtual TQSize sizeHint() const; virtual TQSize minimumSizeHint() const; public slots: |