mirror of
https://github.com/Skycoder42/QHotkey.git
synced 2026-11-19 12:49:58 +03:00
Add isPlatformSupported() (#28)
* Add isPlatformSupported() * Remove extra semicolons * Add newlines before new methods
This commit is contained in:
committed by
Felix Barz
parent
96a0710e1b
commit
9583eafe76
@@ -16,6 +16,11 @@ void QHotkey::addGlobalMapping(const QKeySequence &shortcut, const QHotkey::Nati
|
||||
Q_ARG(QHotkey::NativeShortcut, nativeShortcut));
|
||||
}
|
||||
|
||||
bool QHotkey::isPlatformSupported()
|
||||
{
|
||||
return QHotkeyPrivate::isPlatformSupported();
|
||||
}
|
||||
|
||||
QHotkey::QHotkey(QObject *parent) :
|
||||
QObject(parent),
|
||||
_keyCode(Qt::Key_unknown),
|
||||
|
||||
Reference in New Issue
Block a user