diff -r 9abfd4f00d37 -r 9660a5eb236f securitysettings/eapqtdialogs/inc/eapmschapv2newpwddialog.h --- a/securitysettings/eapqtdialogs/inc/eapmschapv2newpwddialog.h Mon May 24 20:32:47 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,103 +0,0 @@ -/* -* 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: -* -*/ - - -#ifndef __EAPMSCHAPV2NEWPWDDIALOG_H__ -#define __EAPMSCHAPV2NEWPWDDIALOG_H__ - - -#include -#include -#include -#include -#include - -class EapQtValidator; - -class EapMschapv2NewPwdDialog: public HbInputDialog, public HbDeviceDialogInterface - { - Q_OBJECT - - public: - /* Constructor */ - EapMschapv2NewPwdDialog(const QVariantMap ¶meters); - /* Destructor */ - ~EapMschapv2NewPwdDialog(); - - /* 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 Cancel Action button's triggered signal */ - void cancelPressed(); - - /* Slot that is mapped to the signal that indicates to closing of the dialog */ - void closingDialog(); - - private: - - bool validate() const; - - Q_DISABLE_COPY(EapMschapv2NewPwdDialog) - - private: - /* Pointer to the line edit 1 object */ - HbLineEdit *mEdit1; - - /* Pointer to the line edit 2 object */ - HbLineEdit *mEdit2; - - /* Pointer to the password validator object */ - EapQtValidator *mPwdValidator; - - /* Pointer to the Ok action button */ - HbAction* mActionOk; - - /* Pointer to the HbTranslator */ - QScopedPointer mTranslator; - - /* Tells whether close has already been called for the dialog */ - bool mClose; - }; - - -#endif // __EAPMSCHAPV2NEWPWDDIALOG_H__ -