357 @rtype int |
357 @rtype int |
358 """ |
358 """ |
359 return len(self.__editors) |
359 return len(self.__editors) |
360 |
360 |
361 @pyqtSlot(QWidget, QWidget) |
361 @pyqtSlot(QWidget, QWidget) |
362 def __appFocusChanged(self, old, now): |
362 def __appFocusChanged(self, _old, now): |
363 """ |
363 """ |
364 Private slot to track the application focus. |
364 Private slot to track the application focus. |
365 |
365 |
366 @param old reference to the widget loosing focus |
366 @param _old reference to the widget loosing focus (unused) |
367 @type QWidget |
367 @type QWidget |
368 @param now reference to the widget gaining focus |
368 @param now reference to the widget gaining focus |
369 @type QWidget |
369 @type QWidget |
370 """ |
370 """ |
371 if now is None: |
371 if now is None: |