Changeset View
Changeset View
Standalone View
Standalone View
src/core/cache_p.h
Context not available. | |||||
25 | #include "engine_p.h" | 25 | #include "engine_p.h" | ||
---|---|---|---|---|---|
26 | #include "entryinternal_p.h" | 26 | #include "entryinternal_p.h" | ||
27 | 27 | | |||
28 | namespace KNS3 | 28 | #include "knewstuffcore_export.h" | ||
29 | | ||||
30 | namespace KNSCore | ||||
29 | { | 31 | { | ||
30 | 32 | | |||
31 | class Cache : public QObject | 33 | class KNEWSTUFFCORE_EXPORT Cache : public QObject | ||
32 | { | 34 | { | ||
33 | Q_OBJECT | 35 | Q_OBJECT | ||
34 | 36 | | |||
Context not available. | |||||
52 | /// Save the list of installed entries | 54 | /// Save the list of installed entries | ||
53 | void writeRegistry(); | 55 | void writeRegistry(); | ||
54 | 56 | | |||
55 | void insertRequest(const KNS3::Provider::SearchRequest &, const KNS3::EntryInternal::List &entries); | 57 | void insertRequest(const KNSCore::Provider::SearchRequest &, const KNSCore::EntryInternal::List &entries); | ||
56 | EntryInternal::List requestFromCache(const KNS3::Provider::SearchRequest &); | 58 | EntryInternal::List requestFromCache(const KNSCore::Provider::SearchRequest &); | ||
57 | 59 | | |||
58 | public Q_SLOTS: | 60 | public Q_SLOTS: | ||
59 | void registerChangedEntry(const KNS3::EntryInternal &entry); | 61 | void registerChangedEntry(const KNSCore::EntryInternal &entry); | ||
60 | 62 | | |||
61 | private: | 63 | private: | ||
62 | Q_DISABLE_COPY(Cache) | 64 | Q_DISABLE_COPY(Cache) | ||
Context not available. |