From 397b7afa8e3f32268c4454bf4783ac2a5a799658 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 15 Oct 2024 13:05:33 +0900 Subject: Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/progress-example.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'doc/html/progress-example.html') diff --git a/doc/html/progress-example.html b/doc/html/progress-example.html index c74912a4c..0f4c11248 100644 --- a/doc/html/progress-example.html +++ b/doc/html/progress-example.html @@ -48,7 +48,7 @@ demonstrates simple use of menus. *****************************************************************************/ #include <tqprogressdialog.h> -#include <ntqapplication.h> +#include <tqapplication.h> #include <tqmenubar.h> #include <tqpopupmenu.h> #include <tqpainter.h> @@ -182,19 +182,19 @@ public: pb(0) { menubar = new TQMenuBar( this, "menu" ); - TQ_CHECK_PTR( menubar ); + TQ_CHECK_PTR( menubar ); TQPopupMenu* file = new TQPopupMenu(); - TQ_CHECK_PTR( file ); + TQ_CHECK_PTR( file ); menubar->insertItem( "&File", file ); for (int i=first_draw_item; i<=last_draw_item; i++) file->insertItem( drawItemText(i), i ); connect( menubar, TQ_SIGNAL(activated(int)), this, TQ_SLOT(doMenuItem(int)) ); file->insertSeparator(); - file->insertItem( "Quit", tqApp, TQ_SLOT(quit()) ); + file->insertItem( "Quit", tqApp, TQ_SLOT(quit()) ); options = new TQPopupMenu(); - TQ_CHECK_PTR( options ); + TQ_CHECK_PTR( options ); menubar->insertItem( "&Options", options ); td_id = options->insertItem( "Timer driven", this, TQ_SLOT(timerDriven()) ); ld_id = options->insertItem( "Loop driven", this, TQ_SLOT(loopDriven()) ); @@ -312,7 +312,7 @@ private: { if ( timer_driven ) { if ( pb ) { - tqWarning("This cannot happen!"); + tqWarning("This cannot happen!"); return; } rects = n; @@ -362,16 +362,16 @@ private: int main( int argc, char **argv ) { - TQApplication a( argc, argv ); + TQApplication a( argc, argv ); int wincount = argc > 1 ? atoi(argv[1]) : 1; for ( int i=0; i<wincount; i++ ) { CPUWaster* cpuw = new CPUWaster; - if ( i == 0 ) a.setMainWidget(cpuw); + if ( i == 0 ) a.setMainWidget(cpuw); cpuw->show(); } - return a.exec(); + return a.exec(); } #include "progress.moc" -- cgit v1.2.3