Akonadi
agentprocessinstance.cpp
32 Q_ASSERT(agentInfo.launchMethod == AgentType::Process || agentInfo.launchMethod == AgentType::Launcher);
34 const QString executable = (agentInfo.launchMethod == AgentType::Process) ? Akonadi::StandardDirs::findExecutable(agentInfo.exec) : agentInfo.exec;
42 connect(mController.get(), &ProcessControl::unableToStart, this, &AgentProcessInstance::failedToStart);
50 const QString agentLauncherExec = Akonadi::StandardDirs::findExecutable(QStringLiteral("akonadi_agent_launcher"));
Q_SCRIPTABLE Q_NOREPLY void start()
void unableToStart()
Emitted if the process could not be started since it terminated too often.
Provides an interface to retrieve agent types and manage agent instances.
Definition: core/agentmanager.h:43
bool isEmpty() const const
NETWORKMANAGERQT_EXPORT NetworkManager::Status status()
const QList< QKeySequence > & quit()
QString identifier() const
Returns the unique identifier of the agent type.
Definition: core/agenttype.cpp:33
AKONADICORE_DEPRECATED void configure(QWidget *parent=nullptr)
Triggers the agent instance to show its configuration dialog.
Definition: core/agentinstance.cpp:92
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:01:05 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:01:05 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.