Use width-for-height Layout Management.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692753
This commit is contained in:
Matias Valdenegro Toro 2007-07-26 07:12:05 +00:00
parent 4f778d6e2d
commit bdb1418dbb
2 changed files with 4 additions and 4 deletions

View File

@ -66,12 +66,12 @@ QSizeF HBoxLayout::maximumSize() const
return QSizeF(); return QSizeF();
} }
bool HBoxLayout::hasHeightForWidth() const bool HBoxLayout::hasWidthForHeight() const
{ {
return true; return true;
} }
qreal HBoxLayout::heightForWidth(qreal w) const qreal HBoxLayout::widthForHeight(qreal w) const
{ {
return qreal(); return qreal();
} }

View File

@ -55,8 +55,8 @@ class PLASMA_EXPORT HBoxLayout : public Layout
QSizeF minimumSize() const; QSizeF minimumSize() const;
QSizeF maximumSize() const; QSizeF maximumSize() const;
bool hasHeightForWidth() const; bool hasWidthForHeight() const;
qreal heightForWidth(qreal w) const; qreal widthForHeight(qreal w) const;
QRectF geometry() const; QRectF geometry() const;
void setGeometry(const QRectF& geometry); void setGeometry(const QRectF& geometry);