code: def paste( self ):
          
          text = nativestring(QApplication.clipboard().text())
          for tag in text.split(','):
              tag = tag.strip()
              if ( self.isTagValid(tag) ):
                  self.addTag(tag)
docs: Pastes text from the clipboard.