46 void addSelectedContactFromHistory(const QModelIndex &modelIndex); |
46 void addSelectedContactFromHistory(const QModelIndex &modelIndex); |
47 |
47 |
48 protected: // from HbLineEdit |
48 protected: // from HbLineEdit |
49 void keyPressEvent(QKeyEvent *event); |
49 void keyPressEvent(QKeyEvent *event); |
50 void inputMethodEvent(QInputMethodEvent *event); |
50 void inputMethodEvent(QInputMethodEvent *event); |
|
51 void gestureEvent(QGestureEvent* event); |
51 |
52 |
52 private: |
53 private: |
53 void generateEmailAddressList(); |
54 void generateEmailAddressList(); |
54 void createAutofillComponents(); |
55 void createAutofillComponents(); |
55 void createAutoFillPopup(); |
56 void createAutoFillPopup(); |
56 void showAutofillPopup(); |
57 void showAutofillPopup(); |
57 void hideAutofillPopup(); |
58 void hideAutofillPopup(); |
58 void currentTextPart(int& startIndex, int& length); |
59 void currentTextPart(int& startIndex, int& length); |
59 void getChosenAddressFromModel(const QModelIndex &modelIndex, NmAddress &address); |
60 void getChosenAddressFromModel(const QModelIndex &modelIndex, NmAddress &address); |
60 void setHighlight(int currentPos); |
61 void setHighlight(int currentPos); |
61 void gestureEvent(QGestureEvent* event); |
|
62 void handleTap(); |
62 void handleTap(); |
63 void insertContactText(const QString &text); |
63 void insertContactText(const QString &text); |
64 void keyPressEventSemicolon(QKeyEvent *event); |
64 void keyPressEventSemicolon(QKeyEvent *event); |
65 void keyPressEventDelete(QKeyEvent *event); |
65 void keyPressEventDelete(QKeyEvent *event); |
66 void keyPressEventLeft(QKeyEvent *event); |
66 void keyPressEventLeft(QKeyEvent *event); |