UI/BrowserModel.py

changeset 15
f6ccc31d6e72
parent 13
1af94a91f439
child 103
59137afca666
equal deleted inserted replaced
14:092aa8fafa4e 15:f6ccc31d6e72
952 """ 952 """
953 return self.fileext == '.qrc' 953 return self.fileext == '.qrc'
954 954
955 def isProjectFile(self): 955 def isProjectFile(self):
956 """ 956 """
957 Public method to check, if this file is an eric4 project file. 957 Public method to check, if this file is an eric project file.
958 958
959 @return flag indicating an eric4 project file (boolean) 959 @return flag indicating an eric project file (boolean)
960 """ 960 """
961 return self.fileext in ['.e3p', '.e3pz', '.e4p', '.e4pz'] 961 return self.fileext in ['.e4p', '.e4pz']
962 962
963 def isMultiProjectFile(self): 963 def isMultiProjectFile(self):
964 """ 964 """
965 Public method to check, if this file is an eric4 multi project file. 965 Public method to check, if this file is an eric multi project file.
966 966
967 @return flag indicating an eric4 project file (boolean) 967 @return flag indicating an eric project file (boolean)
968 """ 968 """
969 return self.fileext in ['.e4m', '.e4mz'] 969 return self.fileext in ['.e4m', '.e4mz']
970 970
971 def isIdlFile(self): 971 def isIdlFile(self):
972 """ 972 """

eric ide

mercurial