TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the qglobal shortcut. More...
#include <qglobalshortcut.h>
Public Slots | |
void | setEnabled (bool enabled=true) |
void | setDisabled (bool disabled=true) |
Signals | |
void | activated () |
Public Member Functions | |
QGlobalShortcut (QObject *parent=nullptr) | |
QGlobalShortcut (const QKeySequence &shortcut, QObject *parent=nullptr) | |
~QGlobalShortcut () | |
QKeySequence | shortcut () const |
bool | setShortcut (const QKeySequence &shortcut) |
void | unsetShortcut () |
bool | isEnabled () const |
Properties | |
bool | enabled |
QKeySequence | shortcut |
The class of the qglobal shortcut.
Definition at line 31 of file qglobalshortcut.h.
|
explicit |
Definition at line 101 of file qglobalshortcut.cpp.
References TTK_INIT_PRIVATE.
|
explicit |
Definition at line 107 of file qglobalshortcut.cpp.
References setShortcut().
QGlobalShortcut::~QGlobalShortcut | ( | ) |
Definition at line 113 of file qglobalshortcut.cpp.
References unsetShortcut().
|
signal |
Referenced by QGlobalShortcutPrivate::activateShortcut().
bool QGlobalShortcut::isEnabled | ( | ) | const |
Definition at line 140 of file qglobalshortcut.cpp.
References TTK_D.
Referenced by QGlobalShortcutPrivate::activateShortcut().
|
slot |
Definition at line 152 of file qglobalshortcut.cpp.
References TTK_D.
|
slot |
Definition at line 146 of file qglobalshortcut.cpp.
bool QGlobalShortcut::setShortcut | ( | const QKeySequence & | shortcut | ) |
Definition at line 124 of file qglobalshortcut.cpp.
References TTK_D, and unsetShortcut().
Referenced by QGlobalShortcut().
QKeySequence QGlobalShortcut::shortcut | ( | ) | const |
void QGlobalShortcut::unsetShortcut | ( | ) |
Definition at line 131 of file qglobalshortcut.cpp.
References TTK_D.
Referenced by setShortcut(), and ~QGlobalShortcut().
|
readwrite |
Definition at line 34 of file qglobalshortcut.h.
Referenced by setEnabled().
|
readwrite |
Definition at line 35 of file qglobalshortcut.h.