#include </home/clem/local/src/opie/libopie2/opiecore/linux/ofilenotify.h>
Collaboration diagram for Opie::Core::ODirNotification:

Signals | |
| void | triggered (const QString &, unsigned int, const QString &) |
| void | accessed (const QString &) |
| void | modified (const QString &) |
| void | attributed (const QString &) |
| void | closed (const QString &, bool) |
| void | opened (const QString &) |
| void | movedTo (const QString &, const QString &) |
| void | movedFrom (const QString &, const QString &) |
| void | deletedSubdir (const QString &, const QString &) |
| void | deletedFile (const QString &, const QString &) |
| void | createdSubdir (const QString &, const QString &) |
| void | createdFile (const QString &, const QString &) |
| void | deleted (const QString &) |
| void | unmounted (const QString &) |
Public Member Functions | |
| ODirNotification (QObject *parent=0, const char *name=0) | |
| ~ODirNotification () | |
| int | watch (const QString &path, bool sshot=false, OFileNotificationType type=Modify, int recurse=0) |
Private Slots | |
| void | subdirCreated (const QString &, const QString &) |
Private Attributes | |
| OFileNotification * | _topfilenotification |
| OFileNotificationType | _type |
| int | _depth |
This class allows to watch for events happening to directories It uses the OFileNotification class and (for recursive watches) implements the Love-Trowbridge recursive directory scanning algorithm.
Definition at line 269 of file ofilenotify.h.
|
||||||||||||
|
Definition at line 345 of file ofilenotify.cpp. References qDebug(). |
|
|
Definition at line 352 of file ofilenotify.cpp. References qDebug(). |
|
|
Referenced by watch(). |
|
|
Referenced by watch(). |
|
||||||||||||
|
Referenced by watch(). |
|
||||||||||||
|
Referenced by watch(). |
|
||||||||||||
|
Referenced by watch(). |
|
|
Referenced by watch(). |
|
||||||||||||
|
Referenced by watch(). |
|
||||||||||||
|
Referenced by watch(). |
|
|
Referenced by watch(). |
|
||||||||||||
|
Referenced by watch(). |
|
||||||||||||
|
Referenced by watch(). |
|
|
Referenced by watch(). |
|
||||||||||||
|
Definition at line 429 of file ofilenotify.cpp. References _depth, _topfilenotification, QString::contains(), Opie::Core::OFileNotification::isSingleShot(), Opie::Core::OFileNotification::path(), qDebug(), QString::replace(), QString::startsWith(), Opie::Core::OFileNotification::type(), and watch(). Referenced by watch(). |
|
||||||||||||||||
|
This signal is emitted if an event happens of the specified type happens to the directory being watched. Referenced by watch(). |
|
|
Referenced by watch(). |
|
||||||||||||||||||||
|
Starts to watch for type changes to path. Recurse recurse levels down the filesystem tree, use 0 for no recursion and -1 for unlimited recursion. Set sshot to True if you want to be notified only once. Definition at line 376 of file ofilenotify.cpp. References _depth, _topfilenotification, _type, accessed(), attributed(), QValueList< T >::begin(), closed(), createdFile(), createdSubdir(), Opie::Core::CreateSubdir, deleted(), deletedFile(), deletedSubdir(), directory, QDir::Dirs, QValueList< T >::end(), QDir::entryList(), modified(), movedFrom(), movedTo(), Opie::Core::Nothing, opened(), qDebug(), Opie::Core::OFileNotification::startWatching(), subdirCreated(), triggered(), and unmounted(). Referenced by DemoApp::addTrigger(), App::App(), and subdirCreated(). |
|
|
Definition at line 308 of file ofilenotify.h. Referenced by subdirCreated(), and watch(). |
|
|
Definition at line 306 of file ofilenotify.h. Referenced by subdirCreated(), and watch(). |
|
|
Definition at line 307 of file ofilenotify.h. Referenced by watch(). |
1.4.2