Function for getKeyStrings() and replace without key (just adding)

This commit is contained in:
Klaus Basan
2019-02-17 22:43:32 +01:00
committed by Mat Sutcliffe
parent 94b53cef6c
commit 21acef505c
4 changed files with 23 additions and 3 deletions

View File

@@ -21,7 +21,7 @@
#include "blackmisc/valueobject.h"
#include <QMetaType>
#include <QString>
#include <QStringList>
namespace BlackMisc
{
@@ -46,6 +46,9 @@ namespace BlackMisc
//! Get keyboard keys
CKeyboardKeyList getKeyboardKeys() const { return m_keyboardKeys; }
//! As keyboard key strings
QStringList getKeyStrings() const { return m_keyboardKeys.getKeyStrings(); }
//! Set joystick buttons
void setJoystickButtons(const CJoystickButtonList &list) { m_joystickButtons = list; }