emitted from main window add package to the collector
(self, name, links, password=None)
| 465 | self.connector.pauseServer() |
| 466 | |
| 467 | def slotAddPackage(self, name, links, password=None): |
| 468 | """ |
| 469 | emitted from main window |
| 470 | add package to the collector |
| 471 | """ |
| 472 | pack = self.connector.addPackage(name, links, Destination.Collector) |
| 473 | if password: |
| 474 | data = {"password": password} |
| 475 | self.connector.setPackageData(pack, data) |
| 476 | |
| 477 | def slotAddFileToPackage(self, pid, fid): #TODO deprecated? gets called |
| 478 | """ |
no test coverage detected