205 if statusText not in self.__statusFilters: |
205 if statusText not in self.__statusFilters: |
206 self.__statusFilters.append(statusText) |
206 self.__statusFilters.append(statusText) |
207 |
207 |
208 def closeEvent(self, e): |
208 def closeEvent(self, e): |
209 """ |
209 """ |
210 Private slot implementing a close event handler. |
210 Protected slot implementing a close event handler. |
211 |
211 |
212 @param e close event (QCloseEvent) |
212 @param e close event (QCloseEvent) |
213 """ |
213 """ |
214 if self.__hgClient: |
214 if self.__hgClient: |
215 if self.__hgClient.isExecuting(): |
215 if self.__hgClient.isExecuting(): |
605 ## Context menu handling methods |
605 ## Context menu handling methods |
606 ########################################################################### |
606 ########################################################################### |
607 |
607 |
608 def __showContextMenu(self, coord): |
608 def __showContextMenu(self, coord): |
609 """ |
609 """ |
610 Protected slot to show the context menu of the status list. |
610 Private slot to show the context menu of the status list. |
611 |
611 |
612 @param coord the position of the mouse pointer (QPoint) |
612 @param coord the position of the mouse pointer (QPoint) |
613 """ |
613 """ |
614 modified = len(self.__getModifiedItems()) |
614 modified = len(self.__getModifiedItems()) |
615 unversioned = len(self.__getUnversionedItems()) |
615 unversioned = len(self.__getUnversionedItems()) |