phonebookui/pbkcommonui/inc/cntaddressviewitem.h
changeset 46 efe85016a067
parent 31 2a11b5b00470
child 61 d30183af6ca6
equal deleted inserted replaced
40:b46a585f6909 46:efe85016a067
    30     
    30     
    31 public:
    31 public:
    32     CntAddressViewItem( QGraphicsItem* aParent = 0 );
    32     CntAddressViewItem( QGraphicsItem* aParent = 0 );
    33     ~CntAddressViewItem();
    33     ~CntAddressViewItem();
    34 
    34 
    35 #ifdef PBK_UNIT_TEST
       
    36 public slots:
       
    37 #else
       
    38 private slots:
    35 private slots:
    39 #endif    
       
    40     void launchLocationPicker();
    36     void launchLocationPicker();
    41     
    37     
    42 public:
    38 public:
    43     HbAbstractViewItem* createItem();
    39     HbAbstractViewItem* createItem();
    44     HbWidget* createCustomWidget();
    40     HbWidget* createCustomWidget();
    45     
    41     
    46     bool canSetModelIndex( const QModelIndex &index ) const;
    42     bool canSetModelIndex( const QModelIndex &index ) const;
    47     
    43     
    48 #ifdef PBK_UNIT_TEST
       
    49 public:
       
    50 #else
       
    51 private:
    44 private:
    52 #endif    
       
    53     void handleLocationChange(const QVariant& aValue );
    45     void handleLocationChange(const QVariant& aValue );
    54 
    46 
       
    47     friend class T_AddressEditorTest;
    55 };
    48 };
    56 
    49 
    57 #endif /* CNTADDRESSVIEWITEM_H_ */
    50 #endif /* CNTADDRESSVIEWITEM_H_ */