Beispiel #1
0
    def __init__(self, *args):
        QtGui.QWidget.__init__(self,None)
        self.ui = Ui_networkWidget()
        self.ui.setupUi(self)

        moduleInfo = KCModuleInfo("kcm_networkmanager.desktop")
        nm = KCModuleProxy(moduleInfo)
        self.ui.layout.addWidget(nm)
Beispiel #2
0
class Widget(QtGui.QWidget, ScreenWidget):
    title = ki18n("Network Manager")
    desc = ki18n("Network Manager")

    running = False
    proc = QProcess()

    def __init__(self, *args):
        QtGui.QWidget.__init__(self,None)
        self.ui = Ui_networkWidget()
        self.ui.setupUi(self)

        moduleInfo = KCModuleInfo("kcm_networkmanager.desktop")
        nm = KCModuleProxy(moduleInfo)
        self.ui.layout.addWidget(nm)

    def execute(self):
        return True