416 ) |
416 ) |
417 ) |
417 ) |
418 self._addItem(node, itm) |
418 self._addItem(node, itm) |
419 self.endInsertRows() |
419 self.endInsertRows() |
420 |
420 |
421 def entryDeleted(self, path, isDir=False): # noqa: U100 |
421 def entryDeleted(self, path, isDir=False): # noqa: U-100 |
422 """ |
422 """ |
423 Public method to handle the deletion of a file or directory. |
423 Public method to handle the deletion of a file or directory. |
424 |
424 |
425 @param path path of the deleted file or directory |
425 @param path path of the deleted file or directory |
426 @type str |
426 @type str |
1344 self.symlink = True |
1344 self.symlink = True |
1345 self.icon = EricPixmapCache.getSymlinkIcon("dirClosed") |
1345 self.icon = EricPixmapCache.getSymlinkIcon("dirClosed") |
1346 else: |
1346 else: |
1347 self.icon = EricPixmapCache.getIcon("dirClosed") |
1347 self.icon = EricPixmapCache.getIcon("dirClosed") |
1348 |
1348 |
1349 def setName(self, dinfo, full=True): # noqa: U100 |
1349 def setName(self, dinfo, full=True): # noqa: U-100 |
1350 """ |
1350 """ |
1351 Public method to set the directory name. |
1351 Public method to set the directory name. |
1352 |
1352 |
1353 @param dinfo dinfo is the string for the directory |
1353 @param dinfo dinfo is the string for the directory |
1354 @type str |
1354 @type str |
1654 self.symlink = True |
1654 self.symlink = True |
1655 self.icon = EricPixmapCache.getSymlinkIcon(pixName) |
1655 self.icon = EricPixmapCache.getSymlinkIcon(pixName) |
1656 else: |
1656 else: |
1657 self.icon = EricPixmapCache.getIcon(pixName) |
1657 self.icon = EricPixmapCache.getIcon(pixName) |
1658 |
1658 |
1659 def setName(self, finfo, full=True): # noqa: U100 |
1659 def setName(self, finfo, full=True): # noqa: U-100 |
1660 """ |
1660 """ |
1661 Public method to set the directory name. |
1661 Public method to set the directory name. |
1662 |
1662 |
1663 @param finfo the string for the file |
1663 @param finfo the string for the file |
1664 @type str |
1664 @type str |