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(), or KDBusConnectionPool::threadConnection() in multithreaded apps. parent The parent QObject.
Definition at line 19 of file kdirnotify.cpp.
OrgKdeKDirNotifyInterface::~OrgKdeKDirNotifyInterface | ( | ) |
Destructor.
Definition at line 24 of file kdirnotify.cpp.
Member Function Documentation
|
static |
Definition at line 62 of file kdirnotify.cpp.
Definition at line 42 of file kdirnotify.cpp.
Definition at line 37 of file kdirnotify.cpp.
|
static |
Definition at line 47 of file kdirnotify.cpp.
|
static |
Definition at line 52 of file kdirnotify.cpp.
|
static |
Definition at line 57 of file kdirnotify.cpp.
|
static |
Definition at line 67 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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.