10#include <QStandardPaths>
20 qRegisterMetaType<QGeoTileSpec>();
21 qRegisterMetaType<QList<QGeoTileSpec> >();
22 qRegisterMetaType<QSet<QGeoTileSpec> >();
79 static bool writable =
false;
80 static bool writableChecked =
false;
81 if (!writableChecked) {
82 writableChecked =
true;
static QString baseCacheDirectory()
virtual void setMaxDiskUsage(int diskUsage)
virtual int diskUsage() const
static QString baseLocationCacheDirectory()
virtual int maxDiskUsage() const
virtual void printStats()=0
virtual int memoryUsage() const
virtual void setMaxMemoryUsage(int memoryUsage)
virtual void handleError(const QGeoTileSpec &spec, const QString &errorString)
virtual int maxMemoryUsage() const
QAbstractGeoTileCache(QObject *parent=nullptr)
virtual ~QAbstractGeoTileCache()
static QDir root()
Returns the root directory.
bool mkpath(const QString &dirPath) const
Creates the directory path dirPath.
bool open(OpenMode flags) override
Opens the file using OpenMode mode, returning true if successful; otherwise false.
bool remove()
Removes the file specified by fileName().
static QString writableLocation(StandardLocation type)
\macro QT_RESTRICTED_CAST_FROM_ASCII
bool endsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string ends with s; otherwise returns false.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
QLatin1StringView QLatin1String
#define QStringLiteral(str)
\inmodule QtCore \reentrant
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent