Element SQLite cache : replace the column mtime by uuid.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4223 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-10-03 15:41:59 +00:00
parent 4edd1f3f24
commit 3e42c3918b
5 changed files with 170 additions and 88 deletions

View File

@@ -32,17 +32,19 @@ class ElementDefinition : public ElementsCollectionItem {
/**
Constructor
*/
ElementDefinition(ElementsCategory *category = 0, ElementsCollection *collection = 0) : ElementsCollectionItem(category), parent_category_(category), parent_collection_(collection) {};
/**
Destructor
*/
ElementDefinition(ElementsCategory *category = 0, ElementsCollection *collection = 0) :
ElementsCollectionItem(category),
parent_category_(category),
parent_collection_(collection)
{};
virtual ~ElementDefinition() {};
/**
@return the XML definition of a particular element
*/
virtual QDomElement xml() = 0;
virtual QUuid uuid();
/**
Specify the XML definition of a particular element
@@ -124,5 +126,6 @@ class ElementDefinition : public ElementsCollectionItem {
private:
ElementsCategory *parent_category_;
ElementsCollection *parent_collection_;
QUuid m_uuid;
};
#endif