diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:07:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:22:42 +0900 |
commit | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch) | |
tree | b95884617b9a37accc843676d5d42be4116a3f54 /doc/html/progress-example.html | |
parent | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff) | |
download | tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.tar.gz tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.zip |
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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>(); } |