securitysettings/eapqtdialogs/inc/eapfastprovwaitnotedialog.h
changeset 34 ad1f037f1ac2
child 36 c98682f98478
equal deleted inserted replaced
31:372d2d6c5cf9 34:ad1f037f1ac2
       
     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: 2 %
       
    20 */
       
    21 
       
    22 #ifndef __EAPFASTPROVWAITNOTEDIALOG_H__
       
    23 #define __EAPFASTPROVWAITNOTEDIALOG_H__
       
    24 
       
    25 #include <HbNotificationDialog>
       
    26 #include <hbdevicedialoginterface.h>
       
    27 
       
    28 class HbTranslator;
       
    29 
       
    30 class EapFastProvWaitNoteDialog: public HbNotificationDialog, public HbDeviceDialogInterface
       
    31     {
       
    32     Q_OBJECT
       
    33 
       
    34     public:
       
    35         /* Constructor */
       
    36         EapFastProvWaitNoteDialog(const QVariantMap &parameters);
       
    37         
       
    38         /* Destructor */
       
    39         ~EapFastProvWaitNoteDialog();
       
    40         
       
    41         /* Function creates the actual dialog widget */
       
    42         void createDialog(const QVariantMap &parameters );
       
    43         
       
    44         /* Device dialog parameters to be set while dialog is displayed.
       
    45          * Not supported.
       
    46          */
       
    47         bool setDeviceDialogParameters(const QVariantMap &parameters);
       
    48         
       
    49         /* Not supported */
       
    50         int deviceDialogError() const;
       
    51         
       
    52         /* Closes the device dialog */
       
    53         void closeDeviceDialog(bool byClient);
       
    54         
       
    55         /* Returns a pointer to this dialog widget */
       
    56         HbPopup *deviceDialogWidget() const;
       
    57                 
       
    58     signals:
       
    59         /* Signal is emitted when the dialog is closed */
       
    60         void deviceDialogClosed();
       
    61         
       
    62         /* Data is emitted in QVariantMap when Ok Action button is selected */
       
    63         void deviceDialogData(QVariantMap data);
       
    64             
       
    65     private slots:
       
    66         
       
    67         /* Slot that is mapped to the signal that indicates to closing of the dialog */
       
    68         void closingDialog();
       
    69                
       
    70     private:
       
    71                 
       
    72         Q_DISABLE_COPY(EapFastProvWaitNoteDialog)
       
    73         
       
    74         /* Pointer to the HbTranslator */
       
    75         QScopedPointer<HbTranslator> mTranslator;
       
    76    
       
    77     };
       
    78 
       
    79 #endif // __EAPFASTPROVWAITNOTEDIALOG_H__