Re: [Development] Adoption of virtual_hook()

2012-04-11 Thread harald.fernengel
Hi, On Apr 11, 2012, at 15:09 , ext Thiago Macieira wrote: > For non-QObject classes which *already* have virtual tables, we should > consider it. Fortunately, those classes are minority in Qt, we have very few > of them. grep'ing through the source code, we have several virtual_hooks in Qt:

Re: [Development] QLatin1Constant and QtContacts / QtOrganizer

2011-12-20 Thread harald.fernengel
Hi, > The difference is that QLatin1String will make an inline call to > strlen(latin1data), which the compiler may be able to optimise. Then again, we > could make the same in QString::fromLatin1... any takers? review? http://codereview.qt-project.org/#change,11530 Harald _