#NEWLINE# @ QtCore . Slot ( list ) #NEWLINE# def data_changed( self , new_neos ) : #NEWLINE# #INDENT# parent = self . categories [ m . devices ] #NEWLINE# self . beginRemoveRows ( parent , 0 , ( self . rowCount ( parent ) - 1 ) ) #NEWLINE# self . neo_list = [ ] #NEWLINE# self . endRemoveRows ( ) #NEWLINE# self . beginInsertRows ( parent , 0 , ( len ( new_neos ) - 1 ) ) #NEWLINE# self . neo_list = new_neos #NEWLINE# self . endInsertRows ( ) #NEWLINE# self . _update_applets ( ) #NEWLINE# self . refresh_icons ( )