wlanutilities/wlanwizard/inc/wlanwizardpagenetworkmode.h
changeset 43 72ebcbb64834
parent 39 7b3e49e4608a
child 61 e1d68407ed06
--- a/wlanutilities/wlanwizard/inc/wlanwizardpagenetworkmode.h	Thu Jun 24 10:49:51 2010 +0300
+++ b/wlanutilities/wlanwizard/inc/wlanwizardpagenetworkmode.h	Fri Jul 09 10:38:19 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;
 };
 
 /*! @} */