phoneapp/phoneuiqtviewadapter/inc/phonenotecontroller.h
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 22 6bb1b21d2484
parent 45 6b911d05207e
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
    24 #include "phoneaction.h"
    24 #include "phoneaction.h"
    25 
    25 
    26 // FORWARD DECLARATION
    26 // FORWARD DECLARATION
    27 class TPhoneCommandParam;
    27 class TPhoneCommandParam;
    28 class TPhoneCmdParamQuery;
    28 class TPhoneCmdParamQuery;
       
    29 class TPhoneCmdParamGlobalNote;
    29 class HbDeviceMessageBox;
    30 class HbDeviceMessageBox;
       
    31 class HbDeviceNotificationDialog;
    30 class HbDeviceProgressDialog;
    32 class HbDeviceProgressDialog;
    31 class HbProgressDialog;
    33 class HbProgressDialog;
    32 class HbMessageBox;
    34 class HbMessageBox;
    33 class HbAction;
    35 class HbAction;
    34 class QSignalMapper;
    36 class QSignalMapper;
   117     void command (int command);
   119     void command (int command);
   118     
   120     
   119 private slots:
   121 private slots:
   120 
   122 
   121     /*!
   123     /*!
   122         \fn void destroyDialog ()
   124         \fn void destroyDialog()
   123         
   125         
   124         Slot is called when global note is closed.
   126         Slot is called when device message box is closed.
   125     
   127     
   126     */
   128     */
   127     void destroyDialog();
   129     void destroyDialog();
   128 
   130 
       
   131     /*!
       
   132         \fn void destroyNotification()
       
   133         
       
   134         Slot is called when device notification dialog is closed.
       
   135     
       
   136     */
       
   137     void destroyNotification();
       
   138     
   129     /*!
   139     /*!
   130         \fn void removeMappings ()
   140         \fn void removeMappings ()
   131         
   141         
   132         Slot is called when note or query is closed.
   142         Slot is called when note or query is closed.
   133     
   143     
   178         \fn void showDefaultQuery()
   188         \fn void showDefaultQuery()
   179         
   189         
   180         This method shows global wait note.
   190         This method shows global wait note.
   181     */
   191     */
   182     void showGlobalWaitNote(TPhoneCmdParamQuery* params);
   192     void showGlobalWaitNote(TPhoneCmdParamQuery* params);
       
   193 
       
   194     /*!
       
   195         \fn void showDeviceMessageBox()
       
   196         
       
   197         This method shows device message box.
       
   198     */
       
   199     void showDeviceMessageBox(TPhoneCmdParamGlobalNote* params);
       
   200     
       
   201     /*!
       
   202         \fn void showDeviceNotificationDialog()
       
   203         
       
   204         This method shows device notification dialog.
       
   205     */
       
   206     void showDeviceNotificationDialog(TPhoneCmdParamGlobalNote* params);
   183     
   207     
   184 private:
   208 private:
   185 
   209 
   186     QTimer *m_timer;
   210     QTimer *m_timer;
   187     QList<HbDeviceMessageBox *> m_messageBoxList;
   211     QList<HbDeviceMessageBox *> m_messageBoxList;
       
   212     QList<HbDeviceNotificationDialog* > m_notificationList;
   188     HbDeviceProgressDialog *m_progressDialog;
   213     HbDeviceProgressDialog *m_progressDialog;
   189     HbProgressDialog *m_dtmfNote;
   214     HbProgressDialog *m_dtmfNote;
   190     HbMessageBox *m_queryNote;
   215     HbMessageBox *m_queryNote;
   191     QSignalMapper *m_signalMapper;
   216     QSignalMapper *m_signalMapper;
   192     QList<HbAction*> m_actions;
   217     QList<HbAction*> m_actions;