9#include "alknewstuffentry.h"
11#include "alknewstuffentry_p.h"
15 out << entry.name << entry.status;
21 out <<
"AlkNewStuffEntryList(";
22 for (
const auto &e : entries) {
30#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
33 out <<
"KNSCore::Entry::List";
34 for (
auto &e : entries) {
47 e.name = entry.
name();
49 e.status =
static_cast<AlkNewStuffEntry::Status
>(entry.
status());
57 result.
append(toAlkEntry(entry));
60#elif QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
63 out << entry.name() << entry.status();
69 out <<
"KNSCore::EntryInternal::List";
70 for (
auto &e : entries) {
80 e.category = entry.category();
81 e.id = entry.uniqueId();
82 e.installedFiles = entry.installedFiles();
83 e.name = entry.name();
84 e.providerId = entry.providerId();
85 e.status =
static_cast<AlkNewStuffEntry::Status
>(entry.status());
86 e.version = entry.version();
92 for (
const KNSCore::EntryInternal &entry : entries) {
93 result.
append(toAlkEntry(entry));
99 out << entry.name() << entry.status();
105 out <<
"KNS3::Entry::List(";
106 for (
auto &e : entries) {
117 e.category = entry.category();
119 e.installedFiles = entry.installedFiles();
120 e.name = entry.name();
121 e.providerId = entry.providerId();
122 e.status =
static_cast<AlkNewStuffEntry::Status
>(entry.status());
123 e.version = entry.version();
129 for (
const KNS3::Entry &entry : entries) {
130 result.
append(toAlkEntry(entry));
Platform independent wrapper for new stuff entry.
QString providerId() const
QStringList installedFiles() const
KNSCore::Entry::Status status() const
QDebug operator<<(QDebug dbg, const DcrawInfoContainer &c)
void append(QList< T > &&value)