diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2014-08-01 12:57:32 +0200 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2014-08-02 00:55:17 +0200 |
| commit | 006d08310e5fafa8b66520318598122603e32d8c (patch) | |
| tree | 7aeabca8467991449d69fbaa49994b2be6bae820 /daemon/voicecallmanager.h | |
| parent | 38370fcf6213e4c8961dae6e55bccb951795865f (diff) | |
Provide Settings object via constructor
Diffstat (limited to 'daemon/voicecallmanager.h')
| -rw-r--r-- | daemon/voicecallmanager.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/daemon/voicecallmanager.h b/daemon/voicecallmanager.h index c078e68..b7241ef 100644 --- a/daemon/voicecallmanager.h +++ b/daemon/voicecallmanager.h @@ -2,6 +2,7 @@ #define VOICECALLMANAGER_H #include "voicecallhandler.h" +#include "settings.h" #include <QObject> #include <QDBusInterface> @@ -44,7 +45,7 @@ class VoiceCallManager : public QObject Q_PROPERTY(bool isSpeakerMuted READ isSpeakerMuted WRITE setMuteSpeaker NOTIFY speakerMutedChanged) public: - explicit VoiceCallManager(QObject *parent = 0); + explicit VoiceCallManager(Settings *settings, QObject *parent = 0); ~VoiceCallManager(); QDBusInterface* interface() const; @@ -100,6 +101,8 @@ protected Q_SLOTS: private: class VoiceCallManagerPrivate *d_ptr; + Settings *settings; + Q_DISABLE_COPY(VoiceCallManager) Q_DECLARE_PRIVATE(VoiceCallManager) }; |
