mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-08 14:49:58 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user