From 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 2 Jun 2024 23:07:22 +0900 Subject: Rename ntqwidget* related files to equivalent tqwidget* Signed-off-by: Michele Calgaro --- doc/html/layout-example.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/layout-example.html') diff --git a/doc/html/layout-example.html b/doc/html/layout-example.html index 99519f00f..218a8fe94 100644 --- a/doc/html/layout-example.html +++ b/doc/html/layout-example.html @@ -57,15 +57,15 @@ classes, TQGridLayout, #include <ntqmenubar.h> #include <ntqpopupmenu.h> -class ExampleWidget : public TQWidget +class ExampleWidget : public TQWidget { public: - ExampleWidget( TQWidget *parent = 0, const char *name = 0 ); + ExampleWidget( TQWidget *parent = 0, const char *name = 0 ); ~ExampleWidget(); }; -ExampleWidget::ExampleWidget( TQWidget *parent, const char *name ) - : TQWidget( parent, name ) +ExampleWidget::ExampleWidget( TQWidget *parent, const char *name ) + : TQWidget( parent, name ) { // Make the top-level layout; a vertical box to contain all widgets // and sub-layouts. @@ -172,7 +172,7 @@ public: // This widget will use all horizontal space, and have a fixed height. // we should have made a subclass and implemented sizePolicy there... - sb->setFixedHeight( sb->sizeHint().height() ); + sb->setFixedHeight( sb->sizeHint().height() ); sb->setAlignment( AlignVCenter | AlignLeft ); topLayout->addWidget( sb ); @@ -192,8 +192,8 @@ int main( int argc, char **argv ) ExampleWidget f; a.setMainWidget(&f); - f.setCaption("TQt Example - Layouts"); - f.show(); + f.setCaption("TQt Example - Layouts"); + f.show(); return a.exec(); } -- cgit v1.2.3