--- a/notes/tsrc/unittest_noteseditor/src/unittest_noteseditor.cpp Mon Jul 12 02:32:28 2010 +0530
+++ b/notes/tsrc/unittest_noteseditor/src/unittest_noteseditor.cpp Mon Jul 26 13:54:38 2010 +0530
@@ -18,12 +18,12 @@
// System include
#include <QtTest/QtTest>
#include <HbMainWindow>
-#include <NotesEditor>
#include <AgendaUtil>
#include <AgendaEntry>
// User includes
#include "unittest_noteseditor.h"
+#include "noteseditor.h"
/*!
@@ -211,7 +211,7 @@
entry.setType(AgendaEntry::TypeNote);
entry.setDescription("A simple note");
- ulong id = agendaUtil->addEntry(entry);
+ ulong id = agendaUtil->store(entry);
notesEditor->edit(id);
@@ -260,7 +260,7 @@
entry.setStatus(AgendaEntry::TodoNeedsAction);
entry.setPriority(2);
- ulong id = agendaUtil->addEntry(entry);
+ ulong id = agendaUtil->store(entry);
// Call edit on agenda entry
notesEditor->edit(entry);
@@ -303,7 +303,7 @@
entry.setStatus(AgendaEntry::TodoNeedsAction);
entry.setPriority(2);
- ulong id = agendaUtil->addEntry(entry);
+ ulong id = agendaUtil->store(entry);
// Call edit using the id
notesEditor->edit(id);
@@ -452,7 +452,7 @@
entry.setStatus(AgendaEntry::TodoNeedsAction);
entry.setPriority(2);
- ulong id = agendaUtil->addEntry(entry);
+ ulong id = agendaUtil->store(entry);
// Call edit on agenda entry
notesEditor->edit(entry);
@@ -495,7 +495,7 @@
entry.setStatus(AgendaEntry::TodoNeedsAction);
entry.setPriority(2);
- ulong id = agendaUtil->addEntry(entry);
+ ulong id = agendaUtil->store(entry);
// Call edit on agenda entry
notesEditor->edit(entry);