mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 10:30:53 +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:
@@ -213,6 +213,17 @@ void XmlElementDefinition::setFilePath(const QString &) {
|
||||
// une categorie XML n'a pas de chemin de type fichier
|
||||
}
|
||||
|
||||
/**
|
||||
@return a null QDateTime object since an XML element does not have a
|
||||
modification time.
|
||||
*/
|
||||
/**
|
||||
@return the time of the last modification (mtime) for this element file
|
||||
*/
|
||||
QDateTime XmlElementDefinition::modificationTime() const {
|
||||
return QDateTime();
|
||||
}
|
||||
|
||||
QDomElement XmlElementDefinition::writeXml(QDomDocument &xml_doc) const {
|
||||
QDomElement element_elmt = xml_element_.documentElement();
|
||||
QDomNode new_node = xml_doc.importNode(element_elmt, true);
|
||||
|
||||
Reference in New Issue
Block a user