From 0cf411b09cf5d8970b873a338a69eae98d5ce5d8 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 8 Jun 2024 12:56:43 +0900 Subject: Rename text nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/richtext-example.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'doc/html/richtext-example.html') diff --git a/doc/html/richtext-example.html b/doc/html/richtext-example.html index b14bf17bb..f592e46e4 100644 --- a/doc/html/richtext-example.html +++ b/doc/html/richtext-example.html @@ -64,7 +64,7 @@ public: MyRichText( TQWidget *parent = 0, const char *name = 0 ); protected: - TQTextView *view; + TQTextView *view; TQPushButton *bClose, *bNext, *bPrev; int num; @@ -94,7 +94,7 @@ protected slots: #include <ntqhbox.h> #include <ntqhbox.h> #include <ntqpushbutton.h> -#include <ntqtextview.h> +#include <tqtextview.h> #include <ntqbrush.h> #include <ntqapplication.h> @@ -161,16 +161,16 @@ static const char* sayings[] = { { setMargin( 5 ); - view = new TQTextView( this ); - view->setText( "This is a <b>Test</b> with <i>italic</i> <u>stuff</u>" ); + view = new TQTextView( this ); + view->setText( "This is a <b>Test</b> with <i>italic</i> <u>stuff</u>" ); TQBrush paper; paper.setPixmap( TQPixmap( "../richtext/marble.png" ) ); if ( paper.pixmap() != 0 ) - view->setPaper( paper ); + view->setPaper( paper ); else - view->setPaper( white ); + view->setPaper( white ); - view->setText( sayings[0] ); + view->setText( sayings[0] ); view->setMinimumSize( 450, 250 ); TQHBox *buttons = new TQHBox( this ); @@ -196,7 +196,7 @@ void MyRichText::prev() num--; - view->setText( sayings[num] ); + view->setText( sayings[num] ); if ( num == 0 ) bPrev->setEnabled( FALSE ); @@ -209,7 +209,7 @@ void MyRichText::next() if ( !sayings[++num] ) return; - view->setText( sayings[num] ); + view->setText( sayings[num] ); if ( !sayings[num + 1] ) bNext->setEnabled( FALSE ); -- cgit v1.2.3