marble
#include <FileStoragePolicy.h>

Public Member Functions | |
| FileStoragePolicy (const QString &dataDirectory=QString(), QObject *parent=0) | |
| ~FileStoragePolicy () | |
| void | clearCache () |
| bool | fileExists (const QString &fileName) const |
| QString | lastErrorMessage () const |
| bool | updateFile (const QString &fileName, const QByteArray &data) |
Public Member Functions inherited from Marble::StoragePolicy | |
| StoragePolicy (QObject *parent=0) | |
| virtual | ~StoragePolicy () |
Additional Inherited Members | |
Signals inherited from Marble::StoragePolicy | |
| void | cleared () |
| void | sizeChanged (qint64) |
Detailed Description
Definition at line 19 of file FileStoragePolicy.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new file storage policy.
- Parameters
-
dataDirectory The directory where the data should go to.
Definition at line 28 of file FileStoragePolicy.cpp.
| FileStoragePolicy::~FileStoragePolicy | ( | ) |
Destroys the cache storage policy.
Definition at line 39 of file FileStoragePolicy.cpp.
Member Function Documentation
|
virtual |
Clears the cache.
Implements Marble::StoragePolicy.
Definition at line 86 of file FileStoragePolicy.cpp.
|
virtual |
Returns whether the fileName exists already.
Implements Marble::StoragePolicy.
Definition at line 43 of file FileStoragePolicy.cpp.
|
virtual |
Returns the last error message.
Implements Marble::StoragePolicy.
Definition at line 140 of file FileStoragePolicy.cpp.
|
virtual |
Updates the fileName with the given data.
Implements Marble::StoragePolicy.
Definition at line 49 of file FileStoragePolicy.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from