DStandardPaths提供兼容Snap/Dtk标准的路径模式。DStandardPaths实现了Qt的QStandardPaths主要接口.
更多...
|
enum | Mode { Auto
, Snap
, Test
} |
|
enum class | XDG { DataHome
, ConfigHome
, CacheHome
, RuntimeTime
} |
|
enum class | DSG { AppData
, DataDir
} |
|
|
static QString | writableLocation (QStandardPaths::StandardLocation type) |
|
static QStringList | standardLocations (QStandardPaths::StandardLocation type) |
|
static QString | locate (QStandardPaths::StandardLocation type, const QString &fileName, QStandardPaths::LocateOptions options=QStandardPaths::LocateFile) |
|
static QStringList | locateAll (QStandardPaths::StandardLocation type, const QString &fileName, QStandardPaths::LocateOptions options=QStandardPaths::LocateFile) |
|
static QString | findExecutable (const QString &executableName, const QStringList &paths=QStringList()) |
|
static void | setMode (Mode mode) |
|
static QString | homePath () |
|
static QString | homePath (const uint uid) |
|
static QString | path (XDG type) |
|
static QString | path (DSG type) |
|
static QStringList | paths (DSG type) |
|
static QString | filePath (XDG type, QString fileName) |
|
static QString | filePath (DSG type, QString fileName) |
|
DStandardPaths提供兼容Snap/Dtk标准的路径模式。DStandardPaths实现了Qt的QStandardPaths主要接口.
\inmodule dtkcore
- 参见
- QStandardPaths
该类的文档由以下文件生成: