Refactor sendKeyboard functions to new funcs, propogate constness

The sendKeyboardBackspace function was used with a non-const parameter
throughout the entire inheritance hierachy. Const has been added to
every parameter for the reasons you add const.
This commit is contained in:
Vasily
2019-01-12 19:14:56 +01:00
parent 73f9766de7
commit faa6ccc580
7 changed files with 49 additions and 31 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ public:
virtual void sendKeyboardInput( QString input ) = 0;
virtual void sendKeyboardEnter() = 0;
virtual void sendKeyboardBackspace( int count ) = 0;
virtual void sendKeyboardBackspace( const int count ) = 0;
virtual void sendKeyboardAltTab() = 0;
};