diff -r 372d2d6c5cf9 -r ad1f037f1ac2 securitysettings/eapqtdialogs/inc/eapfastprovwaitnotedialog.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/securitysettings/eapqtdialogs/inc/eapfastprovwaitnotedialog.h Thu Jun 24 11:23:08 2010 +0300 @@ -0,0 +1,79 @@ +/* +* 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: 2 % +*/ + +#ifndef __EAPFASTPROVWAITNOTEDIALOG_H__ +#define __EAPFASTPROVWAITNOTEDIALOG_H__ + +#include +#include + +class HbTranslator; + +class EapFastProvWaitNoteDialog: public HbNotificationDialog, public HbDeviceDialogInterface + { + Q_OBJECT + + public: + /* Constructor */ + EapFastProvWaitNoteDialog(const QVariantMap ¶meters); + + /* Destructor */ + ~EapFastProvWaitNoteDialog(); + + /* Function creates the actual dialog widget */ + void createDialog(const QVariantMap ¶meters ); + + /* Device dialog parameters to be set while dialog is displayed. + * Not supported. + */ + bool setDeviceDialogParameters(const QVariantMap ¶meters); + + /* Not supported */ + int deviceDialogError() const; + + /* Closes the device dialog */ + void closeDeviceDialog(bool byClient); + + /* Returns a pointer to this dialog widget */ + 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) + + /* Pointer to the HbTranslator */ + QScopedPointer mTranslator; + + }; + +#endif // __EAPFASTPROVWAITNOTEDIALOG_H__