File indexing completed on 2024-06-23 05:49:20
0001 /* 0002 This file is part of the Kasten Framework, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2008 Friedrich W. H. Kossebau <kossebau@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #ifndef KASTEN_DOCUMENTVERSIONDATA_HPP 0010 #define KASTEN_DOCUMENTVERSIONDATA_HPP 0011 0012 // lib 0013 #include "kastencore_export.hpp" 0014 #include "documentversionid.hpp" 0015 // Qt 0016 #include <QString> 0017 0018 namespace Kasten { 0019 0020 class KASTENCORE_EXPORT DocumentVersionData 0021 { 0022 public: 0023 DocumentVersionData(DocumentVersionId id, const QString& changeComment); 0024 DocumentVersionData(const DocumentVersionData&) = default; 0025 ~DocumentVersionData() = default; 0026 0027 DocumentVersionData& operator=(const DocumentVersionData&) = default; 0028 0029 public: 0030 DocumentVersionId id() const; 0031 QString changeComment() const; 0032 0033 private: 0034 DocumentVersionId mId; 0035 QString mChangeComment; 0036 }; 0037 0038 } 0039 0040 #endif