calendarui/agendaeventviewer/inc/agendaeventviewer_p.h
changeset 68 a5a1242fd2e8
parent 50 579cc610882e
--- 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);