> > For me what you wrote is the way to go. Only one final comment. Make > > an intermediate Kopete::AbstractContactTreeViewModel, and use this > > intermediate in all the views. > > So that we could provide the real and direct > > Kopete::ContactTreeViewModel and maybe somewhere else the > > Kopete::DBusContactTreeView model (to finally allow remote view, for > > cheap, and maybe even with the selection model updated every where) > > You are a bit wrong, D-BUS should in a model (or in a storage) not in a view. > > But yes, it should be nice to save differents types of view (list, tree) that > use common drawing code.
Oups I meant Kopete::DBusContactTreeViewModel, the view code would be the same using the same Kopete::ContactTreeView. _______________________________________________ kopete-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kopete-devel
