qtmobility/src/systeminfo/qsysteminfo_linux_p.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 11 06b8e2af4411
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
   113     QString currentMobileCountryCode();
   113     QString currentMobileCountryCode();
   114     QString currentMobileNetworkCode();
   114     QString currentMobileNetworkCode();
   115 
   115 
   116     QString homeMobileCountryCode();
   116     QString homeMobileCountryCode();
   117     QString homeMobileNetworkCode();
   117     QString homeMobileNetworkCode();
       
   118     QSystemNetworkInfo::NetworkMode currentMode();
   118 
   119 
   119 public Q_SLOTS:
   120 public Q_SLOTS:
   120 #if !defined(QT_NO_NETWORKMANAGER)
   121 #if !defined(QT_NO_NETWORKMANAGER)
   121         void getPrimaryMode();
   122         void primaryModeChanged();
   122 #endif
   123 #endif
   123 
   124 
   124 private:
   125 private:
   125 #if !defined(QT_NO_NETWORKMANAGER)
   126 #if !defined(QT_NO_NETWORKMANAGER)
   126     QNetworkManagerInterface *iface;
   127     QNetworkManagerInterface *iface;
   136     void updateActivePaths();
   137     void updateActivePaths();
   137     
   138     
   138     QString getNmNetName(QSystemNetworkInfo::NetworkMode mode);
   139     QString getNmNetName(QSystemNetworkInfo::NetworkMode mode);
   139 
   140 
   140     inline QSystemNetworkInfo::NetworkMode deviceTypeToMode(quint32 type);
   141     inline QSystemNetworkInfo::NetworkMode deviceTypeToMode(quint32 type);
       
   142 
   141 #endif
   143 #endif
   142     QString getSysNetName(QSystemNetworkInfo::NetworkMode mode);
   144     QString getSysNetName(QSystemNetworkInfo::NetworkMode mode);
   143 
   145 
   144 private Q_SLOTS:
   146 private Q_SLOTS:
   145 #if !defined(QT_NO_NETWORKMANAGER)
   147 #if !defined(QT_NO_NETWORKMANAGER)