summaryrefslogtreecommitdiff
path: root/daemon/notificationmanager.h
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2014-08-01 12:57:32 +0200
committerTomasz Sterna <tomek@xiaoka.com>2014-08-02 00:55:17 +0200
commit006d08310e5fafa8b66520318598122603e32d8c (patch)
tree7aeabca8467991449d69fbaa49994b2be6bae820 /daemon/notificationmanager.h
parent38370fcf6213e4c8961dae6e55bccb951795865f (diff)
Provide Settings object via constructor
Diffstat (limited to 'daemon/notificationmanager.h')
-rw-r--r--daemon/notificationmanager.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon/notificationmanager.h b/daemon/notificationmanager.h
index 10c4d2e..ab9895a 100644
--- a/daemon/notificationmanager.h
+++ b/daemon/notificationmanager.h
@@ -18,7 +18,7 @@ class NotificationManager : public QObject
Q_PROPERTY(QDBusInterface* interface READ interface)
public:
- explicit NotificationManager(QObject *parent = 0);
+ explicit NotificationManager(Settings *settings, QObject *parent = 0);
~NotificationManager();
QDBusInterface* interface() const;
@@ -32,7 +32,6 @@ Q_SIGNALS:
public Q_SLOTS:
void Notify(const QString &app_name, uint replaces_id, const QString &app_icon, const QString &summary, const QString &body, const QStringList &actions, const QVariantHash &hints, int expire_timeout);
- void setSettings(Settings *settings);
protected Q_SLOTS:
void initialize(bool notifyError = false);