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