<class name="QFileSystemWatcher" doc="/**
&lt;p&gt;The &lt;a href=&quot;QFileSystemWatcher.html#QFileSystemWatcher(java.util.List&lt;java.lang.String&gt;, com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QFileSystemWatcher&lt;/tt&gt;&lt;/a&gt; class provides an interface for monitoring files and directories for modifications.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QFileSystemWatcher.html#QFileSystemWatcher(java.util.List&lt;java.lang.String&gt;, com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QFileSystemWatcher&lt;/tt&gt;&lt;/a&gt; monitors the file system for changes to files and directories by watching a list of specified paths.&lt;/p&gt;
&lt;p&gt;Call &lt;a href=&quot;QFileSystemWatcher.html#addPath(java.lang.String)&quot;&gt;&lt;tt&gt;addPath&lt;/tt&gt;&lt;/a&gt; to watch a particular file or directory. Multiple paths can be added using the &lt;a href=&quot;QFileSystemWatcher.html#addPaths(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;addPaths&lt;/tt&gt;&lt;/a&gt; function. Existing paths can be removed by using the &lt;a href=&quot;QFileSystemWatcher.html#removePath(java.lang.String)&quot;&gt;&lt;tt&gt;removePath&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QFileSystemWatcher.html#removePaths(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;removePaths&lt;/tt&gt;&lt;/a&gt; functions.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QFileSystemWatcher.html#QFileSystemWatcher(java.util.List&lt;java.lang.String&gt;, com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QFileSystemWatcher&lt;/tt&gt;&lt;/a&gt; examines each path added to it. Files that have been added to the &lt;a href=&quot;QFileSystemWatcher.html#QFileSystemWatcher(java.util.List&lt;java.lang.String&gt;, com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QFileSystemWatcher&lt;/tt&gt;&lt;/a&gt; can be accessed using the &lt;a href=&quot;QFileSystemWatcher.html#files()&quot;&gt;&lt;tt&gt;files&lt;/tt&gt;&lt;/a&gt; function, and directories using the &lt;a href=&quot;QFileSystemWatcher.html#directories()&quot;&gt;&lt;tt&gt;directories&lt;/tt&gt;&lt;/a&gt; function.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QFileSystemWatcher.html#fileChanged(java.lang.String)&quot;&gt;&lt;tt&gt;fileChanged&lt;/tt&gt;&lt;/a&gt; signal is emitted when a file has been modified or removed from disk. Similarly, the &lt;a href=&quot;QFileSystemWatcher.html#directoryChanged(java.lang.String)&quot;&gt;&lt;tt&gt;directoryChanged&lt;/tt&gt;&lt;/a&gt; signal is emitted when a directory or its contents is modified or removed. Note that &lt;a href=&quot;QFileSystemWatcher.html#QFileSystemWatcher(java.util.List&lt;java.lang.String&gt;, com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QFileSystemWatcher&lt;/tt&gt;&lt;/a&gt; stops monitoring files and directories once they have been removed from disk.&lt;/p&gt;

@see &lt;a href=&quot;QFile.html&quot;&gt;&lt;tt&gt;QFile&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDir.html&quot;&gt;&lt;tt&gt;QDir&lt;/tt&gt;&lt;/a&gt; */">
    <signal name="protected final void directoryChanged(java.lang.String path)" doc="/**
&lt;p&gt;This signal is emitted when the directory at a specified &lt;tt&gt;path&lt;/tt&gt;, is modified (e.g&amp;#x2e;, when a file is added, modified or deleted) or removed from disk. Note that if there are several changes during a short period of time, some of the changes might not emit this signal. However, the last change in the sequence of changes will always generate this signal.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String path)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QFileSystemWatcher.html#fileChanged(java.lang.String)&quot;&gt;&lt;tt&gt;fileChanged&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void fileChanged(java.lang.String path)" doc="/**
&lt;p&gt;This signal is emitted when the file at the specified &lt;tt&gt;path&lt;/tt&gt; is modified or removed from disk.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(java.lang.String path)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QFileSystemWatcher.html#directoryChanged(java.lang.String)&quot;&gt;&lt;tt&gt;directoryChanged&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QFileSystemWatcher(com.trolltech.qt.core.QObject parent)" doc="/**
&lt;p&gt;Constructs a new file system watcher object with the given &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QFileSystemWatcher()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFileSystemWatcher.html#QFileSystemWatcher(java.util.List&lt;java.lang.String&gt;, com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QFileSystemWatcher&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public QFileSystemWatcher(java.util.List&lt;java.lang.String&gt; paths, com.trolltech.qt.core.QObject parent)" doc="/**
&lt;p&gt;Constructs a new file system watcher object with the given &lt;tt&gt;parent&lt;/tt&gt; which monitors the specified &lt;tt&gt;paths&lt;/tt&gt; list.&lt;/p&gt;
 */"/>
    <method name="public QFileSystemWatcher(java.util.List&lt;java.lang.String&gt; paths)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QFileSystemWatcher.html#QFileSystemWatcher(java.util.List&lt;java.lang.String&gt;, com.trolltech.qt.core.QObject)&quot;&gt;&lt;tt&gt;QFileSystemWatcher&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;paths&lt;/tt&gt;, 0). */"/>
    <method name="public final void addPath(java.lang.String file)" doc="/**
&lt;p&gt;Adds &lt;tt&gt;file&lt;/tt&gt; to the file system watcher if &lt;tt&gt;file&lt;/tt&gt; exists. The path is not added if it does not exist, or if it is already being monitored by the file system watcher.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;file&lt;/tt&gt; specifies a directory, the &lt;a href=&quot;QFileSystemWatcher.html#directoryChanged(java.lang.String)&quot;&gt;&lt;tt&gt;directoryChanged&lt;/tt&gt;&lt;/a&gt; signal will be emitted when &lt;tt&gt;file&lt;/tt&gt; is modified or removed from disk; otherwise the &lt;a href=&quot;QFileSystemWatcher.html#fileChanged(java.lang.String)&quot;&gt;&lt;tt&gt;fileChanged&lt;/tt&gt;&lt;/a&gt; signal is emitted when &lt;tt&gt;file&lt;/tt&gt; is modified or removed.&lt;/p&gt;

@see &lt;a href=&quot;QFileSystemWatcher.html#addPaths(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;addPaths&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFileSystemWatcher.html#removePath(java.lang.String)&quot;&gt;&lt;tt&gt;removePath&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void addPaths(java.util.List&lt;java.lang.String&gt; files)" doc="/**
&lt;p&gt;Adds each path in &lt;tt&gt;files&lt;/tt&gt; to the file system watcher. Paths are not added if they not exist, or if they are already being monitored by the file system watcher.&lt;/p&gt;
&lt;p&gt;If a path specifies a directory, the &lt;a href=&quot;QFileSystemWatcher.html#directoryChanged(java.lang.String)&quot;&gt;&lt;tt&gt;directoryChanged&lt;/tt&gt;&lt;/a&gt; signal will be emitted when the path is modified or removed from disk; otherwise the &lt;a href=&quot;QFileSystemWatcher.html#fileChanged(java.lang.String)&quot;&gt;&lt;tt&gt;fileChanged&lt;/tt&gt;&lt;/a&gt; signal is emitted when the path is modified or removed.&lt;/p&gt;

@see &lt;a href=&quot;QFileSystemWatcher.html#addPath(java.lang.String)&quot;&gt;&lt;tt&gt;addPath&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFileSystemWatcher.html#removePaths(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;removePaths&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;java.lang.String&gt; directories()" doc="/**
&lt;p&gt;Returns a list of paths to directories that are being watched.&lt;/p&gt;

@see &lt;a href=&quot;QFileSystemWatcher.html#files()&quot;&gt;&lt;tt&gt;files&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;java.lang.String&gt; files()" doc="/**
&lt;p&gt;Returns a list of paths to files that are being watched.&lt;/p&gt;

@see &lt;a href=&quot;QFileSystemWatcher.html#directories()&quot;&gt;&lt;tt&gt;directories&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void removePath(java.lang.String file)" doc="/**
&lt;p&gt;Removes the specified &lt;tt&gt;file&lt;/tt&gt; from the file system watcher.&lt;/p&gt;

@see &lt;a href=&quot;QFileSystemWatcher.html#removePaths(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;removePaths&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFileSystemWatcher.html#addPath(java.lang.String)&quot;&gt;&lt;tt&gt;addPath&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void removePaths(java.util.List&lt;java.lang.String&gt; files)" doc="/**
&lt;p&gt;Removes the specified &lt;tt&gt;files&lt;/tt&gt; from the file system watcher.&lt;/p&gt;

@see &lt;a href=&quot;QFileSystemWatcher.html#removePath(java.lang.String)&quot;&gt;&lt;tt&gt;removePath&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QFileSystemWatcher.html#addPaths(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;addPaths&lt;/tt&gt;&lt;/a&gt; */"/>
</class>
