6 #ifndef SWIFT_MISC_INPUT_HOTKEYCOMBINATION_H
7 #define SWIFT_MISC_INPUT_HOTKEYCOMBINATION_H
10 #include <QStringList>
22 namespace swift::misc::input
44 QStringList
getKeyStrings()
const {
return m_keyboardKeys.getKeyStrings(); }
77 bool isEmpty()
const {
return m_keyboardKeys.isEmpty() && m_joystickButtons.isEmpty(); }
80 int size()
const {
return m_keyboardKeys.size() + m_joystickButtons.size(); }
90 QString convertToQString(
bool i18n =
false)
const;
93 QString asStringWithDeviceNames()
const;
Mix of the most commonly used mixin classes.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.
#define SWIFT_DECLARE_VALUEOBJECT_MIXINS(Namespace, Class)
Explicit template declaration of mixins for a CValueObject subclass to be placed near the top of the ...