wlanutilities/wlanwizard/inc/wlanwizardpagenetworkmode.h
changeset 50 d4198dcb9983
parent 46 2fbd1d709fe7
child 61 e1d68407ed06
--- a/wlanutilities/wlanwizard/inc/wlanwizardpagenetworkmode.h	Tue Jul 06 15:29:22 2010 +0300
+++ b/wlanutilities/wlanwizard/inc/wlanwizardpagenetworkmode.h	Wed Aug 18 10:52:46 2010 +0300
@@ -65,13 +65,24 @@
     
 private:
     Q_DISABLE_COPY(WlanWizardPageNetworkMode)
-    void addToList(QStringList &list, const QString &item, int mode, bool isHidden);
+    void addToList(
+        QStringList &list,
+        const QString &item,
+        int mode,
+        bool isHidden,
+        bool wpsSupported);
     void populateRadioButtonList(QStringList &list);
     int selectNextPage(const WlanNetworkSetting &setting) const;
 
 private slots:
 
 private:
+
+    /*!
+     * Internal network mode value constant. Used when wps used.
+     */
+    static const int NetworkModeNone = -1;
+    
     /*!
      * Pointer to the view.
      */
@@ -108,6 +119,12 @@
      * the initialization of the page.
      */
     QList<bool> mIsHidden;
+    
+    /*!
+     * List of wps support. This list is tied to the radio buttons during
+     * the initialization of the page.
+     */
+    QList<bool> mWpsSupported;
 };
 
 /*! @} */