securitysettings/qtconfigutils/eapqtconfiginterface/inc/eapqtvalidatorrealm.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 11 Jun 2010 13:40:22 +0300
changeset 33 938269283a16
child 39 fe6b6762fccd
permissions -rw-r--r--
Revision: 201021 Kit: 2010123

/*
 * 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 <eapqtvalidator.h>
#include <eapqtexpandedeaptype.h>

/*!
 * @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