#### PyKDE - Python Bindings for KDE

# class KDirLister

Table of contents
Modules
kio Classes
All Classes

Module | kio
Class | KDirLister
Inherits | QObject

### enums

- WhichItems = {AllItems, FilteredItems }

### methods

- KDirLister (_delayedMimeTypes = 0)

  returns a KDirLister instance

  Argument | Type | Default
  --- | --- | ---
  _delayedMimeTypes | bool | 0

- autoErrorHandlingEnabled ()

  returns (bool)

- autoUpdate ()

  returns (bool)

- canceled ()

  returns nothing

- canceled (_url)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  _url | KURL |

- clear ()

  returns nothing

- clear (_url)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  _url | KURL |

- clearMimeFilter ()

  returns nothing

- completed ()

  returns nothing

- completed (_url)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  _url | KURL |

- deleteItem (_fileItem)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  _fileItem | KFileItem |

- dirOnlyMode ()

  returns (bool)

- directories ()

  returns (KURL.List)
  In versions KDE 3.4.0 and above only

- doMimeExcludeFilter (mimeExclude, filters)

  returns (bool)
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  mimeExclude | QString |
  filters | QStringList |

- doMimeFilter (mime, filters)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  mime | QString |
  filters | QStringList |

- doNameFilter (name, filters)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  name | QString |
  filters | QPtrList<QRegExp> |

- doNameFilter (a0, a1)

  returns (bool)
  In versions less than KDE 3.5.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |
  a1 | KRegExpList |

- emitChanges ()

  returns nothing

- find (_url)

  returns (KFileItem)

  Argument | Type | Default
  --- | --- | ---
  _url | KURL |

- findByName (name)

  returns (KFileItem)

  Argument | Type | Default
  --- | --- | ---
  name | QString |

- findByURL (_url)

  returns (KFileItem)

  Argument | Type | Default
  --- | --- | ---
  _url | KURL |

- handleError (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KIO.Job |

- infoMessage (msg)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  msg | QString |

- isFinished ()

  returns (bool)

- items (which = FilteredItems)

  returns (KFileItemList)
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  which | KDirLister.WhichItems | FilteredItems

- itemsFilteredByMime (items)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  items | KFileItemList |

- itemsForDir (dir, which = FilteredItems)

  returns (KFileItemList)
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  dir | KURL |
  which | KDirLister.WhichItems | FilteredItems

- mainWindow ()

  returns (QWidget)
  In versions KDE 3.1.0 and above only

- matchesFilter (name)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  name | QString |

- matchesFilter (a0)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |

- matchesMimeFilter (mime)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  mime | QString |

- matchesMimeFilter (a0)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  a0 | KFileItem |

- mimeFilters ()

  returns (QStringList)

- nameFilter ()

  returns (QString)

- newItems (items)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  items | KFileItemList |

- openURL (_url, _keep = 0, _reload = 0)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  _url | KURL |
  _keep | bool | 0
  _reload | bool | 0

- percent (percent)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  percent | int |

- processedSize (size)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  size | KIO.filesize_t |

- redirection (_url)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  _url | KURL |

- redirection (oldUrl, newUrl)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  oldUrl | KURL |
  newUrl | KURL |

- refreshItems (items)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  items | KFileItemList |

- rootItem ()

  returns (KFileItem)

- setAutoErrorHandlingEnabled (enable, parent)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  enable | bool |
  parent | QWidget |

- setAutoUpdate (enable)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  enable | bool |

- setDirOnlyMode (dirsOnly)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  dirsOnly | bool |

- setMainWindow (window)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  window | QWidget |

- setMimeExcludeFilter (mimeList)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  mimeList | QStringList |

- setMimeFilter (mimeList)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  mimeList | QStringList |

- setNameFilter (filter)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  filter | QString |

- setShowingDotFiles (_showDotFiles)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  _showDotFiles | bool |

- showingDotFiles ()

  returns (bool)

- speed (bytes_per_second)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  bytes_per_second | int |

- started (_url)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  _url | KURL |

- stop ()

  returns nothing

- stop (_url)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  _url | KURL |

- totalSize (size)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  size | KIO.filesize_t |

- updateDirectory (_dir)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  _dir | KURL |

- url ()

  returns (KURL)

- validURL (a0)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  a0 | KURL |