From 819f6afb17aeda9e8e50682d92d921f7fd763dfe Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 20 Mar 2019 22:48:21 +0100 Subject: [PATCH] CKeyboardInput: clean up: remove keyword 'virtual' Is not required, no sub classes --- src/gui/widget/keyboard_input.h | 38 ++++++++++++++++----------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/gui/widget/keyboard_input.h b/src/gui/widget/keyboard_input.h index b1d8f6ed3..7a6ca2d82 100644 --- a/src/gui/widget/keyboard_input.h +++ b/src/gui/widget/keyboard_input.h @@ -106,27 +106,27 @@ class CKeyboardInput : public CMenuTarget, public sigc::trackable void keyDigiPressed(const neutrino_msg_t key); - virtual void init(); + void init(); - virtual void paint(); - virtual int paintFooter(bool show = true); - virtual void paintChar(int pos, std::string &c); - virtual void paintChar(int pos); - virtual void paintKeyboard(); - virtual void paintKey(int row, int column); + void paint(); + int paintFooter(bool show = true); + void paintChar(int pos, std::string &c); + void paintChar(int pos); + void paintKeyboard(); + void paintKey(int row, int column); - virtual void NormalKeyPressed(); - virtual void clearString(); - virtual void switchCaps(); - virtual void keyUpPressed(); - virtual void keyDownPressed(); - virtual void keyLeftPressed(); - virtual void keyRightPressed(); - virtual void insertChar(); - virtual void deleteChar(); - virtual void keyBackspacePressed(); - virtual void switchLayout(); - virtual void setLayout(); + void NormalKeyPressed(); + void clearString(); + void switchCaps(); + void keyUpPressed(); + void keyDownPressed(); + void keyLeftPressed(); + void keyRightPressed(); + void insertChar(); + void deleteChar(); + void keyBackspacePressed(); + void switchLayout(); + void setLayout(); public: CKeyboardInput(const neutrino_locale_t Name, std::string* Value, int Size = 0, CChangeObserver* Observ = NULL, const char * const Icon = NULL, const neutrino_locale_t Hint_1 = NONEXISTANT_LOCALE, const neutrino_locale_t Hint_2 = NONEXISTANT_LOCALE);