60 |
59 |
61 /** |
60 /** |
62 * setter method to set address |
61 * setter method to set address |
63 */ |
62 */ |
64 void setAddresses(ConvergedMessageAddressList addrlist); |
63 void setAddresses(ConvergedMessageAddressList addrlist); |
|
64 |
|
65 /** |
|
66 * Get amount of digits to be used in contact matching |
|
67 */ |
|
68 static int contactMatchDigits(); |
65 |
69 |
66 signals: |
70 signals: |
67 /** |
71 /** |
68 * Emitted when send button from virtual ITUT is pressed. |
72 * Emitted when send button from virtual ITUT is pressed. |
69 */ |
73 */ |
70 void sendMessage(); |
74 void sendMessage(); |
71 |
75 |
72 /** |
76 /** |
73 * Emitted when MMS content is added or removed |
77 * Emitted when content is added or removed |
74 */ |
78 */ |
75 void mmContentAdded(bool isAdded); |
79 void contentChanged(); |
76 |
80 |
77 private slots: |
81 private slots: |
78 |
82 |
79 /** |
83 /** |
80 * called after selection from pbk. |
84 * called after selection from pbk. |
81 */ |
85 */ |
82 void contactsFetched(const QVariant& contacts); |
86 void fetchContacts(); |
|
87 /** |
|
88 * Slot for handling valid returns from the phonebook contacts fetched. |
|
89 */ |
|
90 void handleOk(const QVariant& result); |
|
91 |
|
92 /** |
|
93 * Slot for handling errors. Error ids are provided as |
|
94 */ |
|
95 void handleError(int errorCode, const QString& errorMessage); |
83 |
96 |
84 /** |
97 /** |
85 * Called when textChanged signal is emitted by the line edit |
98 * Called when contentsChanged signal is emitted by the line edit |
86 */ |
99 */ |
87 void onTextChanged(const QString&); |
100 void onContentsAdded(const QString&); |
88 |
101 |
89 /** |
102 /** |
90 * Called when textChanged signal is emitted by the line edit |
103 * Called when contentsChanged signal is emitted by the line edit |
91 * Checks for empty text content |
104 * Checks for empty text content |
92 */ |
105 */ |
93 void onTextRemoved(const QString& text); |
106 void onContentsRemoved(const QString& text); |
94 |
107 |
95 private: |
108 private: |
96 /** |
109 /** |
97 * Remove edit-field's user-deleted addresses from Map |
110 * Remove edit-field's user-deleted addresses from Map |
98 */ |
111 */ |