marble
CacheStoragePolicy.cpp
Go to the documentation of this file.
void setCacheLimit(quint64 bytes)
Sets the limit of the cache in bytes.
Definition: CacheStoragePolicy.cpp:64
bool fileExists(const QString &fileName) const
Returns whether the fileName exists already.
Definition: CacheStoragePolicy.cpp:31
CacheStoragePolicy(const QString &cacheDirectory)
Creates a new cache storage policy.
Definition: CacheStoragePolicy.cpp:20
QString lastErrorMessage() const
Returns the last error message.
Definition: CacheStoragePolicy.cpp:51
QDir root()
quint64 cacheLimit() const
Returns the limit of the cache in bytes.
Definition: CacheStoragePolicy.cpp:69
QString tr(const char *sourceText, const char *disambiguation, int n)
bool updateFile(const QString &fileName, const QByteArray &data)
Updates the fileName with the given data.
Definition: CacheStoragePolicy.cpp:36
bool insert(const QString &key, const QByteArray &data)
Definition: DiscCache.cpp:116
QByteArray data(const QString &fileName)
Returns the data of a file.
Definition: CacheStoragePolicy.cpp:56
bool mkpath(const QString &dirPath) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.