messagingapp/msgnotifications/msgnotificationdialogplugin/inc/msgnotificationdialogwidget.h
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 47 5b14749788d7
child 67 fc91263aee62
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
    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 
    23 #include <QRunnable>
    24 
       
    25 #include <hbdevicedialoginterface.h>
    24 #include <hbdevicedialoginterface.h>
    26 #include <hbdevicedialog.h>
    25 #include <hbdevicedialog.h>
    27 #include <hbnotificationdialog.h>
    26 #include <hbnotificationdialog.h>
       
    27 
       
    28 
       
    29 /**
       
    30  * Class for sending service request
       
    31  */
       
    32 class ServiceRequestSenderTask : public QRunnable
       
    33 {
       
    34 public:
       
    35     /**
       
    36      * Constructor
       
    37      */
       
    38     ServiceRequestSenderTask(qint64 conversationId);
       
    39     
       
    40     /**
       
    41      * Destructor
       
    42      */
       
    43     ~ServiceRequestSenderTask();
       
    44      
       
    45     /**
       
    46      * create and send service request
       
    47      */
       
    48      void run();
       
    49 
       
    50 private: 
       
    51      qint64 mConvId;
       
    52 };
    28 
    53 
    29 /**
    54 /**
    30  * Message notification widget class. 
    55  * Message notification widget class. 
    31  * Widget shown for the new message notifications. 
    56  * Widget shown for the new message notifications. 
    32  * Part of messagenotificationplugin.
    57  * Part of messagenotificationplugin.