def networkAvailable(self): print "NET AVAILABLE" self.updater = WAUpdater() self.updater.updateAvailable.connect(self.updateAvailable) self.connecting.emit() #thread.start_new_thread(self.conn.changeState, (2,)) self.conn.changeState(2) self.updater.run()