Review Request: KFilePlacesModel: Separating the interface from the implementation...

nf2.email at gmail.com nf2.email at gmail.com
Fri Oct 23 14:32:24 BST 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1951/
-----------------------------------------------------------

Review request for kdelibs, Peter Penz, Kevin Ottens, and David Faure.


Summary
-------

This is a preview patch of how I would like to allow plugging different KFilePlacesModel implementations:

* There is a new interface class "KFilePlacesModelImpl".
* KFilePlacesModel::Private is replaced by a pointer to an instance of "KFilePlacesModelImpl".
* The code from kfileplacesmodel.cpp is moved to the new KFilePlacesModelKde class, which implements this interface.


Diffs
-----

  /trunk/KDE/kdelibs/kfile/kfileplacesmodel.h 1039204 
  /trunk/KDE/kdelibs/kfile/kfileplacesmodel.cpp 1039204 
  /trunk/KDE/kdelibs/kfile/kfileplacesmodel_kde.cpp PRE-CREATION 
  /trunk/KDE/kdelibs/kfile/kfileplacesmodel_kde_p.h PRE-CREATION 
  /trunk/KDE/kdelibs/kfile/kfileplacesmodelimpl.h PRE-CREATION 
  /trunk/KDE/kdelibs/kfile/kfileplacesmodelimpl.cpp PRE-CREATION 

Diff: http://reviewboard.kde.org/r/1951/diff


Testing
-------


Thanks,

nf2





More information about the kde-core-devel mailing list