34 self.filetypeAssociationList.header().setSortIndicator( |
34 self.filetypeAssociationList.header().setSortIndicator( |
35 0, Qt.AscendingOrder) |
35 0, Qt.AscendingOrder) |
36 |
36 |
37 # keep these lists in sync |
37 # keep these lists in sync |
38 self.filetypes = ["SOURCES", "FORMS", "TRANSLATIONS", "RESOURCES", |
38 self.filetypes = ["SOURCES", "FORMS", "TRANSLATIONS", "RESOURCES", |
39 "INTERFACES", "OTHERS", "__IGNORE__"] |
39 "INTERFACES", "PROTOCOLS", "OTHERS", "__IGNORE__"] |
40 self.filetypeStrings = [self.tr("Sources"), self.tr("Forms"), |
40 self.filetypeStrings = [self.tr("Sources"), self.tr("Forms"), |
41 self.tr("Translations"), |
41 self.tr("Translations"), |
42 self.tr("Resources"), |
42 self.tr("Resources"), |
43 self.tr("Interfaces"), |
43 self.tr("Interfaces"), |
|
44 self.tr("Protocols"), |
44 self.tr("Others"), |
45 self.tr("Others"), |
45 self.tr("Ignore")] |
46 self.tr("Ignore")] |
46 self.filetypeCombo.addItems(self.filetypeStrings) |
47 self.filetypeCombo.addItems(self.filetypeStrings) |
47 |
48 |
48 self.project = project |
49 self.project = project |