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()]
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 = []
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self.ccy = self.get_currency() self.history_used_spot = False self.ccy_combo = None self.hist_checkbox = None self.exchanges = get_exchanges() self.exchanges_by_ccy = get_exchanges_by_ccy() self.set_exchange(self.config_exchange())
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)
def toggle(self): out = BasePlugin.toggle(self) self.win.update_status() self.win.tabs.removeTab(1) new_send_tab = self.gui.main_window.create_send_tab() self.win.tabs.insertTab(1, new_send_tab, _('Send')) return out
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self.target_host = 'sync.bytesized-hosting.com:9090' self.wallets = {}
def __init__(self, a, b): BasePlugin.__init__(self, a, b) self.currencies = [self.config.get('currency', "USD")] self.exchanges = [self.config.get('use_exchange', "Bleutrade")]
def __init__(self, parent, config, name): BasePlugin.__init__(self, parent, config, name) self.device = self.wallet_class.device self.wallet_class.plugin = self
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()]
def __init__(self,a,b): BasePlugin.__init__(self,a,b) self.currencies = [self.config.get('currency', "USD")] self.exchanges = [self.config.get('use_exchange', "Bleutrade")]