From 82ecd83484c9fa1ede059986ab771e74e33e68ef Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 16 Aug 2024 19:11:00 +0900 Subject: Rename layout nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/simple-font-demo-example.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'doc/html/simple-font-demo-example.html') diff --git a/doc/html/simple-font-demo-example.html b/doc/html/simple-font-demo-example.html index 982f663ea..77f8d6fe4 100644 --- a/doc/html/simple-font-demo-example.html +++ b/doc/html/simple-font-demo-example.html @@ -86,7 +86,7 @@ private: #include <tqstringlist.h> #include <tqtextview.h> #include <tqpushbutton.h> -#include <ntqlayout.h> +#include <tqlayout.h> Viewer::Viewer() :TQWidget() @@ -213,15 +213,15 @@ void Viewer::setFontSubstitutions() void Viewer::layout() { - TQHBoxLayout * textViewContainer = new TQHBoxLayout(); - textViewContainer->addWidget( greetings ); - textViewContainer->addWidget( fontInfo ); + TQHBoxLayout * textViewContainer = new TQHBoxLayout(); + textViewContainer->addWidget( greetings ); + textViewContainer->addWidget( fontInfo ); - TQHBoxLayout * buttonContainer = new TQHBoxLayout(); + TQHBoxLayout * buttonContainer = new TQHBoxLayout(); - buttonContainer->addWidget( defaultButton ); - buttonContainer->addWidget( sansSerifButton ); - buttonContainer->addWidget( italicsButton ); + buttonContainer->addWidget( defaultButton ); + buttonContainer->addWidget( sansSerifButton ); + buttonContainer->addWidget( italicsButton ); int maxButtonHeight = defaultButton->height(); @@ -234,9 +234,9 @@ void Viewer::setFontSubstitutions() sansSerifButton->setFixedHeight( maxButtonHeight ); italicsButton->setFixedHeight( maxButtonHeight ); - TQVBoxLayout * container = new TQVBoxLayout( this ); - container->addLayout( textViewContainer ); - container->addLayout( buttonContainer ); + TQVBoxLayout * container = new TQVBoxLayout( this ); + container->addLayout( textViewContainer ); + container->addLayout( buttonContainer ); resize( 700, 250 ); } -- cgit v1.2.3