securitysettings/eapqtdialogs/inc/eapfastprovwaitnotedialog.h
branchRCL_3
changeset 18 bad0cc58d154
equal deleted inserted replaced
17:30e048a7b597 18:bad0cc58d154
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Fast Provisioning Wait Notification Dialog
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 3 %
       
    20 */
       
    21 
       
    22 #ifndef __EAPFASTPROVWAITNOTEDIALOG_H__
       
    23 #define __EAPFASTPROVWAITNOTEDIALOG_H__
       
    24 
       
    25 // System includes
       
    26 #include <HbNotificationDialog>
       
    27 #include <hbdevicedialoginterface.h>
       
    28 
       
    29 // User includes
       
    30 
       
    31 // Forward declarations
       
    32 class HbTranslator;
       
    33 
       
    34 // External data types
       
    35 
       
    36 // Constants
       
    37 
       
    38 /*!
       
    39    @addtogroup group_eap_fast_prov_wait_note_dialog
       
    40    @{
       
    41  */
       
    42 
       
    43 // Class declaration
       
    44 
       
    45 class EapFastProvWaitNoteDialog: public HbNotificationDialog, public HbDeviceDialogInterface
       
    46     {
       
    47     Q_OBJECT
       
    48 
       
    49     public:
       
    50         /* Constructor */
       
    51         EapFastProvWaitNoteDialog(const QVariantMap &parameters);
       
    52         
       
    53         /* Destructor */
       
    54         ~EapFastProvWaitNoteDialog();
       
    55         
       
    56         /* Function creates the actual dialog widget */
       
    57         void createDialog(const QVariantMap &parameters );
       
    58         
       
    59         /* Device dialog parameters to be set while dialog is displayed.
       
    60          * Not supported. (from HbDeviceDialogInterface)
       
    61          */
       
    62         bool setDeviceDialogParameters(const QVariantMap &parameters);
       
    63         
       
    64         /* Not supported. (from HbDeviceDialogInterface) */
       
    65         int deviceDialogError() const;
       
    66         
       
    67         /* Closes the device dialog. (from HbDeviceDialogInterface) */
       
    68         void closeDeviceDialog(bool byClient);
       
    69         
       
    70         /* Returns a pointer to this dialog widget.
       
    71            (from HbDeviceDialogInterface) */
       
    72         HbPopup *deviceDialogWidget() const;
       
    73                 
       
    74     signals:
       
    75         /* Signal is emitted when the dialog is closed */
       
    76         void deviceDialogClosed();
       
    77         
       
    78         /* Data is emitted in QVariantMap when Ok Action button is selected */
       
    79         void deviceDialogData(QVariantMap data);
       
    80             
       
    81     private slots:
       
    82         
       
    83         /* Slot that is mapped to the signal that indicates to closing of the dialog */
       
    84         void closingDialog();
       
    85                
       
    86     private:
       
    87                 
       
    88         Q_DISABLE_COPY(EapFastProvWaitNoteDialog)
       
    89         
       
    90     private:// data
       
    91         // NOT OWNED
       
    92         
       
    93         // OWNED        
       
    94         //! Pointer to the HbTranslator
       
    95         QScopedPointer<HbTranslator> mTranslator;
       
    96    
       
    97     };
       
    98     
       
    99 /*! @} */
       
   100 
       
   101 #endif // __EAPFASTPROVWAITNOTEDIALOG_H__