ElementsCategoryEditor : remove the use of ElementsCategory

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4475 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-05-12 15:41:55 +00:00
parent 432ab44c28
commit 5f93966984
8 changed files with 292 additions and 145 deletions

View File

@@ -50,6 +50,7 @@ class XmlElementCollection : public QObject
bool addElementDefinition (const QString &dir_path, const QString &elmt_name, const QDomElement &xml_definition);
ElementsLocation copy (ElementsLocation &source, ElementsLocation &destination, QString rename = QString(), bool deep_copy = true);
bool exist (const QString &path);
bool createDir (QString path, QString name, const NamesList &name_list);
private:
ElementsLocation copyDirectory(ElementsLocation &source, ElementsLocation &destination, QString rename = QString(), bool deep_copy = true);
@@ -68,8 +69,12 @@ class XmlElementCollection : public QObject
* @param collection_path, the path of this element in this collection
*/
void elementChanged (QString collection_path);
public slots:
/**
* @brief directorieAdded
* This signal is emited when a directorie is added to this collection
* @param collection_path, the path of the new directorie
*/
void directorieAdded(QString collection_path);
private:
QDomDocument m_dom_document;