wlanutilities/wlanqtutilities/base/src/wlanqtutils.cpp
changeset 58 301aeb18ae47
parent 46 2fbd1d709fe7
equal deleted inserted replaced
56:de27cc8389dd 58:301aeb18ae47
    18 // System includes
    18 // System includes
    19 
    19 
    20 // User includes
    20 // User includes
    21 
    21 
    22 #include "wlanqtutilsap.h"
    22 #include "wlanqtutilsap.h"
    23 #include "wlanqtutilsiap.h"
       
    24 #include "wlanqtutils_p.h"
    23 #include "wlanqtutils_p.h"
    25 #include "wlanqtutils.h"
    24 #include "wlanqtutils.h"
    26 
    25 
    27 /*!
    26 /*!
    28     \class WlanQtUtils
    27     \class WlanQtUtils
   122     @param [out] wlanIapList List of available WLAN IAPs.
   121     @param [out] wlanIapList List of available WLAN IAPs.
   123     @param [out] wlanApList List of unknown WLAN APs.
   122     @param [out] wlanApList List of unknown WLAN APs.
   124 */
   123 */
   125 
   124 
   126 void WlanQtUtils::availableWlans(
   125 void WlanQtUtils::availableWlans(
   127     QList< QSharedPointer<WlanQtUtilsIap> > &wlanIapList,
   126     QList< QSharedPointer<WlanQtUtilsAp> > &wlanIapList,
   128     QList< QSharedPointer<WlanQtUtilsAp> > &wlanApList) const
   127     QList< QSharedPointer<WlanQtUtilsAp> > &wlanApList) const
   129 {
   128 {
   130     d_ptr->availableWlans(wlanIapList, wlanApList);
   129     d_ptr->availableWlans(wlanIapList, wlanApList);
   131 }
   130 }
   132 
   131 
   215 void WlanQtUtils::disconnectIap(int iapId)
   214 void WlanQtUtils::disconnectIap(int iapId)
   216 {
   215 {
   217     d_ptr->disconnectIap(iapId);
   216     d_ptr->disconnectIap(iapId);
   218 }
   217 }
   219 
   218 
       
   219 /*
       
   220     Moves the given IAP into the Internet SNAP.
       
   221 
       
   222     @param [in] iapId ID of the IAP to be moved.
       
   223 */
       
   224 
       
   225 void WlanQtUtils::moveIapToInternetSnap(int iapId)
       
   226 {
       
   227     d_ptr->moveIapToInternetSnap(iapId);
       
   228 }
       
   229 
   220 /*!
   230 /*!
   221     Function to retrieve the name of the IAP with the given ID.
   231     Function to retrieve the name of the IAP with the given ID.
   222 
   232 
   223     @param [in] iapId ID of the requested IAP.
   233     @param [in] iapId ID of the requested IAP.
   224     
   234