equal
deleted
inserted
replaced
96 mDocLoader->findWidget(TODO_EDITOR_SUB_HEADING)); |
96 mDocLoader->findWidget(TODO_EDITOR_SUB_HEADING)); |
97 Q_ASSERT(mSubHeading); |
97 Q_ASSERT(mSubHeading); |
98 |
98 |
99 mDataForm = static_cast<HbDataForm *> ( |
99 mDataForm = static_cast<HbDataForm *> ( |
100 mDocLoader->findWidget(TODO_EDITOR_DATA_FORM)); |
100 mDocLoader->findWidget(TODO_EDITOR_DATA_FORM)); |
101 |
101 mDataForm->setItemPixmapCacheEnabled(true); |
102 // Initialize the data form model. |
102 // Initialize the data form model. |
103 initFormModel(); |
103 initFormModel(); |
104 |
104 |
105 // Add menu actions. |
105 // Add menu actions. |
106 addMenu(); |
106 addMenu(); |
712 } |
712 } |
713 defaultActions.clear(); |
713 defaultActions.clear(); |
714 |
714 |
715 // Add delete and cancel actions. |
715 // Add delete and cancel actions. |
716 mDeleteTodoAction = new HbAction( |
716 mDeleteTodoAction = new HbAction( |
717 hbTrId("txt_notes_button_dialog_delete")); |
717 hbTrId("txt_common_button_delete")); |
718 mCancelDeleteAction = new HbAction( |
718 mCancelDeleteAction = new HbAction( |
719 hbTrId("txt_common_button_cancel")); |
719 hbTrId("txt_common_button_cancel")); |
720 confirmationQuery->addAction(mDeleteTodoAction); |
720 confirmationQuery->addAction(mDeleteTodoAction); |
721 confirmationQuery->addAction((mCancelDeleteAction)); |
721 confirmationQuery->addAction((mCancelDeleteAction)); |
722 |
722 |