On Mon, Nov 22, 2004 at 10:12:05AM +0100, Lars Gullik Bjønnes wrote: > >> | + v->setBottom(glen); > >> | + return v; > >> | +} > >> > >> I really dont' like these returning pointers. > > > | This is 'best Qt practice'. The pointees life time is taken care of by > | its parent, and this is set at construction. > > One of the but-ugly parts of Qt it seems.
Not the worst, I can assure you. Not the worst... Right now they are re-inventing STL. It's called 'Tulip'. The nice thing that I can see so far is that one does not have to use it. Apart from that they seem to head into the right direction somewhat with Qt 4. More model/view splitting; leaner, more general base classes etc. A lot of porting, though, if one does not want to use 'Qt 3 compatibility mode' Andre'