# class List

###

Module | kio
Namespace | KBookmark
Class | List
Inherits |

KUrl.Bookmark is a QList that contains bookmarks with a few convenience methods.

See also KBookmark

See also QList

### methods

- List ( )

  returns ctor

- canDecode (mimeData)

  returns bool
  static

  Argument | Type | Default
  --- | --- | ---
  mimeData | QMimeData |

  Return true if mimeData contains bookmarks

- fromMimeData (mimeData)

  returns KBookmark.List
  static

  Argument | Type | Default
  --- | --- | ---
  mimeData | QMimeData |

  Extract a list of bookmarks from the contents of mimeData. Decoding will fail if mimeData does not contain any bookmarks.

  mimeData - the mime data to extract from; cannot be 0 Returns the list of bookmarks those bookmarks are valid QDomElements, but their parent QDomDocument is already deleted, do not use ownerDocument()

- mimeDataTypes ( )

  returns QStringList
  static

  Return the list of mimeTypes that can be decoded by fromMimeData

- populateMimeData (mimeData)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  mimeData | QMimeData |

  Adds this list of bookmark into the given QMimeData.

  mimeData - the QMimeData instance used to drag or copy this bookmark