File indexing completed on 2024-04-28 03:56:25
0001 /* 0002 SPDX-FileCopyrightText: 2007 Josef Spillner <spillner@kde.org> 0003 SPDX-FileCopyrightText: 2007-2010 Frederik Gladhorn <gladhorn@kde.org> 0004 SPDX-FileCopyrightText: 2009 Jeremy Whiting <jpwhiting@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.1-or-later 0007 */ 0008 0009 #ifndef KNEWSTUFF3_ENGINEBASE_P_H 0010 #define KNEWSTUFF3_ENGINEBASE_P_H 0011 0012 #include "cache.h" 0013 #include "installation_p.h" 0014 #include <Attica/ProviderManager> 0015 0016 class KNSCore::EngineBasePrivate 0017 { 0018 public: 0019 QString name; 0020 QStringList categories; 0021 QString adoptionCommand; 0022 QString useLabel; 0023 bool uploadEnabled = false; 0024 QUrl providerFileUrl; 0025 QStringList tagFilter; 0026 QStringList downloadTagFilter; 0027 Installation *installation = new Installation(); 0028 Attica::ProviderManager *atticaProviderManager = nullptr; 0029 QList<Provider::SearchPreset> searchPresets; 0030 QSharedPointer<Cache> cache; 0031 bool shouldRemoveDeletedEntries = false; 0032 QList<Provider::CategoryMetadata> categoriesMetadata; 0033 QHash<QString, QSharedPointer<KNSCore::Provider>> providers; 0034 }; 0035 0036 #endif