equal
deleted
inserted
replaced
19 |
19 |
20 #ifndef UNIVIEWERTEXTITEM_H |
20 #ifndef UNIVIEWERTEXTITEM_H |
21 #define UNIVIEWERTEXTITEM_H |
21 #define UNIVIEWERTEXTITEM_H |
22 |
22 |
23 #include <HbTextEdit> |
23 #include <HbTextEdit> |
24 |
24 #include <xqappmgr.h> |
25 |
25 |
26 //forward declarations |
26 //forward declarations |
27 class QRegExp; |
27 class QRegExp; |
28 class XQAiwRequest; |
28 class XQAiwRequest; |
29 |
29 |
103 //common handlers. |
103 //common handlers. |
104 void openContactInfo(); |
104 void openContactInfo(); |
105 void saveToContacts(); |
105 void saveToContacts(); |
106 void copyToClipboard(); |
106 void copyToClipboard(); |
107 |
107 |
|
108 /** |
|
109 * Slot for handling valid returns from the framework. |
|
110 * |
|
111 * @param result const QVariant& |
|
112 */ |
|
113 void handleOk(const QVariant& result); |
|
114 |
|
115 /** |
|
116 * Slot for handling errors. Error ids are provided as |
|
117 * 32-bit integers. |
|
118 * @param errorCode qint32 |
|
119 */ |
|
120 void handleError(int errorCode, const QString& errorMessage); |
|
121 |
108 //called after service request is completed. |
122 //called after service request is completed. |
109 void onServiceRequestCompleted(); |
123 void onServiceRequestCompleted(); |
110 |
124 |
111 signals: |
125 signals: |
112 /** |
126 /** |
126 QTextCharFormat mFormatHighlight; |
140 QTextCharFormat mFormatHighlight; |
127 QTextCharFormat mFormatNormal; |
141 QTextCharFormat mFormatNormal; |
128 |
142 |
129 //Current cursor position. |
143 //Current cursor position. |
130 int mCursorPos; |
144 int mCursorPos; |
|
145 |
|
146 XQApplicationManager mAppManager; |
131 }; |
147 }; |
132 |
148 |
133 #endif // UNIVIEWERTEXTITEM_H |
149 #endif // UNIVIEWERTEXTITEM_H |