Fix setSize now protected

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738909
This commit is contained in:
Alexis Ménard 2007-11-19 23:16:22 +00:00
parent 06931dca66
commit 55d04002f7
2 changed files with 6 additions and 0 deletions

View File

@ -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"

View File

@ -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 );