6#include <QStandardPaths>
14#if QT_CONFIG(mmrenderer)
24 for (
const QString &
path : std::as_const(dirCandidates)) {
35 auto lastMediaIndex = 0;
39 lastMediaIndex =
qMax(lastMediaIndex, mediaIndex);
47 return dir.absoluteFilePath(
name);
static QString tempPath()
Returns the absolute canonical path of the system's temporary directory.
QString absoluteFilePath(const QString &fileName) const
Returns the absolute path name of a file in the directory.
static QString homePath()
Returns the absolute path of the user's home directory.
static QString currentPath()
Returns the absolute path of the application's current directory.
\inmodule QtCore \reentrant
static QString writableLocation(StandardLocation type)
StandardLocation
This enum describes the different locations that can be queried using methods such as QStandardPaths:...
\macro QT_RESTRICTED_CAST_FROM_ASCII
static QString fromLatin1(QByteArrayView ba)
This is an overloaded member function, provided for convenience. It differs from the above function o...
qsizetype size() const
Returns the number of characters in this string.
QString arg(qlonglong a, int fieldwidth=0, int base=10, QChar fillChar=u' ') const
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
Combined button and popup list for selecting options.
constexpr const T & qMax(const T &a, const T &b)
GLsizei const GLchar *const * path
static QT_BEGIN_NAMESPACE bool isRelative(const QString &path)
QLatin1StringView QLatin1String
static int toInt(const QChar &qc, int R)
\inmodule QtCore \reentrant