mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #453 Simplify hotkey action registration and relaying
This commit is contained in:
committed by
Mathew Sutcliffe
parent
199a1e5fcb
commit
6644c73703
@@ -31,6 +31,12 @@ namespace BlackCore
|
||||
//! \copydoc IContextApplication::changeSettings
|
||||
virtual void changeSettings(const BlackMisc::CVariantMap &settings, const BlackMisc::CIdentifier &origin) override;
|
||||
|
||||
//! \copydoc IContextApplication::registerHotkeyActions
|
||||
virtual void registerHotkeyActions(const QStringList &actions, const BlackMisc::CIdentifier &origin) override;
|
||||
|
||||
//! \copydoc IContextApplication::callHotkeyAction
|
||||
virtual void callHotkeyAction(const QString &action, bool argument, const BlackMisc::CIdentifier &origin) override;
|
||||
|
||||
//! \copydoc IContextApplication::registerApplication
|
||||
virtual BlackMisc::CIdentifier registerApplication(const BlackMisc::CIdentifier &application) override;
|
||||
|
||||
@@ -52,9 +58,6 @@ namespace BlackCore
|
||||
//! \copydoc IContextApplication::existsFile
|
||||
virtual bool existsFile(const QString &fileName) const override;
|
||||
|
||||
//! \copydoc IContextApplication::processHotkeyFuncEvent
|
||||
virtual void processHotkeyFuncEvent(const BlackMisc::Event::CEventHotkeyFunction &event) override;
|
||||
|
||||
public:
|
||||
//! \todo Remove with old settings
|
||||
using IContextApplication::changeSettings;
|
||||
|
||||
Reference in New Issue
Block a user