calendarui/agendaeventviewer/inc/agendaeventview.h
changeset 68 a5a1242fd2e8
parent 58 ef813d54df51
child 77 b0711afde476
--- a/calendarui/agendaeventviewer/inc/agendaeventview.h	Wed Aug 18 09:47:38 2010 +0300
+++ b/calendarui/agendaeventviewer/inc/agendaeventview.h	Thu Sep 02 20:25:23 2010 +0300
@@ -50,7 +50,19 @@
 	AgendaEventView(
 			AgendaEventViewerPrivate *owner, QObject *parent=0);
 	virtual ~AgendaEventView();
-
+public:
+	
+	/*
+	 * forcefully closing the editor.
+	 * should be call if view is open,
+	 */
+	void saveAndCloseEditor();
+    
+	/*
+     * forcefully closing the view.
+     * should be call if view is open,
+     */
+    void closeAgendaEventView();
 private:
 	void execute(AgendaEntry entry, AgendaEventViewer::Actions action);
 	void addViewerData();
@@ -125,6 +137,7 @@
 	QTimer *mProgressTimer;
 	int mProgressIconCount;  
 	bool mMaptileStatusReceived;
+	bool mCalenEditorClosed ;
 	int mMaptileStatus; 
 	bool mNotesPluginLoaded;