messagingapp/msgnotifications/msgnotificationdialogplugin/inc/msgnotificationdialogwidget.h
changeset 68 e8a69c93c830
parent 67 fc91263aee62
child 73 ecf6a73a9186
equal deleted inserted replaced
67:fc91263aee62 68:e8a69c93c830
    18 #ifndef MSGNOTIFICATIONDIALOGWIDGET_H
    18 #ifndef MSGNOTIFICATIONDIALOGWIDGET_H
    19 #define MSGNOTIFICATIONDIALOGWIDGET_H
    19 #define MSGNOTIFICATIONDIALOGWIDGET_H
    20 
    20 
    21 #include <QObject>
    21 #include <QObject>
    22 #include <QVariantMap>
    22 #include <QVariantMap>
    23 #include <QThread>
    23 #include <QRunnable>
    24 #include <hbdevicedialoginterface.h>
    24 #include <hbdevicedialoginterface.h>
    25 #include <hbdevicedialog.h>
    25 #include <hbdevicedialog.h>
    26 #include <hbnotificationdialog.h>
    26 #include <hbnotificationdialog.h>
    27 
    27 
    28 
    28 
    29 /**
    29 /**
    30  * Class for sending service request
    30  * Class for sending service request
    31  */
    31  */
    32 class ServiceRequestSenderTask :public QThread
    32 class ServiceRequestSenderTask :public QObject,public QRunnable
    33 {
    33 {
    34     Q_OBJECT
    34     Q_OBJECT
    35     
    35     
    36 public:
    36 public:
    37     /**
    37     /**
    38      * Constructor
    38      * Constructor
    39      */
    39      */
    40     ServiceRequestSenderTask(qint64 conversationId,QObject* parent=0);
    40     ServiceRequestSenderTask(qint64 conversationId);
    41     
    41     
    42     /**
    42     /**
    43      * Destructor
    43      * Destructor
    44      */
    44      */
    45     ~ServiceRequestSenderTask();
    45     ~ServiceRequestSenderTask();