mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
Reload hotkey settings when they have changed
This also includes changing the registration refs #83
This commit is contained in:
@@ -6,10 +6,14 @@
|
||||
#ifndef BLACKCORE_CONTEXTSETTINGS_H
|
||||
#define BLACKCORE_CONTEXTSETTINGS_H
|
||||
|
||||
#include "blackcore/coreruntime.h"
|
||||
#include "blackcore/dbus_server.h"
|
||||
#include "blackcore/keyboard.h"
|
||||
#include "blackmisc/hwkeyboardkeylist.h"
|
||||
#include "blackmisc/statusmessagelist.h"
|
||||
#include "blackmisc/settingutilities.h"
|
||||
#include "blackmisc/setnetwork.h"
|
||||
#include "blackmisc/hwkeyboardkeylist.h"
|
||||
|
||||
|
||||
#include <QObject>
|
||||
#include <QVariant>
|
||||
@@ -30,6 +34,12 @@ namespace BlackCore
|
||||
|
||||
public:
|
||||
|
||||
enum SettingsType
|
||||
{
|
||||
SettingsHotKeys,
|
||||
SettingsNetwork
|
||||
};
|
||||
|
||||
/*!
|
||||
* \brief Service name
|
||||
*/
|
||||
@@ -103,7 +113,7 @@ namespace BlackCore
|
||||
|
||||
signals:
|
||||
//! \brief Settings have been changed
|
||||
void changedSettings();
|
||||
void changedSettings(SettingsType type);
|
||||
|
||||
//! \brief Network settings have been changed
|
||||
void changedNetworkSettings();
|
||||
|
||||
Reference in New Issue
Block a user