summaryrefslogtreecommitdiffstats
path: root/doc/html/progress-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/progress-example.html')
-rw-r--r--doc/html/progress-example.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/progress-example.html b/doc/html/progress-example.html
index a06b39114..afd65d4c9 100644
--- a/doc/html/progress-example.html
+++ b/doc/html/progress-example.html
@@ -48,7 +48,7 @@ demonstrates simple use of menus.
**
*****************************************************************************/
-#include &lt;<a href="qprogressdialog-h.html">ntqprogressdialog.h</a>&gt;
+#include &lt;<a href="tqprogressdialog-h.html">tqprogressdialog.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
#include &lt;<a href="tqmenubar-h.html">tqmenubar.h</a>&gt;
#include &lt;<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>&gt;
@@ -260,7 +260,7 @@ private:
void timerEvent( <a href="tqtimerevent.html">TQTimerEvent</a>* )
{
if (!got_stop)
-<a name="x86"></a><a name="x85"></a> pb-&gt;<a href="ntqprogressdialog.html#setProgress">setProgress</a>( pb-&gt;<a href="ntqprogressdialog.html#totalSteps">totalSteps</a>() - rects );
+<a name="x86"></a><a name="x85"></a> pb-&gt;<a href="tqprogressdialog.html#setProgress">setProgress</a>( pb-&gt;<a href="tqprogressdialog.html#totalSteps">totalSteps</a>() - rects );
rects--;
{
@@ -281,7 +281,7 @@ private:
if (!rects || got_stop) {
if (!got_stop)
- pb-&gt;<a href="ntqprogressdialog.html#setProgress">setProgress</a>( pb-&gt;<a href="ntqprogressdialog.html#totalSteps">totalSteps</a>() );
+ pb-&gt;<a href="tqprogressdialog.html#setProgress">setProgress</a>( pb-&gt;<a href="tqprogressdialog.html#totalSteps">totalSteps</a>() );
<a href="tqpainter.html">TQPainter</a> p(this);
p.<a href="tqpainter.html#fillRect">fillRect</a>(0, 0, width(), height(), backgroundColor());
enableDrawingItems(TRUE);
@@ -291,14 +291,14 @@ private:
}
}
- <a href="ntqprogressdialog.html">TQProgressDialog</a>* newProgressDialog( const char* label, int steps, bool modal )
+ <a href="tqprogressdialog.html">TQProgressDialog</a>* newProgressDialog( const char* label, int steps, bool modal )
{
- <a href="ntqprogressdialog.html">TQProgressDialog</a> *d = new <a href="ntqprogressdialog.html">TQProgressDialog</a>(label, "Cancel", steps, this,
+ <a href="tqprogressdialog.html">TQProgressDialog</a> *d = new <a href="tqprogressdialog.html">TQProgressDialog</a>(label, "Cancel", steps, this,
"progress", modal);
if ( options-&gt;<a href="tqmenudata.html#isItemChecked">isItemChecked</a>( md_id ) )
-<a name="x84"></a> d-&gt;<a href="ntqprogressdialog.html#setMinimumDuration">setMinimumDuration</a>(0);
+<a name="x84"></a> d-&gt;<a href="tqprogressdialog.html#setMinimumDuration">setMinimumDuration</a>(0);
if ( !default_label )
-<a name="x83"></a> d-&gt;<a href="ntqprogressdialog.html#setLabel">setLabel</a>( new AnimatedThingy(d,label) );
+<a name="x83"></a> d-&gt;<a href="tqprogressdialog.html#setLabel">setLabel</a>( new AnimatedThingy(d,label) );
return d;
}
@@ -320,19 +320,19 @@ private:
pb = newProgressDialog("Drawing rectangles.\n"
"Using timer event.", n, FALSE);
pb-&gt;<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()));
+<a name="x82"></a> connect(pb, TQ_SIGNAL(<a href="tqprogressdialog.html#cancelled">cancelled</a>()), this, TQ_SLOT(stopDrawing()));
enableDrawingItems(FALSE);
startTimer(0);
got_stop = FALSE;
} else {
- <a href="ntqprogressdialog.html">TQProgressDialog</a>* lpb = newProgressDialog(
+ <a href="tqprogressdialog.html">TQProgressDialog</a>* lpb = newProgressDialog(
"Drawing rectangles.\nUsing loop.", n, TRUE);
lpb-&gt;<a href="tqwidget.html#setCaption">setCaption</a>("Please Wait");
<a href="tqpainter.html">TQPainter</a> p(this);
for (int i=0; i&lt;n; i++) {
- lpb-&gt;<a href="ntqprogressdialog.html#setProgress">setProgress</a>(i);
-<a name="x87"></a> if ( lpb-&gt;<a href="ntqprogressdialog.html#wasCancelled">wasCancelled</a>() )
+ lpb-&gt;<a href="tqprogressdialog.html#setProgress">setProgress</a>(i);
+<a name="x87"></a> if ( lpb-&gt;<a href="tqprogressdialog.html#wasCancelled">wasCancelled</a>() )
break;
<a href="tqcolor.html">TQColor</a> c(rand()%255, rand()%255, rand()%255);
@@ -350,7 +350,7 @@ private:
}
<a href="tqmenubar.html">TQMenuBar</a>* menubar;
- <a href="ntqprogressdialog.html">TQProgressDialog</a>* pb;
+ <a href="tqprogressdialog.html">TQProgressDialog</a>* pb;
<a href="tqpopupmenu.html">TQPopupMenu</a>* options;
int td_id, ld_id;
int dl_id, cl_id;