Container< T > Filter(const Container< T > &c, F f)
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.
QString GetTemporaryName(const QString &pattern)
Returns a temporary filename.
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.
UserDir
Describes various user-specific paths.
@ Cache
Cache for volatile data.
QStringList GetPathCandidates(SysPath path, QString suffix)
Returns possible full paths for the path and subfolder.
QDir GetUserDir(UserDir dir, const QString &subpath)
QUrl GetSysPathUrl(SysPath path, const QString &subfolder, const QString &filename)
Returns path to the file in the given root path and subfolder.
SysPath
Describes various root paths recognized by GetSysPath().
@ Share
Directory with shared data files.
@ QML
Root path for QML files.
SpaceInfo GetSpaceInfo(const QString &path)
Returns the disk space info of the partition containing path.
QDir CreateIfNotExists(QString path)
Creates a path if it doesn't exist.
Contains information about a partition's disk space.
quint64 Free_
How much free space there is.
quint64 Capacity_
The capacity of the partition.
quint64 Available_
How much space is available to the current user.