securitysettings/eapqtdialogs/inc/eapfastprovwaitnotedialog.h
branchRCL_3
changeset 18 bad0cc58d154
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/securitysettings/eapqtdialogs/inc/eapfastprovwaitnotedialog.h	Tue Aug 31 15:16:37 2010 +0300
@@ -0,0 +1,101 @@
+/*
+* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Fast Provisioning Wait Notification Dialog
+*
+*/
+
+/*
+* %version: 3 %
+*/
+
+#ifndef __EAPFASTPROVWAITNOTEDIALOG_H__
+#define __EAPFASTPROVWAITNOTEDIALOG_H__
+
+// System includes
+#include <HbNotificationDialog>
+#include <hbdevicedialoginterface.h>
+
+// User includes
+
+// Forward declarations
+class HbTranslator;
+
+// External data types
+
+// Constants
+
+/*!
+   @addtogroup group_eap_fast_prov_wait_note_dialog
+   @{
+ */
+
+// Class declaration
+
+class EapFastProvWaitNoteDialog: public HbNotificationDialog, public HbDeviceDialogInterface
+    {
+    Q_OBJECT
+
+    public:
+        /* Constructor */
+        EapFastProvWaitNoteDialog(const QVariantMap &parameters);
+        
+        /* Destructor */
+        ~EapFastProvWaitNoteDialog();
+        
+        /* Function creates the actual dialog widget */
+        void createDialog(const QVariantMap &parameters );
+        
+        /* Device dialog parameters to be set while dialog is displayed.
+         * Not supported. (from HbDeviceDialogInterface)
+         */
+        bool setDeviceDialogParameters(const QVariantMap &parameters);
+        
+        /* Not supported. (from HbDeviceDialogInterface) */
+        int deviceDialogError() const;
+        
+        /* Closes the device dialog. (from HbDeviceDialogInterface) */
+        void closeDeviceDialog(bool byClient);
+        
+        /* Returns a pointer to this dialog widget.
+           (from HbDeviceDialogInterface) */
+        HbPopup *deviceDialogWidget() const;
+                
+    signals:
+        /* Signal is emitted when the dialog is closed */
+        void deviceDialogClosed();
+        
+        /* Data is emitted in QVariantMap when Ok Action button is selected */
+        void deviceDialogData(QVariantMap data);
+            
+    private slots:
+        
+        /* Slot that is mapped to the signal that indicates to closing of the dialog */
+        void closingDialog();
+               
+    private:
+                
+        Q_DISABLE_COPY(EapFastProvWaitNoteDialog)
+        
+    private:// data
+        // NOT OWNED
+        
+        // OWNED        
+        //! Pointer to the HbTranslator
+        QScopedPointer<HbTranslator> mTranslator;
+   
+    };
+    
+/*! @} */
+
+#endif // __EAPFASTPROVWAITNOTEDIALOG_H__