452 itm, (ProjectBrowserSimpleDirectoryItem, ProjectBrowserDirectoryItem) |
452 itm, (ProjectBrowserSimpleDirectoryItem, ProjectBrowserDirectoryItem) |
453 ): |
453 ): |
454 dn = itm.dirName() |
454 dn = itm.dirName() |
455 else: |
455 else: |
456 dn = None |
456 dn = None |
457 self.project.addFiles("others", dn) |
457 self.project.addFiles("OTHERS", dn) |
458 |
458 |
459 def __addOthersDirectory(self): |
459 def __addOthersDirectory(self): |
460 """ |
460 """ |
461 Private method to add files of a directory to the project. |
461 Private method to add files of a directory to the project. |
462 """ |
462 """ |
467 itm, (ProjectBrowserSimpleDirectoryItem, ProjectBrowserDirectoryItem) |
467 itm, (ProjectBrowserSimpleDirectoryItem, ProjectBrowserDirectoryItem) |
468 ): |
468 ): |
469 dn = itm.dirName() |
469 dn = itm.dirName() |
470 else: |
470 else: |
471 dn = None |
471 dn = None |
472 self.project.addDirectory("others", dn) |
472 self.project.addDirectory("OTHERS", dn) |
473 |
473 |
474 def __removeItem(self): |
474 def __removeItem(self): |
475 """ |
475 """ |
476 Private slot to remove the selected entry from the OTHERS project |
476 Private slot to remove the selected entry from the OTHERS project |
477 data area. |
477 data area. |