Problem with Plasma::Slider constructors

Richard Dale richard.j.dale at gmail.com
Tue Aug 5 13:44:15 CEST 2008


The widgets/slider.h header overloads to no args constructor twice:

    explicit Slider(Qt::Orientation orientation = Qt::Vertical,
                    QGraphicsWidget *parent = 0);
    explicit Slider(QGraphicsWidget *parent = 0);

So one or other of the first default argument values for these constructors
should be removed, otherwise you can't call the no args version. Or maybe
the orientation argument should go after the parent in the first one, and
then only one constructor would be needed?

-- Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20080805/82a45ecd/attachment.html 


More information about the Plasma-devel mailing list