ksimpledirwatch.h
TQDateTime ctime(const TQString &path)
Returns the time the directory/file was last changed.
Definition ksimpledirwatch.cpp:1645
void removeDir(const TQString &path)
Removes a directory from the list of scanned directories.
Definition ksimpledirwatch.cpp:1657
bool restartDirScan(const TQString &path)
Restarts scanning for specified path.
Definition ksimpledirwatch.cpp:1676
void created(const TQString &path)
Emitted when a file or directory is created.
void deleted(const TQString &path)
Emitted when a file or directory is deleted.
KSimpleDirWatch(TQObject *parent=0, const char *name=0)
Constructor.
Definition ksimpledirwatch.cpp:1600
bool stopDirScan(const TQString &path)
Stops scanning the specified path.
Definition ksimpledirwatch.cpp:1667
void addDir(const TQString &path, bool watchFiles=false, bool recursive=false)
Adds a directory to be watched.
Definition ksimpledirwatch.cpp:1631
void removeFile(const TQString &file)
Removes a file from the list of watched files.
Definition ksimpledirwatch.cpp:1662
void stopScan()
Stops scanning of all directories in internal list.
Definition ksimpledirwatch.cpp:1687
void startScan(bool notify=false, bool skippedToo=false)
Starts scanning of all dirs in list.
Definition ksimpledirwatch.cpp:1693
Trinity API Reference