# class KFileItemList

###

Module | kio
Namespace |
Class | KFileItemList
Inherits |

List of KFileItems, which adds a few helper methods to QList<KFileItem>.

### methods

- KFileItemList ( )

  returns ctor

  Creates an empty list of file items.

- KFileItemList (items)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  items | QList<KFileItem> |

  Creates a new KFileItemList from a QList of file items.

- __delitem__ (a0)

  returns Nothing
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- __delitem__ (a0)

  returns Nothing
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | SIP_PYSLICE |

- __len__ ( )

  returns int
  before KDE 4.1.0 only

- __setitem__ (a0, a1)

  returns Nothing
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | int |
  a1 | KFileItem |

- __setitem__ (a0, a1)

  returns Nothing
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | SIP_PYSLICE |
  a1 | KFileItemList |

- findByName (fileName)

  returns KFileItem

  Argument | Type | Default
  --- | --- | ---
  fileName | QString |

  Find a KFileItem by name and return it. Returns the item with the given name, or a null-item if none was found (see KFileItem.isNull())

- findByUrl (url)

  returns KFileItem

  Argument | Type | Default
  --- | --- | ---
  url | KUrl |

  Find a KFileItem by URL and return it. Returns the item with the given URL, or a null-item if none was found (see KFileItem.isNull())

- operator [] (a0)

  returns KFileItem
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- operator [] (a0)

  returns KFileItemList
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | SIP_PYSLICE |

- urlList ( )

  returns KUrl.List

  Returns the list of URLs that those items represent