From ddc888e9c4b12c4e3d49151989b26ea49b3040a8 Mon Sep 17 00:00:00 2001 From: Craig Duquette Date: Tue, 25 Dec 2007 05:36:31 +0000 Subject: [PATCH] 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 --- widgets/widget.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/widgets/widget.cpp b/widgets/widget.cpp index 175a2b581..450509566 100644 --- a/widgets/widget.cpp +++ b/widgets/widget.cpp @@ -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) {