make the naming of the Thread self explaining

This commit is contained in:
Sebastian Wehling-Benatelli 2015-07-14 08:08:02 +02:00
parent 092852d745
commit 49bf0ecd3c

View File

@ -1,11 +1,11 @@
import sys import sys
from PySide.QtCore import QThread, Signal from PySide.QtCore import QThread, Signal
class WorkerThread(QThread): class AutoPickThread(QThread):
message = Signal(str) message = Signal(str)
def __init__(self, parent, func, data, param): def __init__(self, parent, func, data, param):
super(WorkerThread, self).__init__() super(AutoPickThread, self).__init__()
self.setParent(parent) self.setParent(parent)
self.func = func self.func = func
self.data = data self.data = data