#NEWLINE# def on_dirsradio( self , checked ) : #NEWLINE# #INDENT# self . fileops . dirsonly = checked #NEWLINE# if self . switchview : #NEWLINE# #INDENT# self . dirmodel . setFilter ( ( ( QtCore . QDir . Dirs | QtCore . QDir . Hidden ) | QtCore . QDir . NoDotAndDotDot ) ) #NEWLINE# #UNINDENT# self . update ( 2 )