KParts
#include <listingextension.h>
Public Types | |
enum | NotificationEventType { None = 0x00, ItemsAdded = 0x01, ItemsDeleted = 0x02 } |
Signals | |
void | listingEvent (KParts::ListingNotificationExtension::NotificationEventType, const KFileItemList &) |
Public Member Functions | |
ListingNotificationExtension (KParts::ReadOnlyPart *parent) | |
virtual | ~ListingNotificationExtension () |
virtual NotificationEventTypes | supportedNotificationEventTypes () const |
Static Public Member Functions | |
static ListingNotificationExtension * | childObject (QObject *obj) |
Detailed Description
an extension for receiving listing change notification.
This extension is intended for implementation by parts that provide listing services, e.g. file management and is intended to notify about changes to a given listing. For example, if file management part implemented this extension it would emit itemsDeleted and itemsAdded signal whenever new files or folders are deleted and added to a directory respectively.
- Since
- 4.9.2
Definition at line 165 of file listingextension.h.
Member Enumeration Documentation
Supported notification event types.
Enumerator | |
---|---|
None | |
ItemsAdded |
New items added to the listing. |
ItemsDeleted |
Items deleted from the listing. |
Definition at line 173 of file listingextension.h.
Constructor & Destructor Documentation
KParts::ListingNotificationExtension::ListingNotificationExtension | ( | KParts::ReadOnlyPart * | parent | ) |
Constructor
Definition at line 52 of file listingextension.cpp.
|
virtual |
Destructor
Definition at line 58 of file listingextension.cpp.
Member Function Documentation
|
static |
Queries obj
for a child object which inherits from this class.
Definition at line 62 of file listingextension.cpp.
|
signal |
This signal is emitted when one of the notification events listed in NotificationEventType occur.
|
virtual |
Returns the OR'ed value of the notification types supported by the part that implements this extension.
By default this function returns None.
Definition at line 67 of file listingextension.cpp.
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:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.