marble
FileStorageWatcher.cpp
Go to the documentation of this file.
37 FileStorageWatcherThread::FileStorageWatcherThread( const QString &dataDirectory, QObject *parent )
QString next()
void cleared()
QFileInfo fileInfo() const
bool remove()
void variableChanged()
Is emitted when a variable has changed.
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
void removeFirst()
quint64 cacheLimit()
Definition: FileStorageWatcher.cpp:56
void unlock()
FileStorageWatcher(const QString &dataDirectory=QString(), QObject *parent=0)
Creates a new FileStorageWatcher, which is a thread watching the space Marble takes on the hard drive...
Definition: FileStorageWatcher.cpp:306
QDir root()
void addToCurrentSize(qint64 bytes)
Add bytes to the current cache size.
Definition: FileStorageWatcher.cpp:70
void sizeChanged(qint64 bytes)
bool exists() const
static bool greaterThanByNumber(const QString &s1, const QString &s2)
Definition: FileStorageWatcher.cpp:237
QString fileName() const
void terminate()
int toInt(bool *ok, int base) const
void getCurrentCacheSize()
Getting the current size of the data stored on the disc.
Definition: FileStorageWatcher.cpp:101
bool isEmpty() const
void addToCurrentSize(qint64 bytes)
Add bytes to the current cache size.
Definition: FileStorageWatcher.cpp:362
void updateTheme(const QString &mapTheme)
Updates the name of the theme.
Definition: FileStorageWatcher.cpp:372
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
T & first()
iterator end()
QString toLower() const
qint64 size() const
static const int deleteOnlyFilesOlderThan
Definition: FileStorageWatcher.cpp:32
void lock()
void updateTheme(const QString &mapTheme)
Updates the name of the theme.
Definition: FileStorageWatcher.cpp:87
void setCacheLimit(quint64 bytes)
Sets the limit of the cache in bytes.
Definition: FileStorageWatcher.cpp:343
QDateTime currentDateTime()
bool wait(unsigned long time)
QStringList entryList(QFlags< QDir::Filter > filters, QFlags< QDir::SortFlag > sort) const
~FileStorageWatcherThread()
Definition: FileStorageWatcher.cpp:52
void quit()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
bool hasNext() const
FileStorageWatcherThread(const QString &dataDirectory, QObject *parent=0)
Definition: FileStorageWatcher.cpp:37
iterator begin()
int exec()
void setCacheLimit(quint64 bytes)
Sets the limit of the cache in bytes.
Definition: FileStorageWatcher.cpp:61
bool mkpath(const QString &dirPath) const
void prepareQuit()
Stop doing things that take a long time to quit.
Definition: FileStorageWatcher.cpp:96
~FileStorageWatcher()
Definition: FileStorageWatcher.cpp:323
singleShot
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.