29 import Utilities |
29 import Utilities |
30 import Preferences |
30 import Preferences |
31 |
31 |
32 import UI.PixmapCache |
32 import UI.PixmapCache |
33 |
33 |
34 from eric4config import getConfig |
34 from eric5config import getConfig |
35 |
35 |
36 descrRole = Qt.UserRole |
36 descrRole = Qt.UserRole |
37 urlRole = Qt.UserRole + 1 |
37 urlRole = Qt.UserRole + 1 |
38 filenameRole = Qt.UserRole + 2 |
38 filenameRole = Qt.UserRole + 2 |
39 authorRole = Qt.UserRole + 3 |
39 authorRole = Qt.UserRole + 3 |
624 self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.close) |
624 self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.close) |
625 self.connect(self.cw, SIGNAL("closeAndInstall"), self.__startPluginInstall) |
625 self.connect(self.cw, SIGNAL("closeAndInstall"), self.__startPluginInstall) |
626 |
626 |
627 def __startPluginInstall(self): |
627 def __startPluginInstall(self): |
628 """ |
628 """ |
629 Private slot to start the eric4 plugin installation dialog. |
629 Private slot to start the eric5 plugin installation dialog. |
630 """ |
630 """ |
631 proc = QProcess() |
631 proc = QProcess() |
632 applPath = os.path.join(getConfig("ericDir"), "eric4-plugininstall.py") |
632 applPath = os.path.join(getConfig("ericDir"), "eric5-plugininstall.py") |
633 |
633 |
634 args = [] |
634 args = [] |
635 args.append(applPath) |
635 args.append(applPath) |
636 args += self.cw.getDownloadedPlugins() |
636 args += self.cw.getDownloadedPlugins() |
637 |
637 |