wlanutilities/wpswizard/inc/wpswizardstepfive.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 16:07:56 +0300
changeset 19 10810c91db26
child 39 7b3e49e4608a
child 47 b3d8f88532b7
permissions -rw-r--r--
Revision: 201011 Kit: 201015

/*
* 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: WPS wizard page step 5
*
*/
#ifndef WPSWIZARDSTEPFIVE_H_
#define WPSWIZARDSTEPFIVE_H_


// System includes
#include <QObject>

// User includes
#include "wpswizardpage.h"

// Forward declarations
class HbRadioButtonList;
class HbWidget;
class HbLabel;
class HbProgressBar;
class WpsWizardPrivate;


// External data types
// Constants

// Class declaration
class WpsPageStepFive : public WpsWizardPage
    {
Q_OBJECT
public:
    WpsPageStepFive(WpsWizardPrivate* parent);
    ~WpsPageStepFive();

public:
    /*!
     * Creates a visualization of the page.
     */
    HbWidget* initializePage();
    /*!
     * Returns id of next page. updates settings EapWizard.
     */
    int nextId(bool &removeFromStack) const;
    /*!
     * Returns how many steps should be gone backwards. 
     */
    int stepsBackwards();
    /*!
     * This method is called when Previous button has been pressed.
     */
    void previousTriggered();
    /*!
     * This method is called when Cancel button has been pressed.
     */
    void cancelTriggered();
    /*!
     * This method is called when a visualization is displayed to detect
     * whether next button should be enabled or not.
     */
    bool validate() const;

public slots:
    void itemSelected(int index);

private:
    Q_DISABLE_COPY(WpsPageStepFive)
    HbWidget *mWidget;
    HbRadioButtonList *mRadio;
    HbLabel *mTitle;
    HbLabel *mHeading;
    bool mValid;
    };

/*! @} */

#endif /* WPSWIZARDSTEPFIVE_H_ */