Alkimia API

alknewstuffentry.h
1/*
2 SPDX-FileCopyrightText: 2024 Ralf Habacker ralf.habacker @freenet.de
3
4 This file is part of libalkimia.
5
6 SPDX-License-Identifier: LGPL-2.1-or-later
7*/
8
9#ifndef ALKNEWSTUFFENTRY_H
10#define ALKNEWSTUFFENTRY_H
11
12#include <alkimia/alk_export.h>
13
14#include <QList>
15#include <QStringList>
16
17/**
18 * Platform independent wrapper for new stuff entry
19 *
20 * @author Ralf Habacker
21 */
22class ALK_EXPORT AlkNewStuffEntry
23{
24public:
25 enum Status {
26 Invalid,
27 Downloadable,
28 Installed,
29 Updateable,
30 Deleted,
31 Installing,
32 Updating
33 };
34
35 QString category;
36 QString id;
37 QString name;
38 QString providerId;
39 QString version;
40 QStringList installedFiles;
41 Status status;
42};
43
45
46ALK_EXPORT const char *toString(AlkNewStuffEntry::Status status);
47
48ALK_EXPORT QDebug operator<<(QDebug out, const AlkNewStuffEntry &entry);
49ALK_EXPORT QDebug operator<<(QDebug out, const AlkNewStuffEntryList &entries);
50
51#endif // ALKNEWSTUFFENTRY_H
Platform independent wrapper for new stuff entry.
Q_SCRIPTABLE CaptureState status()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.