Ambiguous KLed constructors
David Faure
dfaure at klaralvdalens-datakonsult.se
Wed Nov 5 14:10:30 GMT 2003
On Wednesday 05 November 2003 15:01, Richard Dale wrote:
> Is it correct to remove the default value for the parent arg, like this and in
> the attached patch:
>
> /**
> * Constructs a green, round LED widget which will initially
> * be turned on.
> */
> KLed(QWidget *parent, const char *name=0);
>
> If so, is it ok to apply the patch to kled.h?
It would much more common to remove the default arg in the OTHER ctor
(the color). "new KLed" is green anyway, as you quoted.
--
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
More information about the kde-core-devel
mailing list