diff -r 238255e8b033 -r 84d9eb65b26f messagingapp/msgui/unifiedviewer/inc/univiewertextitem.h --- a/messagingapp/msgui/unifiedviewer/inc/univiewertextitem.h Fri Apr 16 14:56:15 2010 +0300 +++ b/messagingapp/msgui/unifiedviewer/inc/univiewertextitem.h Mon May 03 12:29:07 2010 +0300 @@ -21,7 +21,7 @@ #define UNIVIEWERTEXTITEM_H #include - +#include //forward declarations class QRegExp; @@ -105,6 +105,20 @@ void saveToContacts(); void copyToClipboard(); + /** + * Slot for handling valid returns from the framework. + * + * @param result const QVariant& + */ + void handleOk(const QVariant& result); + + /** + * Slot for handling errors. Error ids are provided as + * 32-bit integers. + * @param errorCode qint32 + */ + void handleError(int errorCode, const QString& errorMessage); + //called after service request is completed. void onServiceRequestCompleted(); @@ -128,6 +142,8 @@ //Current cursor position. int mCursorPos; + + XQApplicationManager mAppManager; }; #endif // UNIVIEWERTEXTITEM_H