From 55d04002f797feebf2c39a31b857ddd22514f9f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9nard?= Date: Mon, 19 Nov 2007 23:16:22 +0000 Subject: [PATCH] Fix setSize now protected svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738909 --- widgets/flash.cpp | 4 ++++ widgets/flash.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/widgets/flash.cpp b/widgets/flash.cpp index ada855aea..161cbaadc 100644 --- a/widgets/flash.cpp +++ b/widgets/flash.cpp @@ -199,5 +199,9 @@ void Flash::paintWidget(QPainter *painter, const QStyleOptionGraphicsItem *optio painter->drawPixmap(0, 0, Plasma::Phase::self()->animationResult(d->animId)); } } +void Flash::setSize( const QSizeF & size ) +{ + Widget::setSize(size); +} #include "flash.moc" diff --git a/widgets/flash.h b/widgets/flash.h index 0ce5a863d..31c89d31b 100644 --- a/widgets/flash.h +++ b/widgets/flash.h @@ -47,6 +47,8 @@ class PLASMA_EXPORT Flash : public Plasma::Widget QSizeF maximumSize() const; virtual QSizeF sizeHint() const; + void setSize( const QSizeF & ); + void setFont( const QFont & ); void setColor( const QColor & ); void setDuration( int duration );