diff options
| author | Dawit Alemayehu <[email protected]> | 2012-09-04 22:26:28 -0400 |
|---|---|---|
| committer | Dawit Alemayehu <[email protected]> | 2012-09-07 08:52:53 -0400 |
| commit | 8b11c747a04480dc6a433530d95790704c85c7e9 (patch) | |
| tree | eed2728290b9c16608340f4659759656cd36d92f /src/dolphinpart.h | |
| parent | 85dfec046fc6c0b3e888d099afe0af1bd742bebc (diff) | |
Implemented the new KParts extension, KParts::ListingiNotificationExtension.
REVIEW: 106333
Diffstat (limited to 'src/dolphinpart.h')
| -rw-r--r-- | src/dolphinpart.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/dolphinpart.h b/src/dolphinpart.h index f9c0bbf62..6cf9fe324 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -297,4 +297,17 @@ private: DolphinPart* m_part; }; +class DolphinPartListingNotificationExtension : public KParts::ListingNotificationExtension +{ + Q_OBJECT + +public: + DolphinPartListingNotificationExtension(DolphinPart* part); + virtual NotificationEventTypes supportedNotificationEventTypes() const; + +public Q_SLOTS: + void slotNewItems(const KFileItemList&); + void slotItemsDeleted(const KFileItemList&); +}; + #endif /* DOLPHINPART_H */ |
