Akonadi

agentbrokeninstance.h
1/*
2 SPDX-FileCopyrightText: 2020 Daniel Vrátil <dvratil@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "agentinstance.h"
10
11namespace Akonadi
12{
13class AgentBrokenInstance : public AgentInstance
14{
15 Q_OBJECT
16
17public:
18 explicit AgentBrokenInstance(const QString &type, AgentManager &manager);
19 ~AgentBrokenInstance() override = default;
20
21 bool start(const AgentType &agentInfo) override;
22 void quit() override;
23 void cleanup() override;
24 void restartWhenIdle() override;
25 void configure(qlonglong windowId) override;
26};
27
28}
Represents one agent instance and takes care of communication with it.
The agent manager has knowledge about all available agents (it scans for .desktop files in the agent ...
AgentType type() const
Returns the agent type of this instance.
Q_SCRIPTABLE Q_NOREPLY void start()
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:49:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.