542 self.exitAct.setWhatsThis(self.trUtf8( |
542 self.exitAct.setWhatsThis(self.trUtf8( |
543 """<b>Quit</b>""" |
543 """<b>Quit</b>""" |
544 """<p>Quit the web browser.</p>""" |
544 """<p>Quit the web browser.</p>""" |
545 )) |
545 )) |
546 if self.fromEric: |
546 if self.fromEric: |
547 self.exitAct.triggered.connect(self, SLOT('close()')) |
547 self.exitAct.triggered.connect(self.close) |
548 else: |
548 else: |
549 self.connect(self.exitAct, SIGNAL('triggered()'), |
549 self.exitAct.triggered.connect(qApp.closeAllWindows) |
550 qApp, SLOT('closeAllWindows()')) |
|
551 self.__actions.append(self.exitAct) |
550 self.__actions.append(self.exitAct) |
552 |
551 |
553 self.backAct = E5Action(self.trUtf8('Backward'), |
552 self.backAct = E5Action(self.trUtf8('Backward'), |
554 UI.PixmapCache.getIcon("back.png"), |
553 UI.PixmapCache.getIcon("back.png"), |
555 self.trUtf8('&Backward'), |
554 self.trUtf8('&Backward'), |