def __init__(self, progress, action, parent): # TODO: implement the term InstallProgress.__init__(self) self.progress = progress self.action = action self.parent = parent self.finished = False self.parent.konsole.setInstallProgress(self)
def __init__(self): InstallProgress.__init__(self) QtCore.QObject.__init__(self) self.last = 0.0 self.done = False self.message = QtGui.QMessageBox() self.message.setIcon(QtGui.QMessageBox.Information) self.message.setWindowTitle("Message")
def __init__(self): InstallProgress.__init__(self) QtCore.QObject.__init__(self) self.last = 0.0 self.done = False self.message = QtGui.QMessageBox() self.message.setIcon(QtGui.QMessageBox.Information) self.message.setWindowTitle("Message")
def __init__(self, progress, action, parent): # TODO: implement the term InstallProgress.__init__(self) self.progress = progress self.action = action self.parent = parent self.finished = False self.parent.konsole.setInstallProgress(self)
def __init__(self,progress,term,label,term_expander): InstallProgress.__init__(self) self.progress = progress self.term = term self.term_expander = term_expander self.finished = False self.action = label self.time_last_update = time.time() self.term.connect("child-exited", self.child_exited) self.env = ["VTE_PTY_KEEP_FD=%s"% self.writefd, "DEBIAN_FRONTEND=gnome", "APT_LISTCHANGES_FRONTEND=gtk"]
def __init__(self,progress,term,label,term_expander): InstallProgress.__init__(self) self.progress = progress self.term = term self.term_expander = term_expander self.finished = False self.action = label self.time_last_update = time.time() self.term.connect("child-exited", self.child_exited) self.env = ["VTE_PTY_KEEP_FD=%s"% self.writefd, "DEBIAN_FRONTEND=gnome", "APT_LISTCHANGES_FRONTEND=gtk"]
def __init__(self, db, title, info, error=None): InstallProgress.__init__(self) self.db = db self.title = title self.info = info self.error_template = error self.started = False # InstallProgress uses a non-blocking status fd; our run() # implementation doesn't need that, and in fact we spin unless the # fd is blocking. flags = fcntl.fcntl(self.status_stream.fileno(), fcntl.F_GETFL) fcntl.fcntl(self.status_stream.fileno(), fcntl.F_SETFL, flags & ~os.O_NONBLOCK)
def __init__(self, db, title, info, error=None): InstallProgress.__init__(self) self.db = db self.title = title self.info = info self.error_template = error self.started = False # InstallProgress uses a non-blocking status fd; our run() # implementation doesn't need that, and in fact we spin unless the # fd is blocking. flags = fcntl.fcntl(self.status_stream.fileno(), fcntl.F_GETFL) fcntl.fcntl(self.status_stream.fileno(), fcntl.F_SETFL, flags & ~os.O_NONBLOCK)
def __init__(self, term): InstallProgress.__init__(self) self.finished = False self.apt_status = -1 self.time_last_update = time.time() self.term = term if old_version: self.term.connect("child-exited", self.child_exited) else: self.term.connect("child-exited", self.child_exited_2) self.env = [ "VTE_PTY_KEEP_FD=%s" % self.writefd, "DEBIAN_FRONTEND=gnome", "APT_LISTCHANGES_FRONTEND=Gtk" ] self._context = GLib.main_context_default() super(GInstallProgress, self).__init__()
def __init__(self, cb=None): InstallProgress.__init__(self) self.cb = cb
def __init__(self, pbar, status_label): InstallProgress.__init__(self) self.pbar = pbar self.status_label = status_label self.last = 0.0
def __init__(self, sysdaemon): InstallProgress.__init__(self) self.sysdaemon = sysdaemon
def __init__(self, cb=None, fileno=2): InstallProgress.__init__(self) self.cb = cb self.fileno = fileno
def __init__(self, pbar, status_label): InstallProgress.__init__(self) self.pbar = pbar self.status_label = status_label self.last = 0.0
def __init__(self, sysdaemon): InstallProgress.__init__(self) self.sysdaemon = sysdaemon
def __init__(self, system): InstallProgress.__init__(self) self.system = system
def __init__(self): BaseInstallProgress.__init__(self)
def __init__(self): BaseInstallProgress.__init__(self)
def __init__(self, cb=None): InstallProgress.__init__(self) self.cb = cb
def __init__(self, sig): InstallProgress.__init__(self) self.last = 0.0 self.b = ProgressBar() self.step = sig
def __init__(self, system): InstallProgress.__init__(self) self.system = system
def __init__(self, cb=None, fileno=2): InstallProgress.__init__(self) self.cb = cb self.fileno = fileno