Call to DataVisualization() constructor, fixme note. I strongly hate to

break my promises. This is REALLY the last commit

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666427
This commit is contained in:
Rafael Fernández López 2007-05-19 21:12:40 +00:00
parent f5d9bd2055
commit 8676ce117d

View File

@ -61,7 +61,8 @@ RadioButton::Private::~Private()
RadioButton::RadioButton(QGraphicsItem *parent)
: QGraphicsItem(parent)
: DataVisualization()
, QGraphicsItem(parent)
, d(new Private)
{
setAcceptedMouseButtons(Qt::LeftButton);
@ -75,7 +76,7 @@ RadioButton::~RadioButton()
QRectF RadioButton::boundingRect() const
{
return QRectF(0, 0, 150, 30);
return QRectF(0, 0, 150, 30); // FIXME: this is obviously wrong
}
void RadioButton::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
@ -149,6 +150,7 @@ void RadioButton::setText(const QString &text)
void RadioButton::updated(const Plasma::DataSource::Data &data)
{
Q_UNUSED(data);
}
void RadioButton::mousePressEvent(QGraphicsSceneMouseEvent *event)