Changeset View
Changeset View
Standalone View
Standalone View
src/service/ksmserver/KSMServer_p.h
Show All 37 Lines | 37 | class KSMServer::Private : public QObject { | |||
---|---|---|---|---|---|
38 | Q_OBJECT | 38 | Q_OBJECT | ||
39 | 39 | | |||
40 | public: | 40 | public: | ||
41 | Private(KSMServer *parent); | 41 | Private(KSMServer *parent); | ||
42 | 42 | | |||
43 | void processLater(const QString &activity, bool start); | 43 | void processLater(const QString &activity, bool start); | ||
44 | 44 | | |||
45 | private Q_SLOTS: | 45 | private Q_SLOTS: | ||
46 | void serviceOwnerChanged(const QString &service, const QString &oldOwner, const QString &newOwner); | | |||
47 | | ||||
48 | void process(); | 46 | void process(); | ||
49 | void makeRunning(bool value); | 47 | void makeRunning(bool value); | ||
50 | 48 | | |||
51 | void startCallFinished(QDBusPendingCallWatcher *watcher); | 49 | void startCallFinished(QDBusPendingCallWatcher *watcher); | ||
52 | void stopCallFinished(QDBusPendingCallWatcher *watcher); | 50 | void stopCallFinished(QDBusPendingCallWatcher *watcher); | ||
53 | 51 | | |||
54 | void subSessionSendEvent(int event); | 52 | void subSessionSendEvent(int event); | ||
55 | 53 | | |||
56 | private: | 54 | private: | ||
57 | std::unique_ptr<QDBusServiceWatcher> serviceWatcher; | | |||
58 | QDBusInterface *kwin; | 55 | QDBusInterface *kwin; | ||
59 | 56 | | |||
60 | bool processing; | 57 | bool processing; | ||
61 | QString processingActivity; | 58 | QString processingActivity; | ||
62 | QList<QPair<QString, bool>> queue; | 59 | QList<QPair<QString, bool>> queue; | ||
63 | 60 | | |||
64 | KSMServer *const q; | 61 | KSMServer *const q; | ||
65 | }; | 62 | }; | ||
66 | 63 | | |||
67 | #endif // KSMSERVER_P_H | 64 | #endif // KSMSERVER_P_H |