Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qqmlstandardpaths.cpp File Reference

(9edd4becff099aae2a31f8e1af9f44393990a71d)

#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().

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

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