diff -r 27feeedec790 -r 7ac58b2aae6f calendarui/views/inc/calennativeview.h --- a/calendarui/views/inc/calennativeview.h Mon Sep 06 15:58:44 2010 +0530 +++ b/calendarui/views/inc/calennativeview.h Mon Sep 20 12:44:39 2010 +0530 @@ -26,6 +26,8 @@ #endif // System includes +#include +#include #include #include #include @@ -64,10 +66,11 @@ void HandleNotification( const TCalenNotification notification ); virtual void onLocaleChanged(int reason)=0; virtual void onContextChanged() {}; - + virtual bool checkIfWeCanSwipe(QDateTime& date, bool rightGesture); + signals: - void closeDialogs(); - + void closeDialogs(); + protected slots: void goToDate(); @@ -81,7 +84,9 @@ * */ void saveActivity(); - + private: + void refreshDatePicker(); + protected: MCalenServices &mServices; // not owned. @@ -89,7 +94,7 @@ QVariantHash mScreenShotMetadata; // Screenshot bool mEntriesInDataBase; private: - HbDateTimePicker *mDatePicker; + QPointer mDatePicker; bool mIsCapturedScreenShotValid; // to check if the captured screenshot is valid };