Class used to track and update shortcuts/sequences.
More...
#include <shortcutmanager.hpp>
|
static const std::pair< int,
const char * > | QtKeys [] |
|
Class used to track and update shortcuts/sequences.
CSMPrefs::ShortcutManager::ShortcutManager |
( |
| ) |
|
void CSMPrefs::ShortcutManager::addShortcut |
( |
Shortcut * |
shortcut | ) |
|
The shortcut class will do this automatically.
void CSMPrefs::ShortcutManager::convertFromString |
( |
const std::string & |
data, |
|
|
QKeySequence & |
sequence |
|
) |
| const |
void CSMPrefs::ShortcutManager::convertFromString |
( |
const std::string & |
data, |
|
|
int & |
modifier |
|
) |
| const |
void CSMPrefs::ShortcutManager::convertFromString |
( |
const std::string & |
data, |
|
|
QKeySequence & |
sequence, |
|
|
int & |
modifier |
|
) |
| const |
std::string CSMPrefs::ShortcutManager::convertToString |
( |
const QKeySequence & |
sequence | ) |
const |
std::string CSMPrefs::ShortcutManager::convertToString |
( |
int |
modifier | ) |
const |
std::string CSMPrefs::ShortcutManager::convertToString |
( |
const QKeySequence & |
sequence, |
|
|
int |
modifier |
|
) |
| const |
void CSMPrefs::ShortcutManager::createLookupTables |
( |
| ) |
|
|
private |
bool CSMPrefs::ShortcutManager::getModifier |
( |
const std::string & |
name, |
|
|
int & |
modifier |
|
) |
| const |
bool CSMPrefs::ShortcutManager::getSequence |
( |
const std::string & |
name, |
|
|
QKeySequence & |
sequence |
|
) |
| const |
QString CSMPrefs::ShortcutManager::processToolTip |
( |
const QString & |
toolTip | ) |
const |
Replaces "{sequence-name}" or "{modifier-name}" with the appropriate text.
void CSMPrefs::ShortcutManager::removeShortcut |
( |
Shortcut * |
shortcut | ) |
|
The shortcut class will do this automatically.
void CSMPrefs::ShortcutManager::setModifier |
( |
const std::string & |
name, |
|
|
int |
modifier |
|
) |
| |
void CSMPrefs::ShortcutManager::setSequence |
( |
const std::string & |
name, |
|
|
const QKeySequence & |
sequence |
|
) |
| |
KeyMap CSMPrefs::ShortcutManager::mKeys |
|
private |
NameMap CSMPrefs::ShortcutManager::mNames |
|
private |
const std::pair< int, const char * > CSMPrefs::ShortcutManager::QtKeys |
|
staticprivate |
The documentation for this class was generated from the following files: