class KDirWatch

#### PyKDE - Python Bindings for KDE

# class KDirWatch |
Table of contents
Modules
tdeio Classes
All Classes

Module | tdeio
Class | KDirWatch
Inherits | TQObject

### enums

- Method = {FAM, DNotify, Stat, INotify }
- Method = {FAM, DNotify, Stat }

### methods

- KDirWatch (parent = 0, name = 0)

  returns a KDirWatch instance
  Argument | Type | Default
  --- | --- | ---
  parent | TQObject | 0
  name | char | 0

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

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  path | TQString |
  watchFiles | bool | 0
  recursive | bool | 0

- addFile (file)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  file | TQString |

- contains (path)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  path | TQString |

- created (path)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  path | TQString |

- ctime (path)

  returns (TQDateTime)
  Argument | Type | Default
  --- | --- | ---
  path | TQString |

- deleted (path)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  path | TQString |

- dirty (path)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  path | TQString |

- 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 | TQString |

- removeFile (file)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  file | TQString |

- restartDirScan (path)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  path | TQString |

- self ()

  returns (KDirWatch)
  static

- setCreated (path)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  path | TQString |

- setDeleted (path)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  path | TQString |

- setDirty (path)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  path | TQString |

- 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 | TQString |

- stopScan ()

  returns nothing