Definition at line 57 of file qshortcut.h.
#include <qshortcut.h>

Signals |
|
| void | activated () |
| void | activatedAmbiguously () |
Public Member Functions |
|
| QShortcut (QWidget *parent) | |
| QShortcut (const QKeySequence &key, QWidget *parent, const char *member=0, const char *ambiguousMember=0, Qt::ShortcutContext context=Qt::WindowShortcut) | |
| ~QShortcut () | |
| void | setKey (const QKeySequence &key) |
| QKeySequence | key () const |
| void | setEnabled (bool enable) |
| bool | isEnabled () const |
| void | setContext (Qt::ShortcutContext context) |
| Qt::ShortcutContext | context () |
| void | setWhatsThis (const QString &text) |
| QString | whatsThis () const |
| void | setAutoRepeat (bool on) |
| bool | autoRepeat () const |
| int | id () const |
| QWidget * | parentWidget () const |
Protected Member Functions |
|
| bool | event (QEvent *e) |
Properties |
|
| QKeySequence | key |
| QString | whatsThis |
| bool | enabled |
| bool | autoRepeat |
| Qt::ShortcutContext | context |
| QShortcut | ( | const QKeySequence & | key, |
| QWidget * | parent, | ||
| const char * | member = 0, |
||
| const char * | ambiguousMember =
0, |
||
| Qt::ShortcutContext | context =
Qt::WindowShortcut |
||
| ) |
| ~QShortcut | ( | ) |
| void setKey | ( | const QKeySequence & | key | ) |
| QKeySequence key | ( | ) | const |
| void setEnabled | ( | bool | enable | ) |
| bool isEnabled | ( | ) | const |
| void setContext | ( | Qt::ShortcutContext | context | ) |
| Qt::ShortcutContext context | ( | ) |
| void setWhatsThis | ( | const QString & | text | ) |
| QString whatsThis | ( | ) | const |
| void setAutoRepeat | ( | bool | on | ) |
| bool autoRepeat | ( | ) | const |
| int id | ( | ) | const |
| QWidget* parentWidget | ( | ) | const [inline] |
Definition at line 90 of file qshortcut.h.
{ return static_cast<QWidget *>(QObject::parent()); }
| void activated | ( | ) | [signal] |
| void activatedAmbiguously | ( | ) | [signal] |
QKeySequence key [read,
write] |
Definition at line 61 of file qshortcut.h.
QString whatsThis [read,
write] |
Definition at line 62 of file qshortcut.h.
bool enabled [read, write] |
Definition at line 63 of file qshortcut.h.
bool autoRepeat [read, write] |
Definition at line 64 of file qshortcut.h.
Qt::ShortcutContext
context [read, write] |
Definition at line 65 of file qshortcut.h.