diff -r 56cd8111b7f7 -r 41300fa6a67c src/gui/text/qtextlayout.h --- a/src/gui/text/qtextlayout.h Tue Jan 26 12:42:25 2010 +0200 +++ b/src/gui/text/qtextlayout.h Tue Feb 02 00:43:10 2010 +0200 @@ -196,6 +196,10 @@ qreal ascent() const; qreal descent() const; qreal height() const; + qreal leading() const; + + void setLeadingIncluded(bool included); + bool leadingIncluded() const; qreal naturalTextWidth() const; QRectF naturalTextRect() const;