diff -r 1eef62f5c541 -r 2a5d4ab426d3 phoneapp/phoneuiqtviewadapter/inc/phonenotecontroller.h --- a/phoneapp/phoneuiqtviewadapter/inc/phonenotecontroller.h Mon Aug 23 15:42:12 2010 +0300 +++ b/phoneapp/phoneuiqtviewadapter/inc/phonenotecontroller.h Fri Sep 03 13:33:36 2010 +0300 @@ -27,15 +27,13 @@ class TPhoneCommandParam; class TPhoneCmdParamQuery; class TPhoneCmdParamGlobalNote; -class HbDeviceMessageBox; -class HbDeviceNotificationDialog; -class HbDeviceProgressDialog; class HbProgressDialog; class HbMessageBox; class HbAction; class QSignalMapper; class QTimer; - +class PhoneGlobalNotes; +class HbDialog; class PhoneNoteController : public QObject { @@ -119,22 +117,6 @@ void command (int command); private slots: - - /*! - \fn void destroyDialog() - - Slot is called when device message box is closed. - - */ - void destroyDialog(); - - /*! - \fn void destroyNotification() - - Slot is called when device notification dialog is closed. - - */ - void destroyNotification(); /*! \fn void removeMappings () @@ -144,33 +126,9 @@ */ void removeMappings(); - /*! - \fn void queryCancelled () - - Slot is called when query is canceled. - - */ - void queryCancelled(); - - /*! - \fn void queryTimeout () - - Slot is called when query timeout expires. - - */ - void queryTimeout(); - private: /*! - \fn QString globalNoteText() - - This method returns text for global note. - */ - QString globalNoteText(TPhoneCommandParam *commandParam); - - - /*! \fn void showDtmfNote() This method shows dtmf sending note. @@ -183,41 +141,16 @@ This method shows default query. */ void showDefaultQuery(TPhoneCmdParamQuery* params); - - /*! - \fn void showDefaultQuery() - - This method shows global wait note. - */ - void showGlobalWaitNote(TPhoneCmdParamQuery* params); - - /*! - \fn void showDeviceMessageBox() - - This method shows device message box. - */ - void showDeviceMessageBox(TPhoneCmdParamGlobalNote* params); + - /*! - \fn void showDeviceNotificationDialog() - - This method shows device notification dialog. - */ - void showDeviceNotificationDialog(TPhoneCmdParamGlobalNote* params); + void replaceDialogActions(HbDialog *dialog, QList &actions); private: - - QTimer *m_timer; - QList m_messageBoxList; - QList m_notificationList; - HbDeviceProgressDialog *m_progressDialog; + PhoneGlobalNotes *m_globalNotes; HbProgressDialog *m_dtmfNote; HbMessageBox *m_queryNote; QSignalMapper *m_signalMapper; QList m_actions; - int m_queryCanceledCommand; - int m_timeoutCommand; - }; #endif // PHONENOTECONTROLLER_H