summaryrefslogtreecommitdiffstats
path: root/doc/layout.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/layout.doc')
-rw-r--r--doc/layout.doc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/layout.doc b/doc/layout.doc
index f4817771a..6625d8401 100644
--- a/doc/layout.doc
+++ b/doc/layout.doc
@@ -336,7 +336,7 @@ public:
TQSize sizeHint() const;
TQSize minimumSize() const;
QLayoutIterator iterator();
- void setGeometry(const QRect &rect);
+ void setGeometry(const TQRect &rect);
private:
TQPtrList<QLayoutItem> list;
@@ -432,7 +432,7 @@ supplied as an argument does not include margin(). If relevant, use
spacing() as the distance between items.
\code
-void CardLayout::setGeometry( const QRect &rect )
+void CardLayout::setGeometry( const TQRect &rect )
{
QLayout::setGeometry( rect );
@@ -449,7 +449,7 @@ void CardLayout::setGeometry( const QRect &rect )
while ( (item = it.current()) != 0 ) {
++it;
- QRect geom( rect.x() + i * spacing(), rect.y() + i * spacing(),
+ TQRect geom( rect.x() + i * spacing(), rect.y() + i * spacing(),
w, h );
item->setGeometry( geom );
++i;