diff -r efe85016a067 -r 7cbcb2896f0e inc/cntglobal.h --- a/inc/cntglobal.h Wed Jun 23 18:02:44 2010 +0300 +++ b/inc/cntglobal.h Tue Jul 06 14:05:47 2010 +0300 @@ -31,12 +31,21 @@ #endif #endif +// Format: qtcontacts::=&= +static const QString SYMBIAN_BACKEND = "qtcontacts:symbian:"; +static const QString SIM_BACKEND = "qtcontacts:symbiansim:"; +static const QString SIM_BACKEND_ADN = "qtcontacts:symbiansim:store=ADN"; +static const QString SIM_BACKEND_SDN = "qtcontacts:symbiansim:store=SDN"; -// Format: qtcontacts::=&= -const QString SYMBIAN_BACKEND = "qtcontacts:symbian:"; -const QString SIM_BACKEND = "qtcontacts:symbiansim:"; -const QString SIM_BACKEND_ADN = "qtcontacts:symbiansim:store=ADN"; -const QString SIM_BACKEND_SDN = "qtcontacts:symbiansim:store=SDN"; - +/* + * Contact action definitions used in the view parameters to inform views + * of what action took place. Views also use this defintions to tell what + * action they performed on a contact + */ +#define CNT_EDIT_ACTION "edit" +#define CNT_CREATE_ACTION "create" +#define CNT_ADD_ACTION "add" +#define CNT_FOCUS_ACTION "focus" +#define CNT_SAVE_ACTION "save" #endif // CNTGLOBAL_H