messagingapp/msgnotifications/msgnotificationdialogplugin/inc/msgnotificationdialogwidget.h
--- a/messagingapp/msgnotifications/msgnotificationdialogplugin/inc/msgnotificationdialogwidget.h Fri Sep 17 20:16:33 2010 +0530
+++ b/messagingapp/msgnotifications/msgnotificationdialogplugin/inc/msgnotificationdialogwidget.h Tue Oct 05 13:58:47 2010 +0530
@@ -20,59 +20,10 @@
#include <QObject>
#include <QVariantMap>
-#include <QRunnable>
#include <hbdevicedialoginterface.h>
#include <hbdevicedialog.h>
#include <hbnotificationdialog.h>
-
-/**
- * Class for sending service request
- */
-class ServiceRequestSenderTask :public QObject,public QRunnable
-{
- Q_OBJECT
-
-public:
- /**
- * Constructor
- */
- ServiceRequestSenderTask(qint64 conversationId);
-
- /**
- * Destructor
- */
- ~ServiceRequestSenderTask();
-
- /**
- * create and send service request
- */
- 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;
-};
-
/**
* Message notification widget class.
* Widget shown for the new message notifications.
@@ -90,6 +41,11 @@
* @param parameters variant map list
*/
MsgNotificationDialogWidget(const QVariantMap ¶meters);
+
+ /**
+ * Destructor
+ */
+ ~MsgNotificationDialogWidget();
/**
* @see HbDeviceDialogInterface
@@ -160,20 +116,20 @@
private:
Q_DISABLE_COPY(MsgNotificationDialogWidget)
- /**
+ /**
+ * Current conversation id.
+ */
+ qint64 mConversationId;
+
+ /**
* Hold the last error
*/
int mLastError;
-
+
/**
* Show event has come or not
*/
- bool mShowEventReceived;
-
- /**
- * Current conversation id.
- */
- qint64 mConversationId;
+ bool mShowEventReceived;
};
#endif // MSGNOTIFICATIONDIALOGWIDGET_P_H