On 9/5/13 8:02 AM, "Olivier Goffart" <[email protected]> wrote:
>On Wednesday 04 September 2013 20:09:38 Knoll Lars wrote: > >> >You also can typedef QScopedPointer QUniquePointer; and deprecate the >> >former >> >name. >> >> typedef's are usually not such a good idea, as forward declarations >>won't >> work the way people expect them to. >> > > >Unrelated, but i think we should do like the STL and forbid forward >declaration of Qt classes. > >We could add some forward declaration headers that would be auto >generated by >syncqt. >#include <QtCore_Fwd> >#include <QtWidget_Fwd> > > >That way, in Qt6 we can use typdefs, namespaces, change template >parametters, > >... I agree and we had discussions about this before in the office. > > >Note: I am not volunteering to make the suncqt change ;-) That has so far been the problem with this idea ;-) Cheers, Lars _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
