From 0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 24 Jul 2024 19:37:05 +0900 Subject: Rename text class nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/layout-example.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/layout-example.html') diff --git a/doc/html/layout-example.html b/doc/html/layout-example.html index 89a7ccee6..272713f50 100644 --- a/doc/html/layout-example.html +++ b/doc/html/layout-example.html @@ -48,7 +48,7 @@ classes, TQGridLayout, *****************************************************************************/ #include <ntqapplication.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqcolor.h> #include <ntqpushbutton.h> #include <ntqlayout.h> @@ -148,7 +148,7 @@ public: // Make a label that is a buddy of the line edit TQString s; s.sprintf( "Line &%d", row+1 ); - TQLabel *label = new TQLabel( ed, s, this ); + TQLabel *label = new TQLabel( ed, s, this ); // The label goes in the first column. grid->addWidget( label, row, labelCol ); } @@ -166,15 +166,15 @@ public: grid->setColStretch( multiCol, 20 ); // Add a widget at the bottom. - TQLabel* sb = new TQLabel( this ); - sb->setText( "Let's pretend this is a status bar" ); + TQLabel* sb = new TQLabel( this ); + sb->setText( "Let's pretend this is a status bar" ); sb->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); // 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->setAlignment( AlignVCenter | AlignLeft ); + sb->setAlignment( AlignVCenter | AlignLeft ); topLayout->addWidget( sb ); topLayout->activate(); -- cgit v1.2.3