--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/securitysettings/eapqtdialogs/inc/eapmschapv2pwdexpirednotedialog.h Thu Jun 24 11:23:08 2010 +0300
@@ -0,0 +1,85 @@
+/*
+* 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: EAP-MSCHAPv2 password expired note Dialog
+*
+*/
+
+/*
+* %version: 2 %
+*/
+
+#ifndef __EAPMSCHAPV2PWDEXPNOTEDIALOG_H__
+#define __EAPMSCHAPV2PWDEXPNOTEDIALOG_H__
+
+
+#include <HbMessageBox>
+#include <hbdevicedialoginterface.h>
+
+class HbTranslator;
+
+class EapMschapv2PwdExpNoteDialog: public HbMessageBox, public HbDeviceDialogInterface
+ {
+ Q_OBJECT
+
+ public:
+ /* Constructor */
+ EapMschapv2PwdExpNoteDialog(const QVariantMap ¶meters);
+ /* Destructor */
+ ~EapMschapv2PwdExpNoteDialog();
+
+ /* 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 Ok Action button's triggered signal */
+ void okPressed();
+
+ /* Slot that is mapped to the signal that indicates to closing of the dialog */
+ void closingDialog();
+
+ private:
+
+ Q_DISABLE_COPY(EapMschapv2PwdExpNoteDialog)
+
+ private:
+
+ /* Pointer to the HbTranslator */
+ QScopedPointer<HbTranslator> mTranslator;
+
+ /* Tells whether Ok Action has already been pressed */
+ bool mOkActionPressed;
+ };
+
+#endif // __EAPMSCHAPV2PWDEXPNOTEDIALOG_H__