On Friday, 13 de January de 2012 14.10.09, Robin Burchell wrote:
> 2012/1/13 Thiago Macieira <thiago.macie...@intel.com>:
> > So, changing the name of this function is:
> >
> >  - of little practical benefit
> >  - not 100% automatable without a code scanner
> >  - dangerous, as it creates silent bugs
>
> what about the slightly more garden-variety approach of deprecating
> the old one and introducing a new method?

It's a virtual, which means both methods must be virtual and they will be
there until 6.0. I frankly think it's worse to have *both* createRequest and
createReply.

I'll let the proponents of this change figure out how to have both virtuals,
both overridable and do the right thing.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to