securitysettings/qtconfigutils/eapqtconfiginterface/inc/eapqtvalidatorpassword.h
author William Roberts <williamr@symbian.org>
Thu, 22 Jul 2010 16:34:37 +0100
branchGCC_SURGE
changeset 40 60f08993dad0
parent 39 fe6b6762fccd
permissions -rw-r--r--
Catchup to latest Symbian^4

/*
 * 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 method validator: password 
 *
 */

/*
 * %version: 5 %
 */

#ifndef EAPQTVALIDATORPASSWORD_H
#define EAPQTVALIDATORPASSWORD_H

// System includes
#include <eapqtvalidator.h>
#include <eapqtexpandedeaptype.h>

// User includes

// Forward declarations

// External data types

// Constants

// Class declaration
class EapQtValidatorPassword : public EapQtValidator
{

public:

    // Data types

    explicit EapQtValidatorPassword(const EapQtExpandedEapType& type);
    ~EapQtValidatorPassword();

    // from EapQtValidator
    EapQtValidator::Status validate(const QVariant& value);
    void updateEditor(HbLineEdit* const edit);

private:

    EapQtValidatorPassword();
    Q_DISABLE_COPY(EapQtValidatorPassword)

    EapQtValidator::Status validateGeneral(const QVariant& value);
    void updateEditorGeneral(HbLineEdit* const edit);

private: // data

    EapQtExpandedEapType mEapType;

};

#endif // EAPQTVALIDATORPASSWORD_H