KIO
#include <KDirNotify>

Signals | |
void | enteredDirectory (const QString &url) |
void | FileMoved (const QString &src, const QString &dst) |
void | FileRenamed (const QString &src, const QString &dst) |
void | FilesAdded (const QString &directory) |
void | FilesChanged (const QStringList &fileList) |
void | FilesRemoved (const QStringList &fileList) |
void | leftDirectory (const QString &url) |
Public Member Functions | |
OrgKdeKDirNotifyInterface (const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent=0) | |
~OrgKdeKDirNotifyInterface () | |
Static Public Member Functions | |
static void | emitEnteredDirectory (const QString &url) |
static void | emitFileMoved (const QString &src, const QString &dst) |
static void | emitFileRenamed (const QString &src, const QString &dst) |
static void | emitFilesAdded (const QString &directory) |
static void | emitFilesChanged (const QStringList &fileList) |
static void | emitFilesRemoved (const QStringList &fileList) |
static void | emitLeftDirectory (const QString &url) |
static const char * | staticInterfaceName () |
Detailed Description
Proxy class for interface org.kde.KDirNotify.
KDirNotify can be used to inform KIO about changes in real or virtual file systems. Classes like KDirModel connect to the signals as in the following example to be able to keep caches up-to-date.
Especially noteworthy are the empty strings for both service
and path
. That way the client will connect to signals emitted by any application.
The second usage is to actually emit the signals. For that emitFileRenamed() and friends are to be used.
Definition at line 47 of file kdirnotify.h.
Constructor & Destructor Documentation
OrgKdeKDirNotifyInterface::OrgKdeKDirNotifyInterface | ( | const QString & | service, |
const QString & | path, | ||
const QDBusConnection & | connection, | ||
QObject * | parent = 0 |
||
) |
Create a new KDirNotify interface.
- Parameters
-
service The service whose signals one wants to listed to. Use an empty string to connect to all services/applications. path The path to the D-Bus object whose signals one wants to listed to. Use an empty string to connect to signals from all objects. connection Typically QDBusConnection::sessionBus(). parent The parent QObject.
Definition at line 18 of file kdirnotify.cpp.
OrgKdeKDirNotifyInterface::~OrgKdeKDirNotifyInterface | ( | ) |
Destructor.
Definition at line 23 of file kdirnotify.cpp.
Member Function Documentation
|
static |
Definition at line 60 of file kdirnotify.cpp.
Definition at line 40 of file kdirnotify.cpp.
Definition at line 35 of file kdirnotify.cpp.
|
static |
Definition at line 45 of file kdirnotify.cpp.
|
static |
Definition at line 50 of file kdirnotify.cpp.
|
static |
Definition at line 55 of file kdirnotify.cpp.
|
static |
Definition at line 65 of file kdirnotify.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
inlinestatic |
Definition at line 51 of file kdirnotify.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Apr 16 2013 19:14:56 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.