┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.h
diff options
context:
space:
mode:
authorDawit Alemayehu <[email protected]>2012-09-04 22:26:28 -0400
committerDawit Alemayehu <[email protected]>2012-09-07 08:54:14 -0400
commit2da3823b747d0eda7ddb28e2c1c7a492e26d5743 (patch)
treee7ac2bfdfe89b1e7d3900c004570be31379c90f0 /src/dolphinpart.h
parent7b64f58a6ccd20c743452bbc706fab15462bd43b (diff)
Implemented the new KParts extension, KParts::ListingiNotificationExtension.
REVIEW: 106333 (cherry picked from commit acef4b1c287a315b42550c27fc18ac4b9f49746c)
Diffstat (limited to 'src/dolphinpart.h')
-rw-r--r--src/dolphinpart.h13
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 */