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:
parent
cd216b2eb8
commit
ddc888e9c4
@ -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
|
ToolTipData Widget::toolTip() const
|
||||||
{
|
{
|
||||||
return d->toolTip;
|
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)
|
QVariant Widget::itemChange(GraphicsItemChange change, const QVariant &value)
|
||||||
{
|
{
|
||||||
if (change == QGraphicsItem::ItemChildRemovedChange) {
|
if (change == QGraphicsItem::ItemChildRemovedChange) {
|
||||||
|
Loading…
Reference in New Issue
Block a user