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
@@ -57,6 +57,9 @@ public:
|
||||
//! Adds a global mapping of a key sequence to a replacement native shortcut
|
||||
static void addGlobalMapping(const QKeySequence &shortcut, const NativeShortcut &nativeShortcut);
|
||||
|
||||
//! Checks if global shortcuts are supported by the current platform
|
||||
static bool isPlatformSupported();
|
||||
|
||||
//! Default Constructor
|
||||
explicit QHotkey(QObject *parent = nullptr);
|
||||
//! Constructs a hotkey with a shortcut and optionally registers it
|
||||
|
||||
Reference in New Issue
Block a user