messagingapp/msgui/unifiedviewer/inc/univieweraddresswidget.h
changeset 52 12db4185673b
parent 34 84197e66a4bd
equal deleted inserted replaced
44:36f374c67aa8 52:12db4185673b
    73     void highlightText(bool highlight);
    73     void highlightText(bool highlight);
    74     
    74     
    75     /**
    75     /**
    76      * short tap handler.
    76      * short tap handler.
    77      * @param anchor anchor at cursor position.
    77      * @param anchor anchor at cursor position.
       
    78      * @param pos tap position.
    78      */
    79      */
    79     void shortTapAction(QString anchor); 
    80     void shortTapAction(QString anchor,const QPointF& pos); 
    80     
    81     
    81     /** Helper method to get contact id against phone number or e-mail id.
    82     /** Helper method to get contact id against phone number or e-mail id.
    82      * @param value phone number or email id.
    83      * @param value phone number or email id.
    83      * @param fieldName name of field to be matched.
    84      * @param fieldName name of field to be matched.
    84      * @param fieldType type of field to be matched.
    85      * @param fieldType type of field to be matched.
    85      */
    86      */
    86     int resolveContactId(const QString& value,
    87     int resolveContactId(const QString& value,
    87                          const QString& fieldName, 
    88                          const QString& fieldName, 
    88                          const QString& fieldType);
    89                          const QString& fieldType);
    89     
    90     
       
    91     /**
       
    92      * Helper method to populate menu items.
       
    93      * @param contextMenu menu to be populated.
       
    94      * @param data, highlighted number.
       
    95      */
       
    96     void populateMenu(HbMenu* contextMenu, const QString& data);
    90     
    97     
    91 private slots:
    98 private slots:
    92 
    99 
    93     /**
   100     /**
    94       * called when aboutToShowContextMenu signal is emitted.
   101       * called when aboutToShowContextMenu signal is emitted.