DtkCore
DTK Core module
Dtk::Core::DStandardPaths类 参考

Public 类型

enum  Mode { Auto , Snap , Test }
 
enum class  XDG { DataHome , ConfigHome , CacheHome , RuntimeTime }
 
enum class  DSG { AppData , DataDir }
 

静态 Public 成员函数

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)
 

该类的文档由以下文件生成: