#include <kis_abstract_shortcut.h>
|
| bool | compareKeys (const QSet< Qt::Key > &keys1, const QSet< Qt::Key > &keys2) |
| |
Definition at line 12 of file kis_abstract_shortcut.cpp.
◆ KisAbstractShortcut()
◆ ~KisAbstractShortcut()
| KisAbstractShortcut::~KisAbstractShortcut |
( |
| ) |
|
|
virtual |
◆ action()
The action associated with this shortcut.
◆ compareKeys()
| bool KisAbstractShortcut::compareKeys |
( |
const QSet< Qt::Key > & | keys1, |
|
|
const QSet< Qt::Key > & | keys2 ) |
|
protected |
Definition at line 46 of file kis_abstract_shortcut.cpp.
48{
49 if (keys1.size() != keys2.size()) return false;
50
51 Q_FOREACH (Qt::Key key, keys1) {
52 if (!keys2.contains(key)) return false;
53 }
54 return true;
55}
◆ isAvailable()
| bool KisAbstractShortcut::isAvailable |
( |
KisInputActionGroupsMask | mask | ) |
const |
◆ priority()
| virtual int KisAbstractShortcut::priority |
( |
| ) |
const |
|
pure virtual |
◆ setAction()
◆ shortcutIndex()
| int KisAbstractShortcut::shortcutIndex |
( |
| ) |
const |
◆ action
◆ m_d
| Private* const KisAbstractShortcut::m_d |
|
private |
◆ shortcutIndex
| int KisAbstractShortcut::shortcutIndex |
The documentation for this class was generated from the following files: