diff options
author | mkaay <mkaay@mkaay.de> | 2009-12-21 17:07:16 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2009-12-21 17:07:16 +0100 |
commit | ff7fa4a0d1aa1c09e563d2086704aa7e2acea716 (patch) | |
tree | 4024d973724e1243842477b3c26b95cf591d5847 /module/gui/MainWindow.py | |
parent | pause/start button works (diff) | |
download | pyload-ff7fa4a0d1aa1c09e563d2086704aa7e2acea716.tar.xz |
package creation works
Diffstat (limited to 'module/gui/MainWindow.py')
-rw-r--r-- | module/gui/MainWindow.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/module/gui/MainWindow.py b/module/gui/MainWindow.py index 6d68f4d7a..63ffb86a0 100644 --- a/module/gui/MainWindow.py +++ b/module/gui/MainWindow.py @@ -39,6 +39,7 @@ class MainWindow(QMainWindow): self.newLinkDock = NewLinkDock() self.addDockWidget(Qt.RightDockWidgetArea, self.newLinkDock) self.connect(self.newLinkDock, SIGNAL("done"), self.slotAddLinks) + self.connect(self.newPackDock, SIGNAL("done"), self.slotAddPackage) #central widget, layout self.masterlayout = QVBoxLayout() @@ -156,3 +157,6 @@ class MainWindow(QMainWindow): def slotAddLinks(self, links): self.emit(SIGNAL("addLinks"), links) + + def slotAddPackage(self, name, ids): + self.emit(SIGNAL("addPackage"), name, ids) |