Rename signals to avoid name clashes
This commit is contained in:
parent
e9f3b21519
commit
0f1180ad95
|
@ -511,8 +511,8 @@ class BTChipQTHandler:
|
||||||
def __init__(self, win):
|
def __init__(self, win):
|
||||||
self.win = win
|
self.win = win
|
||||||
self.win.connect(win, SIGNAL('btchip_done'), self.dialog_stop)
|
self.win.connect(win, SIGNAL('btchip_done'), self.dialog_stop)
|
||||||
self.win.connect(win, SIGNAL('message_dialog'), self.message_dialog)
|
self.win.connect(win, SIGNAL('btchip_message_dialog'), self.message_dialog)
|
||||||
self.win.connect(win, SIGNAL('auth_dialog'), self.auth_dialog)
|
self.win.connect(win, SIGNAL('btchip_auth_dialog'), self.auth_dialog)
|
||||||
self.done = threading.Event()
|
self.done = threading.Event()
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
|
@ -520,12 +520,12 @@ class BTChipQTHandler:
|
||||||
|
|
||||||
def show_message(self, msg):
|
def show_message(self, msg):
|
||||||
self.message = msg
|
self.message = msg
|
||||||
self.win.emit(SIGNAL('message_dialog'))
|
self.win.emit(SIGNAL('btchip_message_dialog'))
|
||||||
|
|
||||||
def prompt_auth(self, msg):
|
def prompt_auth(self, msg):
|
||||||
self.done.clear()
|
self.done.clear()
|
||||||
self.message = msg
|
self.message = msg
|
||||||
self.win.emit(SIGNAL('auth_dialog'))
|
self.win.emit(SIGNAL('btchip_auth_dialog'))
|
||||||
self.done.wait()
|
self.done.wait()
|
||||||
return self.response
|
return self.response
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue