Akonadi

agentbrokeninstance.h
1 /*
2  SPDX-FileCopyrightText: 2020 Daniel Vrátil <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "agentinstance.h"
10 
11 namespace Akonadi
12 {
13 class AgentBrokenInstance : public AgentInstance
14 {
15  Q_OBJECT
16 
17 public:
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 }
The agent manager has knowledge about all available agents (it scans for .desktop files in the agent ...
Q_SCRIPTABLE Q_NOREPLY void start()
Represents one agent instance and takes care of communication with it.
const QList< QKeySequence > & quit()
AKONADICORE_DEPRECATED void configure(QWidget *parent=nullptr)
Triggers the agent instance to show its configuration dialog.
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:52:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.