wlanutilities/wlanwizard/inc/wlanwizardpagesummary.h
changeset 31 e8f4211554fb
child 39 7b3e49e4608a
equal deleted inserted replaced
30:ab513c8439db 31:e8f4211554fb
       
     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  *   WLAN Wizard Page: Summary
       
    16  *
       
    17  */
       
    18 
       
    19 #ifndef WLANWIZARDPAGESUMMARY_H
       
    20 #define WLANWIZARDPAGESUMMARY_H
       
    21 
       
    22 // System includes
       
    23 
       
    24 // User includes
       
    25 #include "wlanwizardpageinternal.h"
       
    26 
       
    27 // Forward declarations
       
    28 class HbLabel;
       
    29 class WlanWizardPrivate;
       
    30 class HbListWidget;
       
    31 
       
    32 // External data types
       
    33 
       
    34 // Constants
       
    35 
       
    36 /*!
       
    37    @addtogroup group_wlan_wizard
       
    38    @{
       
    39  */
       
    40 
       
    41 class WlanWizardPageSummary : public WlanWizardPageInternal
       
    42 {
       
    43 public:
       
    44     explicit WlanWizardPageSummary(WlanWizardPrivate* parent);
       
    45     virtual ~WlanWizardPageSummary();
       
    46 
       
    47 public: // From WlanWizardPage
       
    48     HbWidget* initializePage();
       
    49     int nextId(bool &removeFromStack) const;
       
    50 
       
    51 signals:
       
    52     
       
    53 public slots:
       
    54     
       
    55 protected:
       
    56 
       
    57 protected slots:
       
    58 
       
    59 private:
       
    60     Q_DISABLE_COPY(WlanWizardPageSummary)
       
    61     void loadDocml();
       
    62     QString networkModeText() const;
       
    63     QString securityModeText() const;
       
    64     void addDynamicItems(int &row);
       
    65     void appendToList(int &row, const QString title, const QString value);
       
    66     void appendToListPluginInfo(WlanWizardPlugin::Summary id, int &row);
       
    67 
       
    68 private slots:
       
    69 
       
    70 private: // data
       
    71     //! Visualization of the page
       
    72     HbListWidget *mListWidget;
       
    73 };
       
    74 
       
    75 /*! @} */
       
    76 
       
    77 #endif // WLANWIZARDPAGESUMMARY_H