15 #ifndef BORNAGAIN_GUI_SUPPORT_IO_PROJECTUTILS_H
16 #define BORNAGAIN_GUI_SUPPORT_IO_PROJECTUTILS_H
27 QString
projectName(
const QString& projectFileName);
30 QString
projectDir(
const QString& projectFileName);
37 QString
autosaveDir(
const QString& projectFileName);
Defines convenience function for project manager and document.
constexpr const char * projectFileExtension
QString autosaveSubdir()
Returns fixed name for autosave sub-directory.
QString autosaveDir(const QString &projectFileName)
Returns name of autosave directory for project with given project file name. E.g. from '/projects/Unt...
bool hasAutosavedData(const QString &projectFileName)
Returns true if project with given projectFileName contains autosaved data.
QString projectDir(const QString &projectFileName)
Returns project directory deduced from project file name.
QString projectName(const QString &projectFileName)
Returns project name deduced from project file name.
QString autosaveName(const QString &projectFileName)
Returns name of project for autoSave from given project file name. E.g. from '/projects/Untitled2/Unt...