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