2
* This file is part of unity-qt
4
* Copyright 2010 Canonical Ltd.
7
* - Aurélien Gâteau <aurelien.gateau@canonical.com>
11
#ifndef INDICATORSERVICEMANAGER_H
12
#define INDICATORSERVICEMANAGER_H
20
class QDBusPendingCallWatcher;
22
class IndicatorServiceManager : public QObject
26
IndicatorServiceManager(const char* name, uint version, QObject* parent=0);
27
~IndicatorServiceManager();
30
void slotServiceOwnerChanged(const QString& name, const QString& oldOwner, const QString& newOwner);
31
void slotWatchFinished(QDBusPendingCallWatcher*);
34
Q_DISABLE_COPY(IndicatorServiceManager)
35
QString m_serviceName;
36
uint m_serviceVersion;
38
void connectToService();
40
void unwatchService();
43
#endif /* INDICATORSERVICEMANAGER_H */