From 1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 20 Jul 2024 20:15:52 +0900 Subject: Rename graphics class nt* related files to equivalent tq* (part 2) Signed-off-by: Michele Calgaro --- doc/html/customlayout.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/customlayout.html') 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: TQSize sizeHint() const; TQSize minimumSize() const; TQLayoutIterator iterator(); - void setGeometry(const TQRect &rect); + void setGeometry(const TQRect &rect); private: TQPtrList<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.

-void CardLayout::setGeometry( const TQRect &rect )
+void CardLayout::setGeometry( const TQRect &rect )
 {
     TQLayout::setGeometry( rect );
 
@@ -172,12 +172,12 @@ void CardLayout::setGeometry( const TQRect &rect
 
     int i = 0;
 
-    int w = rect.width() - ( list.count() - 1 ) * spacing();
-    int h = rect.height() - ( list.count() - 1 ) * spacing();
+    int w = rect.width() - ( list.count() - 1 ) * spacing();
+    int h = rect.height() - ( list.count() - 1 ) * spacing();
 
     while ( (item = it.current()) != 0 ) {
         ++it;
-        TQRect 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;
-- 
cgit v1.2.1