On Saturday, 7 de January de 2012 01.03.50, David Faure wrote: > Shouldn't we clean that up for Qt5 and just use a bool for the contains > method again? The Qt4 API ensures that nobody still has if (contains()==2) > in their code anyway.
I think it should be gone.
For the few methods where a boolean is needed and arithmetic is wrong, the
suggestion is to use the RestrictedBool solution:
typedef int ClassName:: *RestrictedBool;
--
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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
