marble
Marble::DiscCache Class Reference
#include <DiscCache.h>
Public Member Functions | |
DiscCache (const QString &cacheDirectory) | |
~DiscCache () | |
quint64 | cacheLimit () const |
void | clear () |
bool | exists (const QString &key) const |
bool | find (const QString &key, QByteArray &data) |
bool | insert (const QString &key, const QByteArray &data) |
void | remove (const QString &key) |
void | setCacheLimit (quint64 n) |
Detailed Description
Definition at line 24 of file DiscCache.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 27 of file DiscCache.cpp.
DiscCache::~DiscCache | ( | ) |
Definition at line 51 of file DiscCache.cpp.
Member Function Documentation
quint64 DiscCache::cacheLimit | ( | ) | const |
Definition at line 67 of file DiscCache.cpp.
void DiscCache::clear | ( | ) |
Definition at line 72 of file DiscCache.cpp.
bool DiscCache::exists | ( | const QString & | key | ) | const |
Definition at line 93 of file DiscCache.cpp.
bool DiscCache::find | ( | const QString & | key, |
QByteArray & | data | ||
) |
Definition at line 98 of file DiscCache.cpp.
bool DiscCache::insert | ( | const QString & | key, |
const QByteArray & | data | ||
) |
Definition at line 116 of file DiscCache.cpp.
void DiscCache::remove | ( | const QString & | key | ) |
Definition at line 141 of file DiscCache.cpp.
void DiscCache::setCacheLimit | ( | quint64 | n | ) |
Definition at line 159 of file DiscCache.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 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:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.