wlanutilities/wlanwizard/src/wlanwizard.cpp
changeset 58 301aeb18ae47
parent 56 de27cc8389dd
equal deleted inserted replaced
56:de27cc8389dd 58:301aeb18ae47
   135    \a hidden can be used with \a networkMode CmManagerShim::Infra 
   135    \a hidden can be used with \a networkMode CmManagerShim::Infra 
   136    
   136    
   137    Wifi Protected Setup
   137    Wifi Protected Setup
   138    \a wps can be used with Open, WEP and WPA (2) with PSK.
   138    \a wps can be used with Open, WEP and WPA (2) with PSK.
   139    
   139    
   140    @param [in] ssid The name of WLAN network (ssid), max length 32 characters.
   140    @param [in] name The name of WLAN network, max length 32 characters.
       
   141    @param [in] ssid The SSID of WLAN network, max length 32 characters.
   141    @param [in] networkMode Network mode of known access point
   142    @param [in] networkMode Network mode of known access point
   142    @param [in] securityMode Security mode of known access point
   143    @param [in] securityMode Security mode of known access point
   143    @param [in] usePsk used only with WPA or WPA2 \a securityMode
   144    @param [in] usePsk used only with WPA or WPA2 \a securityMode
   144    @param [in] wps is Wifi Protected Setup supported?
   145    @param [in] wps is Wifi Protected Setup supported?
   145  */
   146  */
   146 void WlanWizard::setParameters(
   147 void WlanWizard::setParameters(
   147     const QString &ssid, 
   148     const QString &name, 
       
   149     const QByteArray &ssid, 
   148     int networkMode, 
   150     int networkMode, 
   149     int securityMode, 
   151     int securityMode, 
   150     bool usePsk,
   152     bool usePsk,
   151     bool wps)
   153     bool wps)
   152 {
   154 {
   153     d_ptr->setParameters(ssid, networkMode, securityMode, usePsk, wps);
   155     d_ptr->setParameters(name, ssid, networkMode, securityMode, usePsk, wps);
   154 }
   156 }
   155 
   157 
   156 /*!
   158 /*!
   157    Executes the wizard and shows the first page.
   159    Executes the wizard and shows the first page.
   158    
   160