diff -r d8ac8e5e4721 -r fc91263aee62 messagingapp/msgnotifications/msgnotificationdialogplugin/inc/msgnotificationdialogwidget.h --- a/messagingapp/msgnotifications/msgnotificationdialogplugin/inc/msgnotificationdialogwidget.h Tue Sep 14 22:54:56 2010 +0530 +++ b/messagingapp/msgnotifications/msgnotificationdialogplugin/inc/msgnotificationdialogwidget.h Fri Sep 17 20:01:45 2010 +0530 @@ -20,7 +20,7 @@ #include #include -#include +#include #include #include #include @@ -29,13 +29,15 @@ /** * Class for sending service request */ -class ServiceRequestSenderTask : public QRunnable +class ServiceRequestSenderTask :public QThread { + Q_OBJECT + public: /** * Constructor */ - ServiceRequestSenderTask(qint64 conversationId); + ServiceRequestSenderTask(qint64 conversationId,QObject* parent=0); /** * Destructor @@ -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; };