org.kde.koala

Interface KDirWatchSignals

public interface KDirWatchSignals

Method Summary
voidcreated(String path)
Emitted when a file or directory is created.
voiddeleted(String path)
Emitted when a file or directory is deleted.
voiddirty(String path)
Emitted when a watched object is changed.

Method Detail

created

public void created(String path)
Emitted when a file or directory is created.

Parameters: path the path of the file or directory

UNKNOWN: Emitted when a file or directory is created.

deleted

public void deleted(String path)
Emitted when a file or directory is deleted. The object is still watched for new creation.

Parameters: path the path of the file or directory

UNKNOWN: Emitted when a file or directory is deleted.

dirty

public void dirty(String path)
Emitted when a watched object is changed. For a directory this signal is emitted when files therein are created or deleted. For a file this signal is emitted when its size or attributes change. When you watch a directory, changes in the size or attributes of contained files may or may not trigger this signal to be emitted depending on which backend is used by KDirWatch. The new ctime is set before the signal is emitted.

Parameters: path the path of the file or directory

UNKNOWN: Emitted when a watched object is changed.