diff -r b852595f5cbe -r 63be7eb3fc78 wlanutilities/wlanwizard/tsrc/stubs/eapqtvalidator_stub.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wlanutilities/wlanwizard/tsrc/stubs/eapqtvalidator_stub.h Tue Aug 31 16:18:40 2010 +0300 @@ -0,0 +1,60 @@ +/* + * 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: + * Stub for EAP WIZARD testing: EAP QT configuration validator interface + * + */ + +#ifndef EAPQTVALIDATOR_STUB_H +#define EAPQTVALIDATOR_STUB_H + +// System includes +#include + +// User includes + +// Forward declarations + +class HbLineEdit; + +// External data types + +// Constants + +// Class declaration + +/*! + * @addtogroup group_eap_config_api + * @{ + */ + +class EapQtValidatorStub : public EapQtValidator +{ + +public: + + EapQtValidatorStub(EapQtValidator::Status status); + ~EapQtValidatorStub(); + virtual EapQtValidator::Status validate(const QVariant & value); + void updateEditor(HbLineEdit* const edit ); + void setReturnValue(EapQtValidator::Status status); + +private: + EapQtValidator::Status mStatus; + Q_DISABLE_COPY(EapQtValidatorStub) +}; + +/*! @} */ + +#endif