Rename addAttribute() to setAttribute() and addAttachment() to setAttachment().

This commit is contained in:
Felix Geyer
2012-01-07 16:22:11 +01:00
parent 40e96ad7b3
commit e397080d79
4 changed files with 13 additions and 13 deletions

View File

@@ -43,7 +43,7 @@ void TestKeePass2Writer::initTestCase()
group->setUuid(Uuid::random());
Entry* entry = new Entry();
entry->setUuid(Uuid::random());
entry->addAttribute("test", "protectedTest", true);
entry->setAttribute("test", "protectedTest", true);
QVERIFY(entry->isAttributeProtected("test"));
entry->setGroup(group);
Group* groupNew = new Group();