summaryrefslogtreecommitdiffstats
path: root/lilo-config
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-10 19:24:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-10 19:24:44 +0900
commit6272f7a67624b67aacbdf094214969ea78e58618 (patch)
tree0bb2e31d5ef55fb77a8932f0bbf27a5817cd6cf7 /lilo-config
parent9d83393cc1a0de6c66a9ecd37716d4160843e5cd (diff)
downloadtdeadmin-6272f7a67624b67aacbdf094214969ea78e58618.tar.gz
tdeadmin-6272f7a67624b67aacbdf094214969ea78e58618.zip
Replace usage of obsolete TQLineEdit methods with supported methods
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lilo-config')
-rw-r--r--lilo-config/kde-qt-common/EditWidget.h8
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: