Reload hotkey settings when they have changed

This also includes changing the registration

refs #83
This commit is contained in:
Roland Winklmeier
2014-03-05 17:31:08 +01:00
parent abb20a5154
commit 811bbdfe4e
5 changed files with 44 additions and 5 deletions

View File

@@ -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();