263 """<p>Quit the icon editor.</p>""" |
263 """<p>Quit the icon editor.</p>""" |
264 )) |
264 )) |
265 if self.fromEric: |
265 if self.fromEric: |
266 self.exitAct.triggered.connect(self.close) |
266 self.exitAct.triggered.connect(self.close) |
267 else: |
267 else: |
268 self.connect(self.exitAct, SIGNAL('triggered()'), |
268 self.exitAct.triggered.connect(qApp.closeAllWindows) |
269 qApp, SLOT('closeAllWindows()')) |
|
270 self.__actions.append(self.exitAct) |
269 self.__actions.append(self.exitAct) |
271 |
270 |
272 def __initEditActions(self): |
271 def __initEditActions(self): |
273 """ |
272 """ |
274 Private method to create the Edit actions. |
273 Private method to create the Edit actions. |