marble
MarbleDirs.cpp
Go to the documentation of this file.
89 QStringList filesLocal = QDir( MarbleDirs::localPath() + '/' + relativePath ).entryList(filters);
90 QStringList filesSystem = QDir( MarbleDirs::systemPath() + '/' + relativePath ).entryList(filters);
108 QStringList filesLocal = QDir( MarbleDirs::pluginLocalPath() + '/' + relativePath ).entryList(filters);
109 QStringList filesSystem = QDir( MarbleDirs::pluginSystemPath() + '/' + relativePath ).entryList(filters);
263 possibleOldPaths << QString(QDir::fromNativeSeparators(appdata) + "/.marble/data"); // local path
290 return QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/.marble/plugins";
311 qWarning() << QString( "Invalid MarbleDataPath \"%1\". Using \"%2\" instead." ).arg( adaptedPath ).arg( systemPath() );
322 qWarning() << QString( "Invalid MarblePluginPath \"%1\". Using \"%2\" instead." ).arg( adaptedPath ).arg( pluginSystemPath() );
static QString pluginPath(const QString &relativePath)
Definition: MarbleDirs.cpp:73
static void setMarbleDataPath(const QString &adaptedPath)
Definition: MarbleDirs.cpp:307
static QString path(const QString &relativePath)
Definition: MarbleDirs.cpp:59
QString fromNativeSeparators(const QString &pathName)
static void setMarblePluginPath(const QString &adaptedPath)
Definition: MarbleDirs.cpp:318
const T & at(int i) const
void removeAt(int i)
bool exists() const
QDir root()
QString homePath()
QChar separator()
int size() const
void append(const T &value)
QString fromUtf16(const ushort *unicode, int size)
QString storageLocation(StandardLocation type)
typedef Filters
bool isEmpty() const
bool contains(QChar ch, Qt::CaseSensitivity cs) const
QStringList entryList(QFlags< QDir::Filter > filters, QFlags< QDir::SortFlag > sort) const
static QStringList pluginEntryList(const QString &relativePath, QDir::Filters filters=QDir::NoFilter)
Definition: MarbleDirs.cpp:106
static QStringList entryList(const QString &relativePath, QDir::Filters filters=QDir::NoFilter)
Definition: MarbleDirs.cpp:87
void sort()
QString canonicalPath() const
QString applicationDirPath()
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 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:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.