예제 #1
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.listener = None
     self.obj = QObject()
     self.obj.connect(self.obj, SIGNAL('cosigner:receive'), self.on_receive)
     self.keys = []
     self.cosigner_list = []
예제 #2
0
 def __init__(self, a, b):
     BasePlugin.__init__(self, a, b)
     self.currencies = [self.fiat_unit()]
     self.exchanges = [self.config.get('use_exchange', "BTC-e")]
     # Do price discovery
     self.exchanger = Exchanger(self)
     self.exchanger.start()
     self.win = None
예제 #3
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.imap_server = self.config.get('email_server', '')
     self.username = self.config.get('email_username', '')
     self.password = self.config.get('email_password', '')
     if self.imap_server and self.username and self.password:
         self.processor = Processor(self.imap_server, self.username,
                                    self.password, self.on_receive)
         self.processor.start()
     self.obj = QObject()
     self.obj.connect(self.obj, SIGNAL('email:new_invoice'),
                      self.new_invoice)
예제 #4
0
 def __init__(self, gui, name):
     BasePlugin.__init__(self, gui, name)
     self._is_available = OA_READY
     self.print_error('OA_READY is ' + str(OA_READY))
예제 #5
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     if self.is_available():
         self.modem_config = amodem.config.slowest()
         self.library_name = {'Linux': 'libportaudio.so'}[platform.system()]
예제 #6
0
 def __init__(self, parent, config, name):
     BasePlugin.__init__(self, parent, config, name)
     self.target_host = 'labels.bauerj.eu'
     self.wallets = {}
예제 #7
0
 def __init__(self, config, name):
     BasePlugin.__init__(self, config, name)
     self._is_available = self._init()
     self._requires_settings = True
     self.wallet = None
예제 #8
0
 def __init__(self, gui, name):
     BasePlugin.__init__(self, gui, name)
     self._is_available = self._init()
     self.wallet = None