satui/satapp/inc/satappuiprovider.h
changeset 15 d7fc66ccd6fb
parent 13 e32024264ebb
child 27 7eb70891911c
equal deleted inserted replaced
13:e32024264ebb 15:d7fc66ccd6fb
    26 
    26 
    27 class HbMainWindow;
    27 class HbMainWindow;
    28 class SatAppEventProvider;  // Call back from SatServer
    28 class SatAppEventProvider;  // Call back from SatServer
    29 class SatAppView;           // SetupMenu and SelectItem
    29 class SatAppView;           // SetupMenu and SelectItem
    30 class HbMessageBox;         // DisplayText
    30 class HbMessageBox;         // DisplayText
       
    31 class HbDeviceMessageBox;   // CallControl
    31 class SatAppGetInkeyNote;   // GetInKey
    32 class SatAppGetInkeyNote;   // GetInKey
    32 class HbInputDialog;        // GetInKey
    33 class HbInputDialog;        // GetInKey
    33 class HbDialog;             // GetInput
       
    34 class HbProgressDialog;     // For wait note
       
    35 class QTimer;               // For SMS/DTMF
    34 class QTimer;               // For SMS/DTMF
       
    35 class HbProgressDialog;
    36 
    36 
    37 // Here we create custom document loader to be able to use own classes in XML.
    37 // Here we create custom document loader to be able to use own classes in XML.
    38 class SatAppDocumentLoader : public HbDocumentLoader
    38 class SatAppDocumentLoader : public HbDocumentLoader
    39 {
    39 {
    40 public:
    40 public:
   204      */
   204      */
   205     void showConfirmSetUpCallQuery(
   205     void showConfirmSetUpCallQuery(
   206             const QString &aText,
   206             const QString &aText,
   207             const QString &aSimAppName,
   207             const QString &aSimAppName,
   208             bool &aActionAccepted);
   208             bool &aActionAccepted);
       
   209             
       
   210     /*
       
   211      * Show Ss wait note
       
   212      * @param aText The string shown in heading widget
       
   213      */
       
   214     void showSsWaitNote(const QString &aText, const bool aSelfExplanatoryIcon);
       
   215     
       
   216     /*
       
   217      * Show call control device info note, with cancel key
       
   218      * @param aText The string shown in heading widget
       
   219      */    
       
   220     void showCallControlNote(const QString &aText);
       
   221     
       
   222     /*
       
   223      * Show receive data and send data wait note, with cancel key
       
   224      * @param aText The string shown in heading widget
       
   225      */    
       
   226     void showBIPWaitNote(const QString &aText);
       
   227     
       
   228     /*
       
   229      * Show Mo sms info note, with cancel key
       
   230      * @param aText The string shown in heading widget
       
   231      */    
       
   232     void showMoSmControlNote(const QString &aText);
       
   233     /*
       
   234      * Show Close Channel wait note without cancel key
       
   235      * @param aText The string shown in heading widget
       
   236      */    
       
   237     void showCloseChannelWaitNote(const QString &aText);
       
   238     
       
   239     /*
       
   240      * Show sat info note
       
   241      * @param aText The string shown in heading widget
       
   242      */    
       
   243     void showSatInfoNote(const QString &aText);
       
   244 
   209 signals:
   245 signals:
   210     /*
   246     /*
   211      * User cancel Dtmf response
   247      * User cancel response, Send DTMF, Send Data, Receive Data
   212      */
   248      */
   213     void userCancelDtmfResponse();
   249     void userCancelResponse();
   214 
   250 
   215 public slots:
   251 public slots:
   216     /*
   252     /*
   217      * Clear Screen
   253      * Clear Screen
   218      */
   254      */
   243      * @param text 
   279      * @param text 
   244      */
   280      */
   245     void updateQueryAction(QString text);
   281     void updateQueryAction(QString text);
   246 
   282 
   247     /*
   283     /*
   248      * User cancel Dtmf response
   284      * User cancel response, Send DTMF, Send Data, Receive Data
   249      */
   285      */
   250     void cancelDtmfResponse();
   286     void cancelResponse();
       
   287  
       
   288      /*
       
   289      * Show WaitNoteWithoutDelay
       
   290      */   
       
   291     void showWaitNoteWithoutDelay();
       
   292 
       
   293     /*
       
   294     * Show SsErrorNote
       
   295     */   
       
   296     void showSsErrorNote();
       
   297 
       
   298     /*
       
   299      * Comfirm OpenChannel
       
   300      * @param aText 
       
   301      * @param aActionAccepted 
       
   302      */
       
   303     void showConfirmOpenChannelQuery(
       
   304             const QString &aText,
       
   305             bool &aActionAccepted);
   251 
   306 
   252 private:
   307 private:
   253     /*
   308     /*
   254      * Reset the data member mUserRsp value
   309      * Reset the data member mUserRsp value
   255      */
   310      */
   320      *  Own. Confirm SendQuery
   375      *  Own. Confirm SendQuery
   321      */
   376      */
   322     HbMessageBox *mConfirmSendQuery;
   377     HbMessageBox *mConfirmSendQuery;
   323 
   378 
   324     /*
   379     /*
   325      *  Own. SmsWaitNote
       
   326      */
       
   327     HbProgressDialog *mSmsWaitNote;
       
   328     /*
       
   329      *  Own. DtmfWaitNote
       
   330      */
       
   331     HbProgressDialog *mDtmfWaitNote;
       
   332 
       
   333     /*
       
   334      *  Own. SetUpCall Query
   380      *  Own. SetUpCall Query
   335      */
   381      */
   336     HbMessageBox *mSetUpCallQuery;
   382     HbMessageBox *mSetUpCallQuery;
       
   383     
       
   384     /*
       
   385      *  Own. CallControl Query
       
   386      */
       
   387     HbDeviceMessageBox *mCallControlMsg;
       
   388 
       
   389     /*
       
   390      *  Own. Confirm Bip Query
       
   391      */
       
   392     HbMessageBox *mConfirmBipQuery;
   337 
   393 
   338     /*
   394     /*
   339      *  General user response
   395      *  General user response
   340      */
   396      */
   341     TSatAppUserResponse mUserRsp;
   397     TSatAppUserResponse mUserRsp;
   357 
   413 
   358     /*
   414     /*
   359      *  Own. 
   415      *  Own. 
   360      */   
   416      */   
   361     QEventLoop *mLoop;
   417     QEventLoop *mLoop;
       
   418 
       
   419     /*
       
   420      *  Own. SsWaitNote
       
   421      */
       
   422     HbProgressDialog *mWaitNote;
       
   423 
   362 };
   424 };
   363 
   425 
   364 #endif// SATAPPUIPROVIDER_H
   426 #endif// SATAPPUIPROVIDER_H
   365 
   427 
   366 // End of file
   428 // End of file