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}
A representation of an agent instance.
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-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:56 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.