diff options
Diffstat (limited to 'doc/html/customlayout.html')
-rw-r--r-- | doc/html/customlayout.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/customlayout.html b/doc/html/customlayout.html index 10f657af5..57151449c 100644 --- a/doc/html/customlayout.html +++ b/doc/html/customlayout.html @@ -75,7 +75,7 @@ public: <a href="tqsize.html">TQSize</a> sizeHint() const; <a href="tqsize.html">TQSize</a> minimumSize() const; <a href="qlayoutiterator.html">TQLayoutIterator</a> iterator(); - void setGeometry(const <a href="ntqrect.html">TQRect</a> &rect); + void setGeometry(const <a href="tqrect.html">TQRect</a> &rect); private: <a href="tqptrlist.html">TQPtrList</a><TQLayoutItem> list; @@ -160,7 +160,7 @@ CardLayout::~CardLayout() supplied as an argument does not include margin(). If relevant, use spacing() as the distance between items. <p> <pre> -void CardLayout::setGeometry( const <a href="ntqrect.html">TQRect</a> &rect ) +void CardLayout::setGeometry( const <a href="tqrect.html">TQRect</a> &rect ) { TQLayout::<a href="ntqlayout.html#setGeometry">setGeometry</a>( rect ); @@ -172,12 +172,12 @@ void CardLayout::setGeometry( const <a href="ntqrect.html">TQRect</a> &rect int i = 0; - int w = rect.<a href="ntqrect.html#width">width</a>() - ( list.count() - 1 ) * spacing(); - int h = rect.<a href="ntqrect.html#height">height</a>() - ( list.count() - 1 ) * spacing(); + int w = rect.<a href="tqrect.html#width">width</a>() - ( list.count() - 1 ) * spacing(); + int h = rect.<a href="tqrect.html#height">height</a>() - ( list.count() - 1 ) * spacing(); while ( (item = it.<a href="tqptrlistiterator.html#current">current</a>()) != 0 ) { ++it; - <a href="ntqrect.html">TQRect</a> geom( rect.<a href="ntqrect.html#x">x</a>() + i * spacing(), rect.<a href="ntqrect.html#y">y</a>() + i * spacing(), + <a href="tqrect.html">TQRect</a> geom( rect.<a href="tqrect.html#x">x</a>() + i * spacing(), rect.<a href="tqrect.html#y">y</a>() + i * spacing(), w, h ); item-><a href="qlayoutitem.html#setGeometry">setGeometry</a>( geom ); ++i; |