src/eric7/UI/BrowserModel.py

branch
pdf_viewer
changeset 9697
cdaa3cc805f7
parent 9653
e67609152c5e
child 10069
435cc5875135
equal deleted inserted replaced
9696:669dabfa1319 9697:cdaa3cc805f7
1392 @return flag indicating a SVG file 1392 @return flag indicating a SVG file
1393 @rtype bool 1393 @rtype bool
1394 """ 1394 """
1395 return self.fileext == ".svg" 1395 return self.fileext == ".svg"
1396 1396
1397 def isPdfFile(self):
1398 """
1399 Public method to check, if this file is a PDF file.
1400
1401 @return flag indicating a PDF file
1402 @rtype bool
1403 """
1404 return self.fileext == ".pdf"
1405
1397 def isDFile(self): 1406 def isDFile(self):
1398 """ 1407 """
1399 Public method to check, if this file is a D file. 1408 Public method to check, if this file is a D file.
1400 1409
1401 @return flag indicating a D file (boolean) 1410 @return flag indicating a D file (boolean)

eric ide

mercurial