File indexing completed on 2025-01-05 04:58:22

0001 /*
0002   progressmanager.cpp
0003 
0004   SPDX-FileCopyrightText: 2004 Till Adam <adam@kde.org>
0005 
0006   SPDX-License-Identifier: LGPL-2.0-or-later
0007 */
0008 
0009 #pragma once
0010 #include "pimcommonakonadi_export.h"
0011 #include <Libkdepim/ProgressManager>
0012 
0013 #include <Akonadi/AgentInstance>
0014 
0015 namespace PimCommon
0016 {
0017 namespace ProgressManagerAkonadi
0018 {
0019 PIMCOMMONAKONADI_EXPORT KPIM::ProgressItem *createProgressItem(KPIM::ProgressItem *parent,
0020                                                                const Akonadi::AgentInstance &agent,
0021                                                                const QString &id,
0022                                                                const QString &label,
0023                                                                const QString &status,
0024                                                                bool canBeCanceled,
0025                                                                KPIM::ProgressItem::CryptoStatus cryptoStatus);
0026 }
0027 }