[Ktechlab-devel] Death to QT container classes!!

Alan Grimes agrimes at speakeasy.net
Tue May 5 13:03:45 UTC 2009


> Again, if you want to have two layers and one depends on Qt, the other  
> does not, then its ok. But for the GUI part I'd prefer not to include  
> a single standard header and only include every Qt-header that makes  
> sense. If you go with the two layers, you would have to write wrappers  
> to map std::* to Q* in order to stuff like pass a list of lines to  
> QPainter to draw them (void QPainter::drawLines(QList<QLineF> lines));  
> Lots of glue code and I think you lose some of the benefits in using Qt.

Okay, that's a compelling reason to use Qt classes. =)

In that case, then what needs to be done is to audit how each of those
classes are being used and make sure we're using the correct Qt
container class.

-- 
New president: Here we go again...
Chemistry.com: A total rip-off.
Powers are not rights.





More information about the Ktechlab-devel mailing list