summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:47:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:47:57 +0300
commitb226f23946987a649fb50bc6d9df2dd8afa7ade1 (patch)
tree25dc0c5e10d9db78d1eb463b3c98070ccc89a8bb /src/gui/widgets/textfield.h
parent1a9ffd99f2b199501bf0f23e368bcd91d05fd277 (diff)
downloadplus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.gz
plus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.bz2
plus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.xz
plus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.zip
Add const attribute to gui classes.
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r--src/gui/widgets/textfield.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index 6e77b5e1a..958c1b5f7 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -174,9 +174,13 @@ class TextField notfinal : public Widget,
void handleCopy() const;
+#ifdef ANDROID
void focusGained(const Event &event) override final;
+#else
+ void focusGained(const Event &event) override final A_CONST;
+#endif
- void focusLost(const Event &event) override;
+ void focusLost(const Event &event) override A_CONST;
void moveCaretBack();