Project embedded collection, Clean unused elements and empty directory work again

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4568 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-07-09 18:24:40 +00:00
parent b6816c9e49
commit 518f0efd46
5 changed files with 123 additions and 4 deletions

View File

@@ -31,6 +31,7 @@
#include "qettemplateeditor.h"
#include "diagramfoliolist.h"
#include "projectpropertiesdialog.h"
#include "xmlelementcollection.h"
/**
Constructeur
@@ -806,6 +807,12 @@ int ProjectView::cleanProject() {
if (clean_tbt -> isChecked()) {
m_project->embeddedTitleBlockTemplatesCollection()->deleteUnusedTitleBlocKTemplates();
}
if (clean_elements->isChecked()) {
m_project->embeddedElementCollection()->cleanUnusedElement();
}
if (clean_categories->isChecked()) {
m_project->embeddedElementCollection()->cleanUnusedDirectory();
}
}
return(clean_count);