diff options
Diffstat (limited to 'doc/html/qfd-example.html')
-rw-r--r-- | doc/html/qfd-example.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/qfd-example.html b/doc/html/qfd-example.html index 9760dc945..45598e7a5 100644 --- a/doc/html/qfd-example.html +++ b/doc/html/qfd-example.html @@ -137,7 +137,7 @@ TQSize <a name="f532"></a>FontRowTable::cellSize() const TQFrame::<a href="ntqframe.html#paintEvent">paintEvent</a>(e); <a href="tqpainter.html">TQPainter</a> p(this); <a name="x2002"></a><a name="x1999"></a> p.<a href="tqpainter.html#setClipRegion">setClipRegion</a>(e-><a href="tqpaintevent.html#region">region</a>()); -<a name="x2001"></a> <a href="ntqrect.html">TQRect</a> r = e-><a href="tqpaintevent.html#rect">rect</a>(); +<a name="x2001"></a> <a href="tqrect.html">TQRect</a> r = e-><a href="tqpaintevent.html#rect">rect</a>(); <a href="tqfontmetrics.html">TQFontMetrics</a> fm = <a href="tqwidget.html#fontMetrics">fontMetrics</a>(); <a name="x1991"></a> int ml = <a href="ntqframe.html#frameWidth">frameWidth</a>()+margin() + 1 + TQMAX(0,-fm.<a href="tqfontmetrics.html#minLeftBearing">minLeftBearing</a>()); int mt = <a href="ntqframe.html#frameWidth">frameWidth</a>()+margin(); @@ -146,10 +146,10 @@ TQSize <a name="f532"></a>FontRowTable::cellSize() const <a name="x2008"></a><a name="x2007"></a> if ( !cell.<a href="tqsize.html#width">width</a>() || !cell.<a href="tqsize.html#height">height</a>() ) return; - int mini = r.<a href="ntqrect.html#left">left</a>() / cell.<a href="tqsize.html#width">width</a>(); - int maxi = (r.<a href="ntqrect.html#right">right</a>()+cell.<a href="tqsize.html#width">width</a>()-1) / cell.<a href="tqsize.html#width">width</a>(); - int minj = r.<a href="ntqrect.html#top">top</a>() / cell.<a href="tqsize.html#height">height</a>(); -<a name="x2003"></a> int maxj = (r.<a href="ntqrect.html#bottom">bottom</a>()+cell.<a href="tqsize.html#height">height</a>()-1) / cell.<a href="tqsize.html#height">height</a>(); + int mini = r.<a href="tqrect.html#left">left</a>() / cell.<a href="tqsize.html#width">width</a>(); + int maxi = (r.<a href="tqrect.html#right">right</a>()+cell.<a href="tqsize.html#width">width</a>()-1) / cell.<a href="tqsize.html#width">width</a>(); + int minj = r.<a href="tqrect.html#top">top</a>() / cell.<a href="tqsize.html#height">height</a>(); +<a name="x2003"></a> int maxj = (r.<a href="tqrect.html#bottom">bottom</a>()+cell.<a href="tqsize.html#height">height</a>()-1) / cell.<a href="tqsize.html#height">height</a>(); <a name="x1986"></a> int h = fm.<a href="tqfontmetrics.html#height">height</a>(); |