calculate package- and filecount for statusbar, ugly?: Overview connects to this signal for updating
(self)
| 100 | self.updateCount() |
| 101 | |
| 102 | def updateCount(self): |
| 103 | """ |
| 104 | calculate package- and filecount for statusbar, |
| 105 | ugly?: Overview connects to this signal for updating |
| 106 | """ |
| 107 | packageCount = len(self._data) |
| 108 | fileCount = 0 |
| 109 | for p in self._data: |
| 110 | fileCount += len(p.children) |
| 111 | self.mutex.unlock() |
| 112 | self.emit(SIGNAL("updateCount"), packageCount, fileCount) |
| 113 | self.mutex.lock() |
| 114 | |
| 115 | def update(self): |
| 116 | """ |
no test coverage detected