satui/satapp/inc/satappuiprovider.h
changeset 31 a2467631ae02
parent 27 7eb70891911c
equal deleted inserted replaced
27:7eb70891911c 31:a2467631ae02
    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 HbDeviceMessageBox;   // CallControl
    32 class SatAppGetInkeyNote;   // GetInKey
       
    33 class HbInputDialog;        // GetInKey
    32 class HbInputDialog;        // GetInKey
    34 class QTimer;               // For SMS/DTMF
    33 class QTimer;               // For SMS/DTMF
    35 class HbProgressDialog;
    34 class HbProgressDialog;
    36 
    35 
    37 // Here we create custom document loader to be able to use own classes in XML.
    36 // Here we create custom document loader to be able to use own classes in XML.
   146      * @return int the response
   145      * @return int the response
   147      */
   146      */
   148     int showGetYesNoQuery(
   147     int showGetYesNoQuery(
   149             const QString &aText,
   148             const QString &aText,
   150             const TSatCharacterSet aCharacterSet,
   149             const TSatCharacterSet aCharacterSet,
       
   150             unsigned int &aInkey,
   151             unsigned int &aDuration,
   151             unsigned int &aDuration,
   152             const bool aImmediateDigitResponse);
   152             const bool aImmediateDigitResponse);
   153 
   153 
   154     /*
   154     /*
   155      * Show GetInput Query
   155      * Show GetInput Query
   258      * Close Ui
   258      * Close Ui
   259      */
   259      */
   260     void closeUi();
   260     void closeUi();
   261 
   261 
   262     /*
   262     /*
   263      * Digital response
       
   264      */
       
   265     void digitalResponse(const int aKey);
       
   266 
       
   267     /*
       
   268      * The response of user selected the Primary action
   263      * The response of user selected the Primary action
   269      */
   264      */
   270     void userPrimaryResponse();
   265     void userPrimaryResponse();
   271 
   266 
   272     /*
   267     /*
   278      * Update Query Action
   273      * Update Query Action
   279      * @param text 
   274      * @param text 
   280      */
   275      */
   281     void updateQueryAction(QString text);
   276     void updateQueryAction(QString text);
   282 
   277 
       
   278     /*
       
   279      * Handle HbLineEdit contentsChanged signal.
       
   280      * when the input dialog in the password mode 
       
   281      * there is no textChanged signal, get this from
       
   282      * HbAbstractEdit 
       
   283      */  
       
   284     void contentChanged();
       
   285     
   283     /*
   286     /*
   284      * User cancel response, Send DTMF, Send Data, Receive Data
   287      * User cancel response, Send DTMF, Send Data, Receive Data
   285      */
   288      */
   286     void cancelResponse();
   289     void cancelResponse();
   287  
   290  
   302      */
   305      */
   303     void showConfirmOpenChannelQuery(
   306     void showConfirmOpenChannelQuery(
   304             const QString &aText,
   307             const QString &aText,
   305             bool &aActionAccepted);
   308             bool &aActionAccepted);
   306 
   309 
       
   310     /*
       
   311      * handleImmediateCancel
       
   312      */  
       
   313     void handleImmediateCancel();
       
   314 
   307 private:
   315 private:
   308     /*
   316     /*
   309      * Reset the data member mUserRsp value
   317      * Reset the data member mUserRsp value
   310      */
   318      */
   311     void resetUserResponse();
   319     void resetUserResponse();
   324 
   332 
   325     /*
   333     /*
   326      * Extend the note shown time
   334      * Extend the note shown time
   327      */
   335      */
   328     void extendNoteShowtime();
   336     void extendNoteShowtime();
       
   337     
       
   338     /*
       
   339      * Digital immediately response
       
   340      * @param text 
       
   341      */
       
   342     void immediateResponse(QString text);
   329 
   343 
   330 private:
   344 private:
   331     /*
   345     /*
   332      *  Not own
   346      *  Not own
   333      */
   347      */
   364     HbInputDialog *mGetInkeyQuery;
   378     HbInputDialog *mGetInkeyQuery;
   365 
   379 
   366     /*
   380     /*
   367      *  Own. YesNoPopup
   381      *  Own. YesNoPopup
   368      */
   382      */
   369     SatAppGetInkeyNote *mYesNoPopup;
   383     HbMessageBox *mYesNoPopup;
       
   384 
       
   385     /*
       
   386      *  Own. Get inkey immediately response query dialog
       
   387      */
       
   388     HbInputDialog *mImmediateQuery;
   370 
   389 
   371     /*
   390     /*
   372      *  Own. GetInputQuery
   391      *  Own. GetInputQuery
   373      */
   392      */
   374     HbInputDialog *mGetInputQuery;
   393     HbInputDialog *mGetInputQuery;
   399     TSatAppUserResponse mUserRsp;
   418     TSatAppUserResponse mUserRsp;
   400 
   419 
   401     /*
   420     /*
   402      *  GetInkey immediate digital response
   421      *  GetInkey immediate digital response
   403      */
   422      */
   404     int mDigitalRsp;
   423     unsigned int mDigitalRsp;
   405 
   424 
   406     /*
   425     /*
   407      *  GetInput min legnth, en/dis able ok buttion
   426      *  GetInput min legnth, en/dis able ok buttion
   408      */
   427      */
   409     int mMinLength;
   428     int mMinLength;