Implementation of KPart listing notification extension for Dolphin
Review Request #106333 - Created Sept. 5, 2012 and submitted
The following patch implements the new KParts listing notification extension in Dolphin. This implementation does not add new signals to KFileItemModel and DolphinView classes as the previous solution. Instead it relies on the QObject's introspection to look for KDirLister and connect to the desired signals. This solution is based on the "hack" that was originally implemented in the directory listern plugin. However, unlike that implementation, this one will not suffer from sudden and unexpected changes in Dolphin's code changes because it is closer to the source and it looks for the directory lister directly in KFileItemModel. This is something that cannot be done at the plugin level because it would require the plugin to link against dolphin.
Review request changed
Use a private accessor and friend declarations to implement the KParts::ListingNotificationExtension.
Revision 2 (+60)