summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-17 20:03:14 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-17 20:03:14 +0300
commit55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d (patch)
treeb1108bef76eed589fcb0028c4bd97f14510e940f /src/gui/widgets/textfield.h
parent72b9b0b8b7f3e0b60bf7a926b44aaa589dd131e8 (diff)
downloadmanaplus-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.gz
manaplus-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.bz2
manaplus-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.xz
manaplus-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.zip
Remove override keyword, if it present with final.
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r--src/gui/widgets/textfield.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index 89606d27c..19bfca820 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -119,9 +119,9 @@ class TextField notfinal : public Widget,
/**
* Draws the background and border.
*/
- void drawFrame(Graphics *const graphics) override final A_NONNULL(2);
+ void drawFrame(Graphics *const graphics) final A_NONNULL(2);
- void safeDrawFrame(Graphics *const graphics) override final
+ void safeDrawFrame(Graphics *const graphics) final
A_NONNULL(2);
/**
@@ -170,16 +170,16 @@ class TextField notfinal : public Widget,
void setCaretPosition(unsigned int position);
- void mousePressed(MouseEvent &event) override final;
+ void mousePressed(MouseEvent &event) final;
void handlePaste();
void handleCopy() const;
#ifdef ANDROID
- void focusGained(const Event &event) override final;
+ void focusGained(const Event &event) final;
#else
- void focusGained(const Event &event) override final A_CONST;
+ void focusGained(const Event &event) final A_CONST;
#endif
void focusLost(const Event &event) override A_CONST;
@@ -231,13 +231,13 @@ class TextField notfinal : public Widget,
unsigned int getCaretPosition() const
{ return mCaretPosition; }
- void mouseDragged(MouseEvent& event) override final;
+ void mouseDragged(MouseEvent& event) final;
- void widgetHidden(const Event &event) override final;
+ void widgetHidden(const Event &event) final;
- void setParent(Widget *widget) override final;
+ void setParent(Widget *widget) final;
- void setWindow(Widget *const widget) override final;
+ void setWindow(Widget *const widget) final;
protected:
void drawCaret(Graphics* graphics, int x) A_NONNULL(2);