OK, last commit about this. I promise :)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666426
This commit is contained in:
parent
749b581946
commit
f5d9bd2055
@ -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();
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user