code: def deleteAllProfiles(self):
          
          settings = QtCore.QSettings()
          for profGroupName in QtCore.QSettings().childGroups():
              settings.remove(profGroupName)
docs: Returns a list of all profiles