| 65 | |
| 66 | |
| 67 | QDomElement JournallingObject::saveState( QDomDocument & _doc, |
| 68 | QDomElement & _parent ) |
| 69 | { |
| 70 | if( isJournalling() ) |
| 71 | { |
| 72 | QDomElement _this = SerializingObject::saveState( _doc, _parent ); |
| 73 | |
| 74 | QDomElement journalNode = _doc.createElement( "journallingObject" ); |
| 75 | journalNode.setAttribute( "id", id() ); |
| 76 | journalNode.setAttribute( "metadata", true ); |
| 77 | _this.appendChild( journalNode ); |
| 78 | |
| 79 | return _this; |
| 80 | } else { |
| 81 | return QDomElement(); |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | |
| 86 |
nothing calls this directly
no test coverage detected