wlanutilities/eapwizard/inc/eapwizardpagepacstorepasswordconfirm.h
branchRCL_3
changeset 25 f28ada11abbf
parent 24 63be7eb3fc78
equal deleted inserted replaced
24:63be7eb3fc78 25:f28ada11abbf
     1 /*
       
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description: 
       
    15  *   EAP Wizard Page: PAC store password confirmation
       
    16  *
       
    17  */
       
    18 
       
    19 #ifndef EAPWIZARDPAGENPACSTOREPASSWORDCONFIRM_H
       
    20 #define EAPWIZARDPAGENPACSTOREPASSWORDCONFIRM_H
       
    21 
       
    22 // System includes
       
    23 #include <QObject>
       
    24 
       
    25 // User includes
       
    26 #include "eapwizardpage.h"
       
    27 
       
    28 // Forward declarations
       
    29 class HbDocumentLoader;
       
    30 class HbLineEdit;
       
    31 class HbLabel;
       
    32 class EapQtValidator;
       
    33 class EapWizardPrivate;
       
    34 
       
    35 // External data types
       
    36 
       
    37 // Constants
       
    38 
       
    39 
       
    40 /*!
       
    41  * @addtogroup group_eap_wizard
       
    42  * @{
       
    43  */
       
    44 
       
    45 // Class declaration
       
    46 
       
    47 class EapWizardPagePacStorePasswordConfirm: public EapWizardPage
       
    48 {
       
    49     Q_OBJECT
       
    50 public:
       
    51     explicit EapWizardPagePacStorePasswordConfirm(EapWizardPrivate* parent);
       
    52     ~EapWizardPagePacStorePasswordConfirm();
       
    53     
       
    54 public: // From WlanWizardPage    
       
    55     HbWidget* initializePage();
       
    56     int nextId() const;
       
    57     bool showPage();
       
    58     
       
    59 signals:
       
    60         
       
    61 public slots:
       
    62 
       
    63 protected:
       
    64     bool eventFilter(QObject *obj, QEvent *event);
       
    65 
       
    66 protected slots:
       
    67 
       
    68 private:
       
    69     Q_DISABLE_COPY(EapWizardPagePacStorePasswordConfirm)
       
    70     void createPages();
       
    71     bool hasInnerMethod() const;
       
    72 
       
    73 private slots:
       
    74     void loadDocmlSection(Qt::Orientation orientation);
       
    75     
       
    76 private: // data
       
    77     // OWNED 
       
    78     //! Document loader for docml
       
    79     QScopedPointer<HbDocumentLoader> mDocumentLoader;
       
    80     //! Validator for PAC store password 
       
    81     QScopedPointer<EapQtValidator> mValidator;
       
    82     
       
    83     // NOT OWNED
       
    84     //! Visualization of the page
       
    85     HbWidget *mWidget;
       
    86     //! line editor for PAC store password confirmation 
       
    87     HbLineEdit *mEditPasswordConfirm;
       
    88     //! Label for embadded error string
       
    89     HbLabel *mLabelError;
       
    90 };
       
    91 
       
    92 /*! @} */
       
    93 
       
    94 #endif