Plasma5Support
11#include <Plasma5Support/DataEngine>
12#include <Plasma5Support/Service>
14#include "ActivityData.h"
15#include "ActivityRankingInterface.h"
33 Plasma5Support::Service *serviceForSource(
const QString &source)
override;
37 void activityAdded(
const QString &
id);
38 void activityRemoved(
const QString &
id);
39 void currentActivityChanged(
const QString &
id);
41 void activityDataChanged();
42 void activityStateChanged();
44 void disableRanking();
46 void rankingChanged(
const QStringList &topActivities,
const ActivityDataList &activities);
47 void activityScoresReply(QDBusPendingCallWatcher *watcher);
50 void insertActivity(
const QString &
id);
51 void setActivityScores(
const ActivityDataList &activities);
53 KActivities::Controller *m_activityController;
54 QHash<QString, KActivities::Info *> m_activities;
55 QStringList m_runningActivities;
56 QString m_currentActivity;
58 org::kde::ActivityManager::ActivityRanking *m_activityRankingClient;
59 QDBusServiceWatcher *m_watcher;
60 QHash<QString, qreal> m_activityScores;
62 friend class ActivityService;
Data provider for plasmoids (Plasma plugins)
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:07 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.