OK, last commit about this. I promise :)

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666426
This commit is contained in:
Rafael Fernández López 2007-05-19 21:03:21 +00:00
parent 749b581946
commit f5d9bd2055
2 changed files with 8 additions and 7 deletions

View File

@ -73,10 +73,6 @@ RadioButton::~RadioButton()
delete d;
}
void RadioButton::updated(const Plasma::DataSource::Data&)
{
}
QRectF RadioButton::boundingRect() const
{
return QRectF(0, 0, 150, 30);
@ -151,6 +147,10 @@ void RadioButton::setText(const QString &text)
update();
}
void RadioButton::updated(const Plasma::DataSource::Data &data)
{
}
void RadioButton::mousePressEvent(QGraphicsSceneMouseEvent *event)
{
event->accept();

View File

@ -59,9 +59,6 @@ public:
RadioButton(QGraphicsItem *parent = 0);
virtual ~RadioButton();
// DataVisualization overriden virtual methods
void updated(const Plasma::DataSource::Data&);
// QGraphicsItem overriden virtual methods
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
@ -74,6 +71,10 @@ public:
void setChecked(bool checked);
void setText(const QString &text);
public Q_SLOTS:
// DataVisualization overriden virtual slots
void updated(const Plasma::DataSource::Data &data);
Q_SIGNALS:
void clicked();