akonadi
agentinstancemodel.cpp
152 return QString::fromLatin1("<qt><h4>%1</h4>%2</qt>").arg(instance.name(), instance.type().description());
178QVariant AgentInstanceModel::headerData(int section, Qt::Orientation orientation, int role) const
Provides a data model for agent instances.
Definition agentinstancemodel.h:51
@ ProgressRole
The current progress (numerical in percent) of an operation.
Definition agentinstancemodel.h:68
virtual ~AgentInstanceModel()
Destroys the agent instance model.
Definition agentinstancemodel.cpp:112
AgentInstanceModel(QObject *parent=0)
Creates a new agent instance model.
Definition agentinstancemodel.cpp:85
QString identifier() const
Returns the unique identifier of the agent instance.
Definition agentinstance.cpp:55
void setIsOnline(bool online)
Sets online status of the agent instance.
Definition agentinstance.cpp:100
QString statusMessage() const
Returns a textual presentation of the status of the agent instance.
Definition agentinstance.cpp:85
int progress() const
Returns the progress of the agent instance in percent, or -1 if no progress information are available...
Definition agentinstance.cpp:90
QString name() const
Returns the user visible name of the agent instance.
Definition agentinstance.cpp:65
bool isOnline() const
Returns whether the agent instance is online currently.
Definition agentinstance.cpp:95
static AgentManager * self()
Returns the global instance of the agent manager.
Definition agentmanager.cpp:377
AgentInstance::List instances() const
Returns the list of all available agent instances.
Definition agentmanager.cpp:396
QString identifier() const
Returns the unique identifier of the agent type.
Definition agenttype.cpp:46
QStringList mimeTypes() const
Returns the list of supported mime types of the agent type.
Definition agenttype.cpp:71
QStringList capabilities() const
Returns the list of supported capabilities of the agent type.
Definition agenttype.cpp:76
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.