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/rot-example.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/rot-example.html') diff --git a/doc/html/rot-example.html b/doc/html/rot-example.html index a1b9424d6..be9fd0eaa 100644 --- a/doc/html/rot-example.html +++ b/doc/html/rot-example.html @@ -55,11 +55,11 @@ the rot13 algorithm. #ifndef ROT13_H #define ROT13_H -#include <ntqwidget.h> +#include <tqwidget.h> class TQMultiLineEdit; -class Rot13: public TQWidget { +class Rot13: public TQWidget { TQ_OBJECT public: Rot13(); @@ -104,7 +104,7 @@ private: connect( right, TQ_SIGNAL(textChanged()), this, TQ_SLOT(changeLeft()) ); TQPushButton * quit = new TQPushButton( "&Quit", this ); - quit->setFocusPolicy( NoFocus ); + quit->setFocusPolicy( NoFocus ); connect( quit, TQ_SIGNAL(clicked()), tqApp, TQ_SLOT(quit()) ); TQGridLayout * l = new TQGridLayout( this, 2, 2, 5 ); @@ -112,7 +112,7 @@ private: l->addWidget( right, 0, 1 ); l->addWidget( quit, 1, 1, AlignRight ); - left->setFocus(); + left->setFocus(); } @@ -152,10 +152,10 @@ int main( int argc, char ** argv ) { TQApplication a( argc, argv ); Rot13 r; - r.resize( 400, 400 ); + r.resize( 400, 400 ); a.setMainWidget( &r ); - r.setCaption("TQt Example - ROT13"); - r.show(); + r.setCaption("TQt Example - ROT13"); + r.show(); return a.exec(); } -- cgit v1.2.3