Create a DirWatcher to watch object additions and removals in a directory.
Synopsis:
#include <qpps/dirwatcher.h>
DirWatcher( const QString &path,
QObject *parent = 0 );
Arguments:
- path
- The path of the directory being watched.
- parent
- A reference to the parent QObject. This parameter lets you link a DirWatcher
to a QObject (or a subtype) so the new child object gets deleted when its parent is deleted. By default, no parent is assigned.
Description:
Create a DirWatcher to watch object additions and removals in a directory.