diff -r 093cf0757204 -r 938269283a16 securitysettings/qtconfigutils/eapqtconfiginterface/inc/eapqtvalidatorrealm.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/securitysettings/qtconfigutils/eapqtconfiginterface/inc/eapqtvalidatorrealm.h Fri Jun 11 13:40:22 2010 +0300 @@ -0,0 +1,62 @@ +/* + * 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 the License "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 method validator: realm + * + */ + +/* + * %version: 4 % + */ + +#ifndef EAPQTVALIDATOR_REALM_H +#define EAPQTVALIDATOR_REALM_H + +#include +#include + +/*! + * @addtogroup group_eap_config_if_impl + * @{ + */ +/*! + */ +class EapQtValidatorRealm : public EapQtValidator +{ +public: + + explicit EapQtValidatorRealm(EapQtExpandedEapType type); + ~EapQtValidatorRealm(); + + // from EapQtValidator + EapQtValidator::Status validate(QVariant value); + void updateEditor(HbLineEdit *edit); + +private: + + EapQtValidatorRealm(); + Q_DISABLE_COPY(EapQtValidatorRealm) + + EapQtValidator::Status validateGeneral(QVariant value); + void updateEditorGeneral(HbLineEdit *edit); + +private: + EapQtExpandedEapType mEapType; + +}; + +/*! @} */ + +#endif +