phonebookui/pbkcommonui/inc/cntcontactcardview_p.h
changeset 31 2a11b5b00470
parent 27 de1630741fbe
child 37 fd64c38c277d
equal deleted inserted replaced
27:de1630741fbe 31:2a11b5b00470
    69 
    69 
    70 private slots:
    70 private slots:
    71     void sendBusinessCard();
    71     void sendBusinessCard();
    72     void addToGroup();
    72     void addToGroup();
    73     void deleteContact();
    73     void deleteContact();
       
    74     void handleDeleteContact(HbAction *action);
    74     void setAsFavorite();
    75     void setAsFavorite();
    75     void removeFromFavorite();
    76     void removeFromFavorite();
    76     void progress(QContactAction::State status);
    77     void progress(QContactAction::State status);
    77     void setOrientation(Qt::Orientation orientation);
    78     void setOrientation(Qt::Orientation orientation);
    78     void showPreviousView();
    79     void showPreviousView();
       
    80     void doChangeImage();
       
    81     void doRemoveImage();
       
    82     
       
    83     void handleMenuAction(HbAction* aAction);
       
    84     void handleSendBusinessCard( HbAction* aAction );
    79     
    85     
    80 public:
    86 public:
    81     CntContactCardView* q_ptr;    
    87     CntContactCardView* q_ptr;    
    82     void activate(CntAbstractViewManager* aMgr, const CntViewParameters aArgs);
    88     void activate(CntAbstractViewManager* aMgr, const CntViewParameters aArgs);
    83     void deactivate();
    89     void deactivate();
    95 #ifdef PBK_UNIT_TEST
   101 #ifdef PBK_UNIT_TEST
    96 public:
   102 public:
    97 #else
   103 #else
    98 private:
   104 private:
    99 #endif
   105 #endif
   100     void doChangeImage();
       
   101     void doRemoveImage();
       
   102     
       
   103     void launchAction(QContact contact, QContactDetail detail, QString action);
   106     void launchAction(QContact contact, QContactDetail detail, QString action);
   104     bool createVCard(QString& vCardPath);
   107     //bool createVCard(QString& vCardPath);
   105     bool isFavoriteGroupContact();
   108     bool isFavoriteGroupContact();
   106 	bool isFavoriteGroupCreated();
   109 	bool isFavoriteGroupCreated();
   107     
   110     
   108 #ifdef PBK_UNIT_TEST
   111 #ifdef PBK_UNIT_TEST
   109 public:
   112 public:
   122     ThumbnailManager            *mThumbnailManager;
   125     ThumbnailManager            *mThumbnailManager;
   123     QContact                    *mGroupContact;
   126     QContact                    *mGroupContact;
   124     QContactAvatar              *mAvatar;
   127     QContactAvatar              *mAvatar;
   125     bool                        mIsGroupMember;
   128     bool                        mIsGroupMember;
   126     bool                        mIsHandlingMenu;
   129     bool                        mIsHandlingMenu;
       
   130     bool                        mIsPreviousImageEditorView;
   127     QMap<QString, CntContactCardDetailItem*> mPreferredItems;
   131     QMap<QString, CntContactCardDetailItem*> mPreferredItems;
   128     int                         mFavoriteGroupId;
   132     int                         mFavoriteGroupId;
   129     CntDocumentLoader           *mLoader;
   133     CntDocumentLoader           *mLoader;
   130     QContactAction              *mContactAction;
   134     QContactAction              *mContactAction;
   131     HbAction                    *mBackKey;
   135     HbAction                    *mBackKey;
   132     CntImageLabel               *mImageLabel;
   136     CntImageLabel               *mImageLabel;
   133 	XQServiceRequest            *mHighwayService;
   137 	XQServiceRequest            *mHighwayService;
   134     HbIcon                      *mVCardIcon;
   138     HbIcon                      *mVCardIcon;
       
   139     
   135 };
   140 };
   136 
   141 
   137 #endif // CNTCOMMLAUNCHERVIEW_H
   142 #endif // CNTCOMMLAUNCHERVIEW_H
   138 
   143 
   139 // EOF
   144 // EOF