Beispiel #1
0
 def checkNetwork(self):
     if iNetworkInfo.isConnected():
         self.NetworkConnectionAvailable = True
         self.restartTimer()
     else:
         self.NetworkConnectionAvailable = False
         self.DBStatusTimer.stop()
Beispiel #2
0
	def checkNetwork(self):
		if iNetworkInfo.isConnected():
			self.NetworkConnectionAvailable = True
			self.restartTimer()
		else:
			self.NetworkConnectionAvailable = False
			self.DBStatusTimer.stop()
Beispiel #3
0
def NetworkBrowserCallFunction(iface):
    interfaceState = iNetworkInfo.isConnected()
    if interfaceState is True:
        return NetworkBrowserMain
    else:
        return None
Beispiel #4
0
def NetworkBrowserCallFunction(iface):
	interfaceState = iNetworkInfo.isConnected()
	if interfaceState is True:
		return NetworkBrowserMain
	else:
		return None