phonebookui/pbkcommonui/inc/cntactionmenubuilder.h
changeset 37 fd64c38c277d
parent 31 2a11b5b00470
child 47 7cbcb2896f0e
equal deleted inserted replaced
31:2a11b5b00470 37:fd64c38c277d
    35 public:
    35 public:
    36     CntActionMenuBuilder( QContactLocalId aMyCardId );
    36     CntActionMenuBuilder( QContactLocalId aMyCardId );
    37     ~CntActionMenuBuilder();
    37     ~CntActionMenuBuilder();
    38     
    38     
    39 public:
    39 public:
    40     HbMenu* actionMenu( QContact& aContact );
    40     HbMenu* actionMenu( QContact& aContact, QContactLocalId myCardId );
    41     
    41     
    42 public:
    42 public:
    43     HbMenu* buildActionMenu( QContact& aContact );
    43     HbMenu* buildActionMenu( QContact& aContact );
    44     
    44     
    45 signals:
    45 signals:
    63 #endif
    63 #endif
    64     
    64     
    65     void createCallAction( HbMenu& aMenu, QContact& aContact );
    65     void createCallAction( HbMenu& aMenu, QContact& aContact );
    66     void createMessageAction( HbMenu& aMenu, QContact& aContact );
    66     void createMessageAction( HbMenu& aMenu, QContact& aContact );
    67     void createEmailAction( HbMenu& aMenu, QContact& aContact );
    67     void createEmailAction( HbMenu& aMenu, QContact& aContact );
       
    68     bool isSupportedDetails( const QString &actionName, const QContact &contact );
       
    69 
    68 private:
    70 private:
    69     QContactLocalId iMyCardId;
    71     QContactLocalId iMyCardId;
    70     QContact* mContact;
    72     QContact* mContact;
    71     CntStringMapper* mMap;
    73     CntStringMapper* mMap;
    72     };
    74     };