Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmlstandardpaths.cpp File Reference
#include "qqmlstandardpaths_p.h"
#include <QtQml/qqmlengine.h>
#include "moc_qqmlstandardpaths_p.cpp"
+ Include dependency graph for qqmlstandardpaths.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE QList< QUrltoUrlList (const QStringList &paths)
 \qmltype StandardPaths \inherits QtObject \inqmlmodule QtCore
 

Function Documentation

◆ toUrlList()

static QT_BEGIN_NAMESPACE QList< QUrl > toUrlList ( const QStringList paths)
static

\qmltype StandardPaths \inherits QtObject \inqmlmodule QtCore

Since
6.2

Provides access to the standard system paths.

The StandardPaths singleton type provides methods for querying the standard system paths.

\qml property url documentsFolder: StandardPaths.writableLocation(StandardPaths.DocumentsLocation) \endqml

See also
QStandardPaths

Definition at line 27 of file qqmlstandardpaths.cpp.

References QUrl::fromLocalFile(), and QList< T >::reserve().

Referenced by QQmlStandardPaths::locateAll(), and QQmlStandardPaths::standardLocations().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: