Akonadi
core/agentmanager.cpp
110void AgentManagerPrivate::agentInstanceStatusChanged(const QString &identifier, int status, const QString &msg)
123void AgentManagerPrivate::agentInstanceProgressChanged(const QString &identifier, uint progress, const QString &msg)
169void AgentManagerPrivate::agentInstanceNameChanged(const QString &identifier, const QString &name)
235void AgentManagerPrivate::setActivities(const AgentInstance &instance, const QStringList &activities)
288 // FIXME activities instance.d->mActivitiesEnabled = mManager->agentInstanceActivitiesEnabled(identifier);
298 Q_ASSERT_X(mTypes.contains(agentTypeIdentifier), "fillAgentInstanceLight", "Requests non-existing agent type");
312 mManager = std::make_unique<AgentManagerIface>(ServerManager::serviceName(ServerManager::Control),
317 connect(mManager.get(), &AgentManagerIface::agentTypeAdded, this, &AgentManagerPrivate::agentTypeAdded);
318 connect(mManager.get(), &AgentManagerIface::agentTypeRemoved, this, &AgentManagerPrivate::agentTypeRemoved);
319 connect(mManager.get(), &AgentManagerIface::agentInstanceAdded, this, &AgentManagerPrivate::agentInstanceAdded);
320 connect(mManager.get(), &AgentManagerIface::agentInstanceRemoved, this, &AgentManagerPrivate::agentInstanceRemoved);
321 connect(mManager.get(), &AgentManagerIface::agentInstanceStatusChanged, this, &AgentManagerPrivate::agentInstanceStatusChanged);
322 connect(mManager.get(), &AgentManagerIface::agentInstanceProgressChanged, this, &AgentManagerPrivate::agentInstanceProgressChanged);
323 connect(mManager.get(), &AgentManagerIface::agentInstanceNameChanged, this, &AgentManagerPrivate::agentInstanceNameChanged);
324 connect(mManager.get(), &AgentManagerIface::agentInstanceWarning, this, &AgentManagerPrivate::agentInstanceWarning);
325 connect(mManager.get(), &AgentManagerIface::agentInstanceError, this, &AgentManagerPrivate::agentInstanceError);
326 connect(mManager.get(), &AgentManagerIface::agentInstanceOnlineChanged, this, &AgentManagerPrivate::agentInstanceOnlineChanged);
346 d->mServiceWatcher = std::make_unique<QDBusServiceWatcher>(ServerManager::serviceName(ServerManager::Control),
Represents one agent instance and takes care of communication with it.
Definition akonadicontrol/agentinstance.h:35
QString identifier() const
Set/get the unique identifier of this AgentInstance.
Definition akonadicontrol/agentinstance.h:44
The agent manager has knowledge about all available agents (it scans for .desktop files in the agent ...
Definition akonadicontrol/agentmanager.h:29
AgentManager(bool verbose, QObject *parent=nullptr)
Creates a new agent manager.
Definition akonadicontrol/agentmanager.cpp:100
Provides an interface to retrieve agent types and manage agent instances.
Definition core/agentmanager.h:44
AgentType::List types() const
Returns the list of all available agent types.
Definition core/agentmanager.cpp:372
AgentType type(const QString &identifier) const
Returns the agent type with the given identifier or an invalid agent type if the identifier does not ...
Definition core/agentmanager.cpp:383
static AgentManager * self()
Returns the global instance of the agent manager.
Definition core/agentmanager.cpp:363
void removeInstance(const AgentInstance &instance)
Removes the given agent instance.
Definition core/agentmanager.cpp:398
AgentInstance instance(const QString &identifier) const
Returns the agent instance with the given identifier or an invalid agent instance if the identifier d...
Definition core/agentmanager.cpp:393
void synchronizeCollection(const Collection &collection)
Trigger a synchronization of the given collection by its owning resource agent.
Definition core/agentmanager.cpp:403
AgentInstance::List instances() const
Returns the list of all available agent instances.
Definition core/agentmanager.cpp:388
static QString serviceName(ServiceType serviceType)
Returns the namespaced D-Bus service name for serviceType.
Definition servermanager.cpp:327
Q_SCRIPTABLE CaptureState status()
Helper integration between Akonadi and Qt.
QString name(const QVariant &location)
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
QDBusConnection sessionBus()
bool isValid() const const
WatchForRegistration
void serviceRegistered(const QString &serviceName)
T value(qsizetype i) const const
bool isEmpty() const const
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
QWidget * window() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:50:40 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:50:40 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.