Minor improvement and remove some use of ElementsCollectionItem and ElementsDefinition

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4407 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-03-29 17:23:58 +00:00
parent dd5d9c9504
commit 95e309ff18
8 changed files with 44 additions and 128 deletions

View File

@@ -67,19 +67,16 @@ class ElementsLocation
XmlElementCollection *projectCollection() const;
NamesList nameList();
QDomElement xml();
QUuid uuid();
QIcon icon();
QString name();
QDomElement xml() const;
QUuid uuid() const;
QIcon icon() const;
QString name() const;
QString fileName() const;
private:
QString m_collection_path;
QString m_file_system_path;
QETProject *m_project = nullptr;
QDomElement m_xml;
QUuid m_uuid;
QIcon m_icon;
public:
static int MetaTypeId; ///< Id of the corresponding Qt meta type