satui/satapp/inc/satappuiprovider.h
changeset 31 a2467631ae02
parent 27 7eb70891911c
--- a/satui/satapp/inc/satappuiprovider.h	Fri Jun 11 14:07:16 2010 +0300
+++ b/satui/satapp/inc/satappuiprovider.h	Wed Jun 23 18:49:32 2010 +0300
@@ -29,7 +29,6 @@
 class SatAppView;           // SetupMenu and SelectItem
 class HbMessageBox;         // DisplayText
 class HbDeviceMessageBox;   // CallControl
-class SatAppGetInkeyNote;   // GetInKey
 class HbInputDialog;        // GetInKey
 class QTimer;               // For SMS/DTMF
 class HbProgressDialog;
@@ -148,6 +147,7 @@
     int showGetYesNoQuery(
             const QString &aText,
             const TSatCharacterSet aCharacterSet,
+            unsigned int &aInkey,
             unsigned int &aDuration,
             const bool aImmediateDigitResponse);
 
@@ -260,11 +260,6 @@
     void closeUi();
 
     /*
-     * Digital response
-     */
-    void digitalResponse(const int aKey);
-
-    /*
      * The response of user selected the Primary action
      */
     void userPrimaryResponse();
@@ -281,6 +276,14 @@
     void updateQueryAction(QString text);
 
     /*
+     * Handle HbLineEdit contentsChanged signal.
+     * when the input dialog in the password mode 
+     * there is no textChanged signal, get this from
+     * HbAbstractEdit 
+     */  
+    void contentChanged();
+    
+    /*
      * User cancel response, Send DTMF, Send Data, Receive Data
      */
     void cancelResponse();
@@ -304,6 +307,11 @@
             const QString &aText,
             bool &aActionAccepted);
 
+    /*
+     * handleImmediateCancel
+     */  
+    void handleImmediateCancel();
+
 private:
     /*
      * Reset the data member mUserRsp value
@@ -326,6 +334,12 @@
      * Extend the note shown time
      */
     void extendNoteShowtime();
+    
+    /*
+     * Digital immediately response
+     * @param text 
+     */
+    void immediateResponse(QString text);
 
 private:
     /*
@@ -366,7 +380,12 @@
     /*
      *  Own. YesNoPopup
      */
-    SatAppGetInkeyNote *mYesNoPopup;
+    HbMessageBox *mYesNoPopup;
+
+    /*
+     *  Own. Get inkey immediately response query dialog
+     */
+    HbInputDialog *mImmediateQuery;
 
     /*
      *  Own. GetInputQuery
@@ -401,7 +420,7 @@
     /*
      *  GetInkey immediate digital response
      */
-    int mDigitalRsp;
+    unsigned int mDigitalRsp;
 
     /*
      *  GetInput min legnth, en/dis able ok buttion