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/progress-example.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/progress-example.html') diff --git a/doc/html/progress-example.html b/doc/html/progress-example.html index 266f56861..9ccb3e5e6 100644 --- a/doc/html/progress-example.html +++ b/doc/html/progress-example.html @@ -57,7 +57,7 @@ demonstrates simple use of menus. class AnimatedThingy : public TQLabel { public: - AnimatedThingy( TQWidget* parent, const TQString& s ) : + AnimatedThingy( TQWidget* parent, const TQString& s ) : TQLabel(parent), label(s), step(0) @@ -77,12 +77,12 @@ public: void show() { if (!isVisible()) startTimer(100); - TQWidget::show(); + TQWidget::show(); } void hide() { - TQWidget::hide(); + TQWidget::hide(); killTimers(); } @@ -158,7 +158,7 @@ private: }; -class CPUWaster : public TQWidget +class CPUWaster : public TQWidget { TQ_OBJECT @@ -319,7 +319,7 @@ private: rects = n; pb = newProgressDialog("Drawing rectangles.\n" "Using timer event.", n, FALSE); - pb->setCaption("Please Wait"); + pb->setCaption("Please Wait"); connect(pb, TQ_SIGNAL(cancelled()), this, TQ_SLOT(stopDrawing())); enableDrawingItems(FALSE); startTimer(0); @@ -327,7 +327,7 @@ private: } else { TQProgressDialog* lpb = newProgressDialog( "Drawing rectangles.\nUsing loop.", n, TRUE); - lpb->setCaption("Please Wait"); + lpb->setCaption("Please Wait"); TQPainter p(this); for (int i=0; i<n; i++) { @@ -370,7 +370,7 @@ int main( int argc, char **argv ) for ( int i=0; i<wincount; i++ ) { CPUWaster* cpuw = new CPUWaster; if ( i == 0 ) a.setMainWidget(cpuw); - cpuw->show(); + cpuw->show(); } return a.exec(); } -- cgit v1.2.1