diff options
Diffstat (limited to 'doc/html/progress-example.html')
-rw-r--r-- | doc/html/progress-example.html | 14 |
1 files changed, 7 insertions, 7 deletions
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 <a href="ntqlabel.html">TQLabel</a> { public: - AnimatedThingy( <a href="ntqwidget.html">TQWidget</a>* parent, const <a href="ntqstring.html">TQString</a>& s ) : + AnimatedThingy( <a href="tqwidget.html">TQWidget</a>* parent, const <a href="ntqstring.html">TQString</a>& s ) : <a href="ntqlabel.html">TQLabel</a>(parent), label(s), step(0) @@ -77,12 +77,12 @@ public: void show() { if (!isVisible()) startTimer(100); - TQWidget::<a href="ntqwidget.html#show">show</a>(); + TQWidget::<a href="tqwidget.html#show">show</a>(); } void hide() { -<a name="x89"></a> TQWidget::<a href="ntqwidget.html#hide">hide</a>(); +<a name="x89"></a> TQWidget::<a href="tqwidget.html#hide">hide</a>(); killTimers(); } @@ -158,7 +158,7 @@ private: }; -class CPUWaster : public <a href="ntqwidget.html">TQWidget</a> +class CPUWaster : public <a href="tqwidget.html">TQWidget</a> { <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> @@ -319,7 +319,7 @@ private: rects = n; pb = newProgressDialog("Drawing rectangles.\n" "Using timer event.", n, FALSE); - pb-><a href="ntqwidget.html#setCaption">setCaption</a>("Please Wait"); + pb-><a href="tqwidget.html#setCaption">setCaption</a>("Please Wait"); <a name="x82"></a> connect(pb, TQ_SIGNAL(<a href="ntqprogressdialog.html#cancelled">cancelled</a>()), this, TQ_SLOT(stopDrawing())); enableDrawingItems(FALSE); startTimer(0); @@ -327,7 +327,7 @@ private: } else { <a href="ntqprogressdialog.html">TQProgressDialog</a>* lpb = newProgressDialog( "Drawing rectangles.\nUsing loop.", n, TRUE); - lpb-><a href="ntqwidget.html#setCaption">setCaption</a>("Please Wait"); + lpb-><a href="tqwidget.html#setCaption">setCaption</a>("Please Wait"); <a href="ntqpainter.html">TQPainter</a> 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.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>(cpuw); - cpuw-><a href="ntqwidget.html#show">show</a>(); + cpuw-><a href="tqwidget.html#show">show</a>(); } return a.<a href="ntqapplication.html#exec">exec</a>(); } |