Go to the documentation of this file.
24 mgx_EXPORT QString
stripDir(
const QString& dir, QString file);
27 mgx_EXPORT QString
getDir(QString file);
mgx_EXPORT QDir currentDir()
Get the current path as a directory.
mgx_EXPORT QString resolvePath(QString path)
Return the absolute file path, resolving things like environement variables and '~' for $HOME.
Distributed matrix library.
mgx_EXPORT QString getDir(QString file)
Get the directory containing a file (base of the name only)
mgx_EXPORT QString stripDir(const QString &dir, QString file)
Remove a directory from the file path.
mgx_EXPORT QString currentPath()
Get the current path.
mgx_EXPORT QString stripCurrentDir(QString file)
Returns the path relative to the current directory.
mgx_EXPORT bool setCurrentPath(const QString &path)
Set the current path.
mgx_EXPORT QString absoluteFilePath(QString filename)
Return the absolute path to a file.