[Development] Changing qreal to a float

Thiago Macieira thiago.macieira at intel.com
Tue Feb 21 17:14:05 CET 2012


On terça-feira, 21 de fevereiro de 2012 06.34.35, BRM wrote:
> Perhaps a template is not the best option?
> Perhaps an abstract/virtual class that is derived from for the various
> classes would be better?

Perhaps templates are not the best option, but a class with virtuals definitely 
isn't. I don't think you thought your proposal through before sending...

There are simply no common methods between the classes. They may look the same 
and execute similar operations, but since they operate on different data types, 
they are not the same.

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120221/4ddfd288/attachment.sig>


More information about the Development mailing list