Replace usage of obsolete TQLineEdit methods with supported methods

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/13/head
Michele Calgaro 1 year ago
parent 9d83393cc1
commit 6272f7a676
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -60,8 +60,8 @@ public:
void paste() { line->paste(); }; void paste() { line->paste(); };
void setAlignment(int flag) { line->setAlignment(flag); }; void setAlignment(int flag) { line->setAlignment(flag); };
int alignment() const { return line->alignment(); }; int alignment() const { return line->alignment(); };
void cursorLeft(bool mark, int steps=1) { line->cursorLeft(mark, steps); }; void cursorLeft(bool mark, int steps=1) { line->cursorBackward(mark, steps); };
void cursorRight(bool mark, int steps=1) { line->cursorRight(mark, steps); }; void cursorRight(bool mark, int steps=1) { line->cursorForward(mark, steps); };
void cursorWordForward(bool mark) { line->cursorWordForward(mark); }; void cursorWordForward(bool mark) { line->cursorWordForward(mark); };
void cursorWordBackward(bool mark) { line->cursorWordBackward(mark); }; void cursorWordBackward(bool mark) { line->cursorWordBackward(mark); };
void backspace() { line->backspace(); }; void backspace() { line->backspace(); };
@ -70,8 +70,8 @@ public:
void end(bool mark) { line->end(mark); }; void end(bool mark) { line->end(mark); };
void setEdited(bool e) { line->setEdited(e); }; void setEdited(bool e) { line->setEdited(e); };
bool edited() const { return line->edited(); }; bool edited() const { return line->edited(); };
bool hasMarkedText() const { return line->hasMarkedText(); }; bool hasMarkedText() const { return line->hasSelectedText(); };
TQString markedText() const { return line->markedText(); }; TQString markedText() const { return line->selectedText(); };
virtual TQSize sizeHint() const; virtual TQSize sizeHint() const;
virtual TQSize minimumSizeHint() const; virtual TQSize minimumSizeHint() const;
public slots: public slots:

Loading…
Cancel
Save