equal
deleted
inserted
replaced
88 return false; |
88 return false; |
89 } |
89 } |
90 |
90 |
91 clear(); |
91 clear(); |
92 |
92 |
93 disconnect(this, SIGNAL(itemChanged(QTreeWidgetItem *, int)), |
93 disconnect(this, SIGNAL(itemChanged(QTreeWidgetItem*,int)), |
94 this, SLOT(updateDomElement(QTreeWidgetItem *, int))); |
94 this, SLOT(updateDomElement(QTreeWidgetItem*,int))); |
95 |
95 |
96 QDomElement child = root.firstChildElement("folder"); |
96 QDomElement child = root.firstChildElement("folder"); |
97 while (!child.isNull()) { |
97 while (!child.isNull()) { |
98 parseFolderElement(child); |
98 parseFolderElement(child); |
99 child = child.nextSiblingElement("folder"); |
99 child = child.nextSiblingElement("folder"); |
100 } |
100 } |
101 |
101 |
102 connect(this, SIGNAL(itemChanged(QTreeWidgetItem *, int)), |
102 connect(this, SIGNAL(itemChanged(QTreeWidgetItem*,int)), |
103 this, SLOT(updateDomElement(QTreeWidgetItem *, int))); |
103 this, SLOT(updateDomElement(QTreeWidgetItem*,int))); |
104 |
104 |
105 return true; |
105 return true; |
106 } |
106 } |
107 |
107 |
108 bool XbelTree::write(QIODevice *device) |
108 bool XbelTree::write(QIODevice *device) |