33#ifndef TTA_KEYBOARD_SHORTCUT_HH
34#define TTA_KEYBOARD_SHORTCUT_HH
75 std::string
action()
const;
bool equals(const KeyboardShortcut &sc) const
bool alt_
True if Alt button is used in the key combination.
static const std::string OSKEY_KEY
ObjectState attribute key for normal letter or number key.
KeyboardShortcut & operator=(const KeyboardShortcut)
Assigment forbidden.
bool ctrl_
True if Ctrl button is used in the key combination.
static const std::string OSKEY_ALT
ObjectState attribute key for alt key.
int fKey_
Number of the function key if it is used, 0 otherwise.
void loadState(const ObjectState *state)
std::string action() const
static const std::string OSKEY_FKEY
ObjectState attribute key for function key number.
static const std::string OSKEY_ACTION
ObjectState attribute key for action name.
static const std::string OSKEY_CTRL
ObjectState attribute key for ctrl key.
ObjectState * saveState() const
virtual ~KeyboardShortcut()
std::string action_
Name of the action which is performed by the key combination.
static const std::string OSNAME_KEYBOARD_SHORTCUT
ObjectState name for keyboard shortcut.