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;
87 writeTestFile.remove();
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.
static QString writableLocation(StandardLocation type)
\macro QT_RESTRICTED_CAST_FROM_ASCII
bool isEmpty() const noexcept
Returns true if the string has no characters; otherwise returns false.
bool endsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string ends with s; otherwise returns false.
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
QLatin1StringView QLatin1String
#define QStringLiteral(str)
\inmodule QtCore \reentrant