securitysettings/qtconfigutils/eapqtconfiginterface/inc/eapqtvalidatorpassword.h
branchRCL_3
changeset 18 bad0cc58d154
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/securitysettings/qtconfigutils/eapqtconfiginterface/inc/eapqtvalidatorpassword.h	Tue Aug 31 15:16:37 2010 +0300
@@ -0,0 +1,67 @@
+/*
+ * 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