mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 09:40:52 +01:00
Implemented a SQLite-based cache to speed up the elements panel loading.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1329 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -115,6 +115,14 @@ bool XmlElementsCollection::write() {
|
||||
return(true);
|
||||
}
|
||||
|
||||
/**
|
||||
@return always false, since an XMl-based elements collection should never
|
||||
be cached.
|
||||
*/
|
||||
bool XmlElementsCollection::isCacheable() const {
|
||||
return(false);
|
||||
}
|
||||
|
||||
QDomElement XmlElementsCollection::writeXml(QDomDocument &xml_doc) const {
|
||||
QDomElement collection_elmt = root -> writeXml(xml_doc);
|
||||
collection_elmt.setTagName("collection");
|
||||
|
||||
Reference in New Issue
Block a user