notes/notesui/notesmodel/inc/notesmodel.h
changeset 23 fd30d51f876b
parent 18 c198609911f9
child 26 a949c2543c15
--- a/notes/notesui/notesmodel/inc/notesmodel.h	Fri Apr 16 14:57:40 2010 +0300
+++ b/notes/notesui/notesmodel/inc/notesmodel.h	Mon May 03 12:30:32 2010 +0300
@@ -31,6 +31,7 @@
 class QAbstractItemModel;
 class QStandardItemModel;
 class AgendaUtil;
+class AgendaEntry;
 
 NOTES_TEST_CLASS(TestNotesModel)
 
@@ -57,12 +58,14 @@
 
 private:
 	void modifyEntryInModel(ulong id, int row);
-	void appendNotesToModel(QList<ulong> &ids);
-	void appendInCompTodosToModel(QList<ulong> &ids);
-	void appendCompTodosToModel(QList<ulong> &ids);
+	void appendNotesToModel(QList<AgendaEntry> &agendaEntryList);
+	void appendInCompTodosToModel(QList<AgendaEntry> &agendaEntryList);
+	void appendCompTodosToModel(QList<AgendaEntry> &agendaEntryList);
 	bool insertNoteToModel(QModelIndex &index, ulong id);
 	bool insertInCompTodoToModel(QModelIndex &index, ulong id);
 	bool insertCompTodoToModel(QModelIndex &index, ulong id);
+	QString dateFormatString();
+	QString timeFormatString();
 
 private:
 	QStandardItemModel *mSourceModel;