34 QML_NAMED_ELEMENT(StandardPaths)
35 QML_ADDED_IN_VERSION(6, 2)
36 QML_EXTENDED_NAMESPACE(QStandardPaths)
39 explicit QQmlStandardPaths(QObject *parent =
nullptr);
41 Q_INVOKABLE QString displayName(QStandardPaths::StandardLocation type)
const;
42 Q_INVOKABLE QUrl findExecutable(
const QString &executableName,
const QStringList &paths = QStringList())
const;
43 Q_INVOKABLE QUrl locate(QStandardPaths::StandardLocation type,
const QString &fileName,
44 QStandardPaths::LocateOptions options = QStandardPaths::LocateFile)
const;
45 Q_INVOKABLE QList<QUrl> locateAll(QStandardPaths::StandardLocation type,
const QString &fileName,
46 QStandardPaths::LocateOptions options = QStandardPaths::LocateFile)
const;
47 Q_INVOKABLE QList<QUrl> standardLocations(QStandardPaths::StandardLocation type)
const;
48 Q_INVOKABLE QUrl writableLocation(QStandardPaths::StandardLocation type)
const;