diff -r ef813d54df51 -r a5a1242fd2e8 calendarui/agendaeventviewer/inc/agendaeventviewer_p.h --- a/calendarui/agendaeventviewer/inc/agendaeventviewer_p.h Wed Aug 18 09:47:38 2010 +0300 +++ b/calendarui/agendaeventviewer/inc/agendaeventviewer_p.h Thu Sep 02 20:25:23 2010 +0300 @@ -43,6 +43,18 @@ void view(const ulong id, AgendaEventViewer::Actions action); void view(const QFile &fileHandle, AgendaEventViewer::Actions action); void view(AgendaEntry entry, AgendaEventViewer::Actions action); + + /** + * close the editor and save the entry + * should be call if editor is open + */ + void saveAndCloseEditor(); + + /** + * close agenda event view + * should be call if agenda eevent view is open + */ + void closeAgendaEventView(); private slots: void viewingCompleted(const QDate date);