equal
deleted
inserted
replaced
18 #ifndef CNTDETAILMODEL_H_ |
18 #ifndef CNTDETAILMODEL_H_ |
19 #define CNTDETAILMODEL_H_ |
19 #define CNTDETAILMODEL_H_ |
20 |
20 |
21 #include <hbdataformmodel.h> |
21 #include <hbdataformmodel.h> |
22 #include <qtcontacts.h> |
22 #include <qtcontacts.h> |
23 #include "qtpbkglobal.h" |
23 #include "cntglobal.h" |
24 |
24 |
25 QTM_BEGIN_NAMESPACE |
25 QTM_BEGIN_NAMESPACE |
26 class QContact; |
26 class QContact; |
|
27 class QContactDetail; |
27 QTM_END_NAMESPACE |
28 QTM_END_NAMESPACE |
28 |
29 |
29 QTM_USE_NAMESPACE |
30 QTM_USE_NAMESPACE |
30 |
31 |
31 class CntDetailEditorModel : public HbDataFormModel |
32 class CntDetailEditorModel : public HbDataFormModel |
36 inline CntDetailEditorModel( QContact* aContact ); |
37 inline CntDetailEditorModel( QContact* aContact ); |
37 inline ~CntDetailEditorModel(); |
38 inline ~CntDetailEditorModel(); |
38 |
39 |
39 public: |
40 public: |
40 inline QContact* contact() const; |
41 inline QContact* contact() const; |
|
42 virtual QContactDetail detail() const = 0; |
41 |
43 |
42 virtual void saveContactDetails() = 0; |
44 virtual void saveContactDetails() = 0; |
43 virtual void insertDetailField(){} |
45 virtual void insertDetailField(){} |
44 |
46 |
45 protected: |
47 protected: |