don't implement your own min/max size like this

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738952
This commit is contained in:
Aaron J. Seigo 2007-11-20 01:00:06 +00:00
parent 14c8999f12
commit 396a48d6ce
2 changed files with 1 additions and 13 deletions

View File

@ -90,16 +90,6 @@ void Flash::setDuration( int duration )
d->defaultDuration = duration;
}
QSizeF Flash::minimumSize() const
{
return size();
}
QSizeF Flash::maximumSize() const
{
return size();
}
QSizeF Flash::sizeHint() const
{
return minimumSize();

View File

@ -43,8 +43,6 @@ class PLASMA_EXPORT Flash : public Plasma::Widget
void paintWidget(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
QRectF boundingRect() const;
QSizeF minimumSize() const;
QSizeF maximumSize() const;
virtual QSizeF sizeHint() const;
void setSize( const QSizeF & );