diff options
Diffstat (limited to 'saltoqd/toqmanager.h')
-rw-r--r-- | saltoqd/toqmanager.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/saltoqd/toqmanager.h b/saltoqd/toqmanager.h index 03eb0de..0333fa7 100644 --- a/saltoqd/toqmanager.h +++ b/saltoqd/toqmanager.h @@ -2,9 +2,9 @@ #define TOQMANAGER_H #include <QtCore/QObject> -#include <MDConfGroup> #include "toqconnection.h" +#include "settings.h" class ObexConnection; class VersionManager; @@ -14,6 +14,7 @@ class StorageManager; class MusicManager; class ContactsManager; class CommManager; +class AgendaManager; class VoiceCallManager; class WeatherManager; class CardManager; @@ -23,7 +24,7 @@ class ToqManager : public QObject { Q_OBJECT public: - explicit ToqManager(MDConfGroup *settings, QObject *parent = 0); + explicit ToqManager(Settings *settings, QObject *parent = 0); struct EndpointHandler { virtual void handleMessage(const ToqConnection::Message &msg) = 0; @@ -52,10 +53,10 @@ signals: private slots: void handleToqMessage(const ToqConnection::Message &msg); - void handleSettingsChanged(const QString &key); + void handleSettingsAddressChanged(); private: - MDConfGroup *_settings; + Settings *_settings; ToqConnection *_conn; ObexConnection *_obex; QHash<ToqConnection::Endpoint, EndpointHandler*> _handlers; @@ -67,6 +68,7 @@ private: MusicManager *_musicManager; ContactsManager *_contactsManager; CommManager *_commManager; + AgendaManager *_agendaManager; VoiceCallManager *_voiceCallManager; WeatherManager *_weatherManager; CardManager *_cardManager; |