KNewStuff
cache.cpp
Go to the documentation of this file.
153 e.setHomepage(QString(QLatin1String("http://opendesktop.org/content/show.php?content=") + e.uniqueId()));
233void Cache::insertRequest(const KNS3::Provider::SearchRequest& request, const KNS3::EntryInternal::List& entries)
237 kDebug() << request.hashForRequest() << " add: " << entries.size() << " keys: " << requestCache.keys();
void insertRequest(const KNS3::Provider::SearchRequest &, const KNS3::EntryInternal::List &entries)
Definition cache.cpp:233
static QSharedPointer< Cache > getCache(const QString &appName)
Returns an instance of a shared cache for appName That way it is made sure, that there do not exist d...
Definition cache.cpp:41
EntryInternal::List requestFromCache(const KNS3::Provider::SearchRequest &)
Definition cache.cpp:240
void registerChangedEntry(const KNS3::EntryInternal &entry)
Definition cache.cpp:228
EntryInternal::List registryForProvider(const QString &providerId)
All entries that have been installed by a certain provider.
Definition cache.cpp:187
void setSource(Source source)
The source of this entry can be Cache, Registry or Online -.
Definition entryinternal.cpp:362
bool setEntryXML(const QDomElement &xmldata)
set the xml for the entry parses the xml and sets the private members accordingly used to deserialize...
Definition entryinternal.cpp:417
void setProviderId(const QString &id)
Definition entryinternal.cpp:149
void setStatus(Entry::Status status)
Returns the checksum for the entry.
Definition entryinternal.cpp:372
QString providerId() const
The id of the provider this entry belongs to.
Definition entryinternal.cpp:144
QStringList findDirs(const char *type, const QString &reldir) const
static QString locateLocal(const char *type, const QString &filename, bool createDir, const KComponentData &cData=KGlobal::mainComponent())
static quint32 f(DES_KEY *key, quint32 r, char *subkey)
#define K_GLOBAL_STATIC(TYPE, NAME)
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
#define kDebug
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
#define kWarning
Definition atticaprovider.cpp:36
QString dir(const QString &fileClass)
QString hashForRequest() const
Definition knewstuff3/core/provider.cpp:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.