messagingapp/msgnotifications/msgnotificationdialogplugin/inc/msgnotificationdialogwidget.h
--- a/messagingapp/msgnotifications/msgnotificationdialogplugin/inc/msgnotificationdialogwidget.h Fri Sep 17 08:28:39 2010 +0300
+++ b/messagingapp/msgnotifications/msgnotificationdialogplugin/inc/msgnotificationdialogwidget.h Mon Oct 04 00:13:15 2010 +0300
@@ -29,8 +29,10 @@
/**
* Class for sending service request
*/
-class ServiceRequestSenderTask : public QRunnable
+class ServiceRequestSenderTask :public QObject,public QRunnable
{
+ Q_OBJECT
+
public:
/**
* Constructor
@@ -47,6 +49,26 @@
*/
void run();
+private slots:
+
+ /**
+ * Slot invoked after Conversation view is launched.
+ */
+ void onRequestCompleted(const QVariant& value);
+
+ /**
+ * Slot invoked if error occurred during launch of CV.
+ */
+ void onRequestError(int errorCode, const QString& errorMessage);
+
+signals:
+
+ /**
+ * Signal is emitted to indicate that Notification Dialog
+ * can now be closed.
+ */
+ void serviceRequestCompleted();
+
private:
qint64 mConvId;
};