marble
FileStoragePolicy.cpp
Go to the documentation of this file.
114 QDirIterator itTile( tileDirectory, QDir::Files | QDir::NoSymLinks, QDirIterator::Subdirectories );
QString next()
bool fileExists(const QString &fileName) const
Returns whether the fileName exists already.
Definition: FileStoragePolicy.cpp:43
Definition: StoragePolicy.h:25
bool remove()
QString errorString() const
bool isAbsolute() const
void sizeChanged(qint64)
QString fileName() const
bool exists() const
QDir root()
QString lastErrorMessage() const
Returns the last error message.
Definition: FileStoragePolicy.cpp:140
bool exists() const
int toInt(bool *ok, int base) const
bool isEmpty() const
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
QDir dir() const
FileStoragePolicy(const QString &dataDirectory=QString(), QObject *parent=0)
Creates a new file storage policy.
Definition: FileStoragePolicy.cpp:28
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
QString toLower() const
virtual qint64 size() const
virtual void close()
QString absolutePath() const
qint64 write(const char *data, qint64 maxSize)
bool hasNext() const
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
bool mkpath(const QString &dirPath) const
QString filePath() const
bool updateFile(const QString &fileName, const QByteArray &data)
Updates the fileName with the given data.
Definition: FileStoragePolicy.cpp:49
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 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:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.