code: def loadString(self, profilestr, merge=False, loadProfile=True):
          
          try:
              xtoolbar = ElementTree.fromstring(nativestring(profilestr))
          except ExpatError, e:
              return
          
          if not merge:
              self.clear()
          
          self.blockSignals(True)
          for xprofile in xtoolbar:
              prof = XViewProfile.fromXml(xprofile)
              
              if merge:
                  self.removeProfile(prof.name(), silent=True)
              
              self.addProfile(prof)
  
          self.setCurrentProfile(xtoolbar.get('current'))
          
          self.blockSignals(False)
          self.profilesChanged.emit()
docs: Loads the information for this toolbar from the inputed string.
          
          :param      profilestr | <str>