phonebookengines/cntlistmodel/inc/cntdefaultinfoprovider.h
changeset 46 efe85016a067
parent 40 b46a585f6909
child 61 d30183af6ca6
equal deleted inserted replaced
40:b46a585f6909 46:efe85016a067
    29    The default info provider plugin. It can provide the phone number and the
    29    The default info provider plugin. It can provide the phone number and the
    30    image url of a contact (text and icon1 field respectively).
    30    image url of a contact (text and icon1 field respectively).
    31  */
    31  */
    32 class CntDefaultInfoProvider : public CntInfoProvider
    32 class CntDefaultInfoProvider : public CntInfoProvider
    33 {
    33 {
       
    34     friend class TestCntDefaultInfoProvider;
    34     Q_OBJECT
    35     Q_OBJECT
       
    36     
    35 public:
    37 public:
    36     QString id() const { return "default"; };
    38     QString id() const { return "default"; };
    37     ContactInfoFields supportedFields() const;
    39     ContactInfoFields supportedFields() const;
    38     void requestInfo(const QContact& contact, ContactInfoFields requestedInfo);
    40     void requestInfo(const QContact& contact, ContactInfoFields requestedInfo);
    39 };
    41 };