moved setToolTip() and toolTip() to match the updated header which moved these functions to

public

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=752612
This commit is contained in:
Craig Duquette 2007-12-25 05:36:31 +00:00
parent cd216b2eb8
commit ddc888e9c4

View File

@ -490,15 +490,6 @@ NOTE: put this back if we end up needing to control when things paint due to, e.
}
}
void Widget::paintWidget(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
Q_UNUSED(painter);
Q_UNUSED(option);
Q_UNUSED(widget);
// Replaced by widget's own function
}
ToolTipData Widget::toolTip() const
{
return d->toolTip;
@ -514,6 +505,15 @@ void Widget::setToolTip(const ToolTipData &tip)
}
}
void Widget::paintWidget(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
Q_UNUSED(painter);
Q_UNUSED(option);
Q_UNUSED(widget);
// Replaced by widget's own function
}
QVariant Widget::itemChange(GraphicsItemChange change, const QVariant &value)
{
if (change == QGraphicsItem::ItemChildRemovedChange) {