#### PyKDE - Python Bindings for KDE

# class KDirWatch

Table of contents
Modules
kio Classes
All Classes

Module | kio
Class | KDirWatch
Inherits | QObject

### enums

- Method = {FAM, DNotify, Stat }

### methods

- KDirWatch (parent = 0, name = 0)

  returns a KDirWatch instance

  Argument | Type | Default
  --- | --- | ---
  parent | QObject | 0
  name | char | 0

- addDir (path, watchFiles = 0, recursive = 0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  path | QString |
  watchFiles | bool | 0
  recursive | bool | 0

- addFile (file)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  file | QString |

- contains (path)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  path | QString |

- created (path)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  path | QString |

- ctime (path)

  returns (QDateTime)

  Argument | Type | Default
  --- | --- | ---
  path | QString |

- deleted (path)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  path | QString |

- dirty (path)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  path | QString |

- exists ()

  returns (bool)
  In versions KDE 3.1.0 and above only
  static

- internalMethod ()

  returns (KDirWatch.Method)
  In versions KDE 3.2.0 and above only

- isStopped ()

  returns (bool)

- removeDir (path)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  path | QString |

- removeFile (file)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  file | QString |

- restartDirScan (path)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  path | QString |

- self ()

  returns (KDirWatch)
  static

- setCreated (path)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  path | QString |

- setDeleted (path)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  path | QString |

- setDirty (path)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  path | QString |

- startScan (notify = 0, skippedToo = 0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  notify | bool | 0
  skippedToo | bool | 0

- statistics ()

  returns nothing
  static

- stopDirScan (path)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  path | QString |

- stopScan ()

  returns nothing