 |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
Go to the documentation of this file.
12 #include <QStringList>
143 const std::function<
bool (QFileInfo)>& filter = {});
QStringList GetPathCandidates(SysPath path, QString suffix)
Returns possible full paths for the path and subfolder.
Contains information about a partition's disk space.
SysPath
Describes various root paths recognized by GetSysPath().
QString FindInSystemPath(const QString &name, const QStringList &paths, const std::function< bool(QFileInfo)> &filter)
Searches for a file in system paths according to a filter.
QDir GetUserDir(UserDir dir, const QString &subpath)
quint64 Capacity_
The capacity of the partition.
quint64 Free_
How much free space there is.
@ Cache
Cache for volatile data.
QDir CreateIfNotExists(QString path)
Creates a path if it doesn't exist.
@ QML
Root path for QML files.
QUrl GetSysPathUrl(SysPath path, const QString &subfolder, const QString &filename)
Returns path to the file in the given root path and subfolder.
QString GetSysPath(SysPath path, const QString &suffix, const QString &filename)
Returns path to the file in the given root path and subfolder.
QStringList GetSystemPaths()
Returns the components of the system PATH variable.
@ Share
Directory with shared data files.
quint64 Available_
How much space is available to the current user.
UserDir
Describes various user-specific paths.
QString GetTemporaryName(const QString &pattern)
Returns a temporary filename.
SpaceInfo GetSpaceInfo(const QString &path)
Returns the disk space info of the partition containing path.