Move attributes and attachments handking from Entry into own classes.

This commit is contained in:
Felix Geyer
2012-04-14 15:38:20 +02:00
parent dabb1800c6
commit d4a94a8996
12 changed files with 477 additions and 226 deletions

View File

@@ -555,7 +555,7 @@ void KeePass2XmlReader::parseEntryString(Entry *entry)
}
}
entry->setAttribute(key, value, isProtected);
entry->attributes()->set(key, value, isProtected);
}
else {
skipCurrentElement();
@@ -582,7 +582,7 @@ void KeePass2XmlReader::parseEntryBinary(Entry *entry)
m_randomStream->processInPlace(value);
}
entry->setAttachment(key, value, isProtected);
entry->attachments()->set(key, value, isProtected);
}
else {
skipCurrentElement();