#include <shortcut.h>
Collaboration diagram for Shortcut:
Public Member Functions | |
Shortcut (unsigned long modMask, KeyCode keyCode, Shortcut *next, unsigned int button=0) | |
~Shortcut () | |
KeyCode | keyCode () |
void | setKeyCode (KeyCode keyCode) |
unsigned long | modMask () const |
void | setModMask (unsigned long modMask) |
unsigned int | button () const |
Shortcut * | next () const |
void | setNext (Shortcut *next) |
Static Public Member Functions | |
static Shortcut * | shortcut (string keys) |
Private Attributes | |
Shortcut * | next_ |
KeyCode | keyCode_ |
unsigned long | modMask_ |
unsigned int | button_ |
Definition at line 20 of file shortcut.h.
Shortcut::Shortcut | ( | unsigned long | modMask, | |
KeyCode | keyCode, | |||
Shortcut * | next, | |||
unsigned int | button = 0 | |||
) |
Definition at line 12 of file shortcut.cpp.
References button_, keyCode_, modMask_, next(), and next_.
Referenced by shortcut().
Here is the call graph for this function:
Shortcut::~Shortcut | ( | ) |
KeyCode Shortcut::keyCode | ( | ) |
Definition at line 77 of file shortcut.cpp.
References keyCode_.
Referenced by Kernel::bindShortcut(), Binder::grabShortcut(), Binder::handleShortcutChains(), Binder::prettyPrintKeyBindings(), and Binder::ungrabShortcut().
void Shortcut::setKeyCode | ( | KeyCode | keyCode | ) |
Definition at line 97 of file shortcut.cpp.
References keyCode_.
Referenced by Binder::handleShortcutChains().
unsigned long Shortcut::modMask | ( | ) | const |
Definition at line 81 of file shortcut.cpp.
References modMask_.
Referenced by Kernel::bindShortcut(), Binder::grabShortcut(), Binder::handleShortcutChains(), Binder::prettyPrintKeyBindings(), and Binder::ungrabShortcut().
void Shortcut::setModMask | ( | unsigned long | modMask | ) |
Definition at line 101 of file shortcut.cpp.
References modMask_.
Referenced by Binder::handleShortcutChains().
unsigned int Shortcut::button | ( | ) | const |
Definition at line 85 of file shortcut.cpp.
References button_.
Referenced by Kernel::bindShortcut(), Binder::grabShortcut(), Binder::prettyPrintKeyBindings(), shortcut(), and Binder::ungrabShortcut().
Shortcut * Shortcut::next | ( | ) | const |
Definition at line 89 of file shortcut.cpp.
References next_.
Referenced by Binder::handleShortcutChains(), Binder::prettyPrintKeyBindings(), setNext(), and Shortcut().
void Shortcut::setNext | ( | Shortcut * | next | ) |
Definition at line 93 of file shortcut.cpp.
Referenced by shortcut().
Here is the call graph for this function:
Shortcut * Shortcut::shortcut | ( | string | keys | ) | [static] |
Definition at line 28 of file shortcut.cpp.
References button(), Util::buttonForString(), Util::lastToken(), LOGDEBUG, Util::modMaskForString(), setNext(), Shortcut(), Util::truncate(), and XCORE.
Referenced by Kernel::bindShortcut(), and Kernel::initActionBindings().
Here is the call graph for this function:
Shortcut* Shortcut::next_ [private] |
Definition at line 44 of file shortcut.h.
Referenced by next(), setNext(), Shortcut(), and ~Shortcut().
KeyCode Shortcut::keyCode_ [private] |
unsigned long Shortcut::modMask_ [private] |
unsigned int Shortcut::button_ [private] |