19 #define CALENEDITORCOMMON_H_ |
19 #define CALENEDITORCOMMON_H_ |
20 |
20 |
21 #include <hbdataformmodelitem.h> |
21 #include <hbdataformmodelitem.h> |
22 |
22 |
23 #define CALEN_EDITOR_XML_FILE ":/xml/caleneditorview.docml" |
23 #define CALEN_EDITOR_XML_FILE ":/xml/caleneditorview.docml" |
|
24 #define CALEN_EDITOR_LOCATION_XML_FILE ":/xml/caleneditorlocationitem.docml" |
24 #define CALEN_EDITOR_VIEW "calenEditorview" |
25 #define CALEN_EDITOR_VIEW "calenEditorview" |
25 #define CALEN_EDITOR_HEADING "calenEditorHeadingWidget" |
26 #define CALEN_EDITOR_HEADING "calenEditorHeadingWidget" |
26 #define CALEN_EDITOR_DATAFORM "calenEditorDataFormWidget" |
27 #define CALEN_EDITOR_DATAFORM "calenEditorDataFormWidget" |
|
28 #define CALEN_EDITOR_LOCATION "calenEditorLocationWidget" |
|
29 #define CALEN_EDITOR_LOCATION_LINEEDIT "locationLineEdit" |
|
30 #define CALEN_EDITOR_LOCATION_PUSHBUTTON "locationPushButton" |
27 #define CALEN_EDITOR_ADD_DESCRIPTION_ACTION "addDescriptionAction" |
31 #define CALEN_EDITOR_ADD_DESCRIPTION_ACTION "addDescriptionAction" |
28 #define CALEN_EDITOR_DELETE_EVENT_ACTION "deleteEventAction" |
32 #define CALEN_EDITOR_DELETE_EVENT_ACTION "deleteEventAction" |
29 |
33 |
30 enum CustomItemOffset { |
34 enum CustomItemOffset { |
31 CustomWidgetFrom = HbDataFormModelItem::CustomItemBase + 1, |
35 CustomWidgetFrom = HbDataFormModelItem::CustomItemBase + 1, |
32 CustomWidgetTo, |
36 CustomWidgetTo, |
|
37 CustomWidgetLocation, |
33 RepeatUntilOffset |
38 RepeatUntilOffset |
34 }; |
39 }; |
35 |
40 |
36 #endif /* CALENEDITORCOMMON_H_ */ |
41 #endif /* CALENEDITORCOMMON_H_ */ |