Pimcommon

agentprogressmonitor.h
1/*
2 SPDX-FileCopyrightText: 2009 Constantin Berzan <exit3219@gmail.com>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <Libkdepim/ProgressManager> // ProgressItem
10
11#include <Akonadi/AgentInstance>
12namespace PimCommon
13{
14/**
15 * @internal
16 *
17 * This class automatically updates a ProgressItem based on
18 * Akonadi::AgentManager's signals, and places the abort() call if the
19 * ProgressItem has been cancelled.
20 */
22{
24public:
25 // used by our friend ProgressManager
27 ~AgentProgressMonitor() override;
28
29private:
30 void abort();
31 void instanceProgressChanged(const Akonadi::AgentInstance &);
32 void instanceStatusChanged(const Akonadi::AgentInstance &);
33 void instanceRemoved(const Akonadi::AgentInstance &);
34 void instanceNameChanged(const Akonadi::AgentInstance &);
35
38};
39}
folderdialogacltab.h
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:39:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.