to MVC or not to MVC

Nick Shaforostoff shaforostoff at gmail.com
Mon Jan 5 01:28:58 GMT 2009


Hi all.

I'd like to know your opinions on the following commit:
http://websvn.kde.org/trunk/KDE/kdebase/workspace/kcontrol/kdm/kdm-conv.cpp?r1=905361&r2=905364

it makes a switch from qlistvew+model to qlistwidget+qlistwidgetitems

while making the file ~800 bytes smaller, it adds additional overhead
of creating and storing qlistwidgetitems @runtime. although the
previous version was a bit longer, it used standard MVC code structure
-- easy to grok (and change/maintain) for anyone who understands MVC.




More information about the kde-core-devel mailing list