Pimcommon

whatsnewinfo.h
1/*
2 SPDX-FileCopyrightText: 2024 Laurent Montel <montel.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6#pragma once
7#include "pimcommon_export.h"
8#include <QDebug>
9#include <QStringList>
10namespace PimCommon
11{
12class PIMCOMMON_EXPORT WhatsNewInfo
13{
14public:
15 WhatsNewInfo();
16 ~WhatsNewInfo();
17
18 [[nodiscard]] QStringList changes() const;
19 void setChanges(const QStringList &newChanges);
20
21 [[nodiscard]] QStringList newFeatures() const;
22 void setNewFeatures(const QStringList &newNewFeatures);
23
24 [[nodiscard]] QStringList bugFixings() const;
25 void setBugFixings(const QStringList &newBugFixings);
26
27 [[nodiscard]] QString version() const;
28 void setVersion(const QString &newVersion);
29
30private:
31 QString mVersion;
32 QStringList mChanges;
33 QStringList mNewFeatures;
34 QStringList mBugFixings;
35};
36}
37Q_DECLARE_METATYPE(PimCommon::WhatsNewInfo)
38Q_DECLARE_TYPEINFO(PimCommon::WhatsNewInfo, Q_RELOCATABLE_TYPE);
39PIMCOMMON_EXPORT QDebug operator<<(QDebug d, const PimCommon::WhatsNewInfo &t);
KCALENDARCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalendarCore::Alarm::Ptr &)
KDB_EXPORT KDbVersionInfo version()
folderdialogacltab.h
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.