phonebookui/pbkcommonui/inc/cntcontactcarddatacontainer.h
changeset 46 efe85016a067
parent 40 b46a585f6909
child 47 7cbcb2896f0e
equal deleted inserted replaced
40:b46a585f6909 46:efe85016a067
    18 #ifndef CNTCOMMLAUNCHERLISTMODEL_H_
    18 #ifndef CNTCOMMLAUNCHERLISTMODEL_H_
    19 #define CNTCOMMLAUNCHERLISTMODEL_H_
    19 #define CNTCOMMLAUNCHERLISTMODEL_H_
    20 
    20 
    21 #include <QSharedData>
    21 #include <QSharedData>
    22 #include <qtcontacts.h>
    22 #include <qtcontacts.h>
    23 
    23 #include <cntmaptileservice.h>
    24 #include "cntstringmapper.h"
    24 #include "cntstringmapper.h"
    25 
    25 
    26 class CntContactCardDataItem;
    26 class CntContactCardDataItem;
    27 
    27 
    28 class CntContactCardDataContainer: public QObject
    28 class CntContactCardDataContainer: public QObject
    29 {
    29 {
    30     Q_OBJECT    
    30     Q_OBJECT    
    31 
    31 
    32 public:
    32 public:
    33     CntContactCardDataContainer(QContact* contact, QObject *parent = 0, bool myCard = false);
    33     CntContactCardDataContainer(QContact* contact, QObject *parent = 0, bool myCard = false,
       
    34             CntMapTileService* maptile = NULL );
    34     virtual ~CntContactCardDataContainer();
    35     virtual ~CntContactCardDataContainer();
    35 
    36 
    36 public:
    37 public:
    37     CntContactCardDataItem* dataItem(int index) const;
    38     CntContactCardDataItem* dataItem(int index) const;
    38     int itemCount() const;
    39     int itemCount() const;
    59     QContact*                       mContact;
    60     QContact*                       mContact;
    60     QList<CntContactCardDataItem*>  mDataItemList;
    61     QList<CntContactCardDataItem*>  mDataItemList;
    61     int                             mSeparatorIndex;
    62     int                             mSeparatorIndex;
    62     CntStringMapper                 mStringMapper;
    63     CntStringMapper                 mStringMapper;
    63     bool                            mLocationFeatureEnabled;
    64     bool                            mLocationFeatureEnabled;
    64 
    65     CntMapTileService*              mMaptileInterface;
    65 };
    66 };
    66 
    67 
    67 #endif /* CNTCOMMLAUNCHERLISTMODEL_H_ */
    68 #endif /* CNTCOMMLAUNCHERLISTMODEL_H_ */