summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:15:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:15:03 +0300
commit67a349cefcb72c7770b98bf645a7eca35695bb2b (patch)
tree07dbd166893ef783e56e361ed5be7559fef7a2a4 /src/gui/widgets/textfield.h
parent7d57a3aaa1fec1f28fa8c65e6e5ca56b97871cc2 (diff)
downloadmv-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.gz
mv-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.bz2
mv-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.xz
mv-67a349cefcb72c7770b98bf645a7eca35695bb2b.zip
add final keyword to widgets files.
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r--src/gui/widgets/textfield.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index cbbe51562..70a722e53 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -69,7 +69,7 @@ class TextField : public gcn::TextField,
/**
* Draws the background and border.
*/
- void drawFrame(gcn::Graphics *graphics) override;
+ void drawFrame(gcn::Graphics *graphics) override final;
/**
* Determine whether the field should be numeric or not
@@ -116,18 +116,18 @@ class TextField : public gcn::TextField,
void setCaretPosition(unsigned int position);
- void mousePressed(gcn::MouseEvent &mouseEvent) override;
+ void mousePressed(gcn::MouseEvent &mouseEvent) override final;
void handlePaste();
void handleCopy() const;
- void focusGained(const gcn::Event &event) override;
+ void focusGained(const gcn::Event &event) override final;
void focusLost(const gcn::Event &event) override;
protected:
- void drawCaret(gcn::Graphics* graphics, int x) override;
+ void drawCaret(gcn::Graphics* graphics, int x) override final;
void fixScroll();