Solid
xdgbasedirs.cpp
Go to the documentation of this file.
73 instance()->mDataDirs = instance()->systemPathList( "XDG_DATA_DIRS", "/usr/local/share:/usr/share" );
123 QStringList XdgBaseDirsSingleton::systemPathList( const char *variable, const char *defaultDirList )
bool isReadable() const
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
bool isEmpty() const
bool startsWith(const QByteArray &ba) const
QString homePath()
bool isFile() const
QString fromLocal8Bit(const char *str, int size)
QString absoluteFilePath() const
static QStringList splitPathList(const QString &pathList)
Definition: xdgbasedirs.cpp:30
bool exists() const
QString findResourceFile(const char *resource, const QString &relPath)
Searches the resource specific directories for a given file.
Definition: xdgbasedirs.cpp:86
QString homePath(const char *resource)
Returns the user specific directory for the given resource type.
Definition: xdgbasedirs.cpp:52
QStringList systemPathList(const char *resource)
Returns the list of system wide directories for a given resource type.
Definition: xdgbasedirs.cpp:69
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:26 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:23:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.