diff -r ef813d54df51 -r a5a1242fd2e8 calendarui/agendaeventviewer/inc/agendaeventview.h --- 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;