messagingapp/msgui/unifiedviewer/inc/univiewertextitem.h
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 27 e4592d119491
child 37 518b245aa84c
--- 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 <HbTextEdit>
-
+#include <xqappmgr.h>
 
 //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