calendarui/controller/inc/calendeleteui.h
changeset 50 579cc610882e
parent 26 a949c2543c15
child 58 ef813d54df51
equal deleted inserted replaced
49:5de72ea7a065 50:579cc610882e
   179      * he/she wants to delete instance/instances
   179      * he/she wants to delete instance/instances
   180      */
   180      */
   181     void showDeleteQuery(const TDeleteConfirmationType type,
   181     void showDeleteQuery(const TDeleteConfirmationType type,
   182                          const int count = 0);
   182                          const int count = 0);
   183     
   183     
   184     /**
       
   185      * Deletes the entries before the selected date
       
   186      */
       
   187     void getSelectedDateAndDelete();
       
   188 
       
   189 private: // own methods
   184 private: // own methods
   190     /**
   185     /**
   191      * C++ constructor
   186      * C++ constructor
   192      */
   187      */
   193     CalenDeleteUi( CCalenController& aController, QObject *parent = 0 );
   188     CalenDeleteUi( CCalenController& aController, QObject *parent = 0 );
   237     
   232     
   238     bool iIsDeleting; // True, if asynchronous delete is running
   233     bool iIsDeleting; // True, if asynchronous delete is running
   239     QDateTime iStartTime;
   234     QDateTime iStartTime;
   240     QDateTime iEndTime;
   235     QDateTime iEndTime;
   241     HbDateTimePicker *mDatePicker;
   236     HbDateTimePicker *mDatePicker;
       
   237     HbAction *mDeleteAction;
       
   238     HbAction *mCancelAction;
   242     // Confirmation note id is stored here. Note is shown when asynchronous
   239     // Confirmation note id is stored here. Note is shown when asynchronous
   243     // delete completes.
   240     // delete completes.
   244     int iConfirmationNoteId;
   241     int iConfirmationNoteId;
   245     CCalenController& iController;
   242     CCalenController& iController;
   246     TCalenCommandId mDeleteCommand;
   243     TCalenCommandId mDeleteCommand;