Qt4 constructors

Benjamin Meyer icefox at gmail.com
Tue Sep 6 10:48:12 BST 2005


I found http://doc.trolltech.com/4.0/qt4-intro.html, but doesn't go
into much detail, and simply says: "This makes subclassing easier, at
the same time as it helps make the Qt library more efficient."

The vast majority of widgets don't need names which saves on memory,
startup time, and binary size.

-Benjamin Meyer

On 9/6/05, Guillaume Laurent <glaurent at telegraph-road.org> wrote:
> Benjamin Meyer wrote:
> 
> >In Qt3 the constructors had "QWidget *parent=0, const char *name=0"
> >and in Qt4 the name argument was removed for a number of good reasons.
> >  
> >
> Out of curiosity, are these reasons described somewhere ?
> 
> -- 
> Guillaume
> http://telegraph-road.org
> 
>




More information about the kde-core-devel mailing list