KNewStuff
#include <cache.h>
Definition at line 30 of file cache.h.
◆ ~Cache()
◆ getCache()
QSharedPointer< Cache > Cache::getCache |
( |
const QString & |
appName | ) |
|
|
static |
Returns an instance of a shared cache for appName That way it is made sure, that there do not exist different instances of cache, with different contents.
- Parameters
-
appName | The file name of the registry - this is usually the application name, it will be stored in "apps/knewstuff3/appname.knsregistry" |
Definition at line 41 of file cache.cpp.
◆ insertRequest()
◆ readRegistry()
void Cache::readRegistry |
( |
| ) |
|
Read the installed entries (on startup)
Definition at line 58 of file cache.cpp.
◆ registerChangedEntry
◆ registryForProvider()
All entries that have been installed by a certain provider.
Definition at line 187 of file cache.cpp.
◆ requestFromCache()
◆ writeRegistry()
void Cache::writeRegistry |
( |
| ) |
|
Save the list of installed entries.
Definition at line 199 of file cache.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.