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/cursor-example.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'doc/html/cursor-example.html') diff --git a/doc/html/cursor-example.html b/doc/html/cursor-example.html index b6769df14..1ade74bb7 100644 --- a/doc/html/cursor-example.html +++ b/doc/html/cursor-example.html @@ -46,7 +46,7 @@ This example shows how to set a mouse cursor for a widget. ** *****************************************************************************/ -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqbitmap.h> #include <ntqapplication.h> #include <ntqlayout.h> @@ -130,15 +130,15 @@ CursorView::CursorView() // construct view setCaption( "CursorView" ); // set window caption TQGridLayout* grid = new TQGridLayout( this, 5, 4, 20 ); - TQLabel *label; + TQLabel *label; int i=0; for ( int y=0; y<4; y++ ) { // create the small labels for ( int x=0; x<4; x++ ) { - label = new TQLabel( this ); + label = new TQLabel( this ); label->setCursor( TQCursor( list[i].shape ) ); - label->setText( list[i].name ); - label->setAlignment( AlignCenter ); + label->setText( list[i].name ); + label->setAlignment( AlignCenter ); label->setMargin( 10 ); label->setFrameStyle( TQFrame::Box | TQFrame::Raised ); grid->addWidget( label, x, y ); @@ -147,10 +147,10 @@ CursorView::CursorView() // construct view } - label = new TQLabel( this ); + label = new TQLabel( this ); label->setCursor( TQCursor( list[i].shape ) ); - label->setText( list[i].name ); - label->setAlignment( AlignCenter ); + label->setText( list[i].name ); + label->setAlignment( AlignCenter ); label->setMargin( 10 ); label->setFrameStyle( TQFrame::Box | TQFrame::Raised ); grid->addWidget( label, 4, 0 ); @@ -161,10 +161,10 @@ CursorView::CursorView() // construct view TQBitmap cm( cm_width, cm_height, cm_bits, TRUE ); TQCursor custom( cb, cm ); // create bitmap cursor - label = new TQLabel( this ); // create the big label + label = new TQLabel( this ); // create the big label label->setCursor( custom ); - label->setText( "Custom bitmap cursor" ); - label->setAlignment( AlignCenter ); + label->setText( "Custom bitmap cursor" ); + label->setAlignment( AlignCenter ); label->setMargin( 10 ); label->setFrameStyle( TQFrame::Box | TQFrame::Sunken ); grid->addMultiCellWidget( label, 4, 4, 1, 3 ); -- cgit v1.2.3