Definition at line 27 of file projectmanager.cpp.
◆ ProjectManagerImpl()
ProjectManager::ProjectManagerImpl::ProjectManagerImpl |
( |
ProjectContext |
context | ) |
|
|
inline |
◆ createNewProject()
void ProjectManager::ProjectManagerImpl::createNewProject |
( |
| ) |
|
|
inline |
Closes current project. Used in assumption that project was already saved.
Definition at line 37 of file projectmanager.cpp.
MVVM_MODEL_EXPORT std::unique_ptr< ProjectInterface > CreateUntitledProject(const ProjectContext &context)
Creates new untitled project.
std::unique_ptr< ProjectInterface > m_current_project
References ModelView::ProjectUtils::CreateUntitledProject().
◆ isModified()
bool ProjectManager::ProjectManagerImpl::isModified |
( |
| ) |
const |
|
inline |
Returns true if project has been modified after the last save.
Definition at line 58 of file projectmanager.cpp.
◆ loadFrom()
bool ProjectManager::ProjectManagerImpl::loadFrom |
( |
const std::string & |
dirname | ) |
|
|
inline |
◆ projectHasDir()
bool ProjectManager::ProjectManagerImpl::projectHasDir |
( |
| ) |
const |
|
inline |
Returns true if the project has directory already defined.
Definition at line 43 of file projectmanager.cpp.
◆ saveCurrentProject()
bool ProjectManager::ProjectManagerImpl::saveCurrentProject |
( |
| ) |
|
|
inline |
Saves project in project directory. If directory is not defined.
Definition at line 46 of file projectmanager.cpp.
bool saveCurrentProjectAs(const std::string &dirname)
Saves the project into a given directory.
◆ saveCurrentProjectAs()
bool ProjectManager::ProjectManagerImpl::saveCurrentProjectAs |
( |
const std::string & |
dirname | ) |
|
|
inline |
◆ m_current_project
std::unique_ptr<ProjectInterface> ProjectManager::ProjectManagerImpl::m_current_project |
◆ m_project_context
The documentation for this struct was generated from the following file: