securitysettings/eapqtdialogs/inc/eapfastinstallpacquerydialog.h
changeset 42 53085837e73a
parent 39 fe6b6762fccd
equal deleted inserted replaced
39:fe6b6762fccd 42:53085837e73a
    14 * Description: Fast Install Pac Query Dialog
    14 * Description: Fast Install Pac Query Dialog
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 3 %
    19 * %version: 4 %
    20 */
    20 */
    21 
    21 
    22 #ifndef __EAPFASTINSTALLQUERYDIALOG_H__
    22 #ifndef __EAPFASTINSTALLQUERYDIALOG_H__
    23 #define __EAPFASTINSTALLQUERYDIALOG_H__
    23 #define __EAPFASTINSTALLQUERYDIALOG_H__
    24 
    24 
    25 
    25 // System includes
    26 #include <HbMessageBox>
    26 #include <HbMessageBox>
    27 #include <hbdevicedialoginterface.h>
    27 #include <hbdevicedialoginterface.h>
    28 
    28 
       
    29 // User includes
       
    30 
       
    31 // Forward declarations
    29 class HbTranslator;
    32 class HbTranslator;
       
    33 
       
    34 // External data types
       
    35 
       
    36 // Constants
       
    37 
       
    38 /*!
       
    39    @addtogroup group_eap_fast_install_pac_query_dialog
       
    40    @{
       
    41  */
       
    42 
       
    43 // Class declaration
    30 
    44 
    31 class EapFastInstallPacQueryDialog: public HbMessageBox, public HbDeviceDialogInterface
    45 class EapFastInstallPacQueryDialog: public HbMessageBox, public HbDeviceDialogInterface
    32     {
    46     {
    33     Q_OBJECT
    47     Q_OBJECT
    34 
    48 
    40         
    54         
    41         /* Function creates the actual dialog widget */
    55         /* Function creates the actual dialog widget */
    42         void createDialog(const QVariantMap &parameters );
    56         void createDialog(const QVariantMap &parameters );
    43         
    57         
    44         /* Device dialog parameters to be set while dialog is displayed.
    58         /* Device dialog parameters to be set while dialog is displayed.
    45          * Not supported.
    59          * Not supported. (from HbDeviceDialogInterface)
    46          */
    60          */
    47         bool setDeviceDialogParameters(const QVariantMap &parameters);
    61         bool setDeviceDialogParameters(const QVariantMap &parameters);
    48         
    62         
    49         /* Not supported */
    63         /* Not supported. (from HbDeviceDialogInterface) */
    50         int deviceDialogError() const;
    64         int deviceDialogError() const;
    51         
    65         
    52         /* Closes the device dialog */
    66         /* Closes the device dialog. (from HbDeviceDialogInterface) */
    53         void closeDeviceDialog(bool byClient);
    67         void closeDeviceDialog(bool byClient);
    54         
    68         
    55         /* Returns a pointer to this dialog widget */
    69         /* Returns a pointer to this dialog widget.
       
    70            (from HbDeviceDialogInterface) */
    56         HbPopup *deviceDialogWidget() const;
    71         HbPopup *deviceDialogWidget() const;
    57                 
    72                 
    58     signals:
    73     signals:
    59         /* Signal is emitted when the dialog is closed */
    74         /* Signal is emitted when the dialog is closed */
    60         void deviceDialogClosed();
    75         void deviceDialogClosed();
    74                
    89                
    75     private:
    90     private:
    76                 
    91                 
    77         Q_DISABLE_COPY(EapFastInstallPacQueryDialog)
    92         Q_DISABLE_COPY(EapFastInstallPacQueryDialog)
    78    
    93    
    79     private:
    94     private: // data
       
    95         // NOT OWNED
    80         
    96         
    81         /* Pointer to the HbTranslator */
    97         // OWNED        
       
    98         //! Pointer to the password validator object
    82         QScopedPointer<HbTranslator> mTranslator;
    99         QScopedPointer<HbTranslator> mTranslator;
    83         
   100         
    84         /* Tells whether close has already been called for the dialog */
   101         //! Tells whether close has already been called for the dialog
    85         bool mClose;
   102         bool mClose;
    86         
   103         
    87         /* Tells whether Yes Action has already been pressed */
   104         //! Tells whether Yes Action has already been pressed
    88         bool mYesActionPressed;
   105         bool mYesActionPressed;
    89     };
   106     };
    90 
   107 
       
   108 /*! @} */
       
   109 
    91 #endif // __EAPFASTINSTALLQUERYDIALOG_H__
   110 #endif // __EAPFASTINSTALLQUERYDIALOG_H__