diff -r bb2d3e476f29 -r a3cb48f6c889 calendarui/agendaeventviewer/inc/agendaeventviewer_p.h --- a/calendarui/agendaeventviewer/inc/agendaeventviewer_p.h Mon Aug 09 18:30:52 2010 +0530 +++ b/calendarui/agendaeventviewer/inc/agendaeventviewer_p.h Wed Aug 25 14:02:13 2010 +0530 @@ -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);