File indexing completed on 2024-09-22 04:41:04
0001 /* 0002 SPDX-FileCopyrightText: 2008 Tobias Koenig <tokoe@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "agenttype.h" 0010 0011 #include <QSharedData> 0012 #include <QString> 0013 0014 namespace Akonadi 0015 { 0016 /** 0017 * @internal 0018 */ 0019 class AgentInstancePrivate : public QSharedData 0020 { 0021 public: 0022 AgentInstancePrivate() 0023 { 0024 } 0025 0026 AgentInstancePrivate(const AgentInstancePrivate &other) 0027 : QSharedData(other) 0028 , mType(other.mType) 0029 , mIdentifier(other.mIdentifier) 0030 , mName(other.mName) 0031 , mStatus(other.mStatus) 0032 , mStatusMessage(other.mStatusMessage) 0033 , mProgress(other.mProgress) 0034 , mIsOnline(other.mIsOnline) 0035 { 0036 } 0037 0038 AgentType mType; 0039 QString mIdentifier; 0040 QString mName; 0041 int mStatus = 0; 0042 QString mStatusMessage; 0043 int mProgress = 0; 0044 bool mIsOnline = false; 0045 }; 0046 0047 }