summaryrefslogtreecommitdiffstats
path: root/doc/html/progressbar-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/progressbar-example.html')
-rw-r--r--doc/html/progressbar-example.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/progressbar-example.html b/doc/html/progressbar-example.html
index a13bbb8f6..ade0aaa17 100644
--- a/doc/html/progressbar-example.html
+++ b/doc/html/progressbar-example.html
@@ -64,8 +64,8 @@ public:
ProgressBar( <a href="tqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 );
protected:
- <a href="ntqradiobutton.html">TQRadioButton</a> *slow, *normal, *fast;
- <a href="ntqpushbutton.html">TQPushButton</a> *start, *pause, *reset;
+ <a href="tqradiobutton.html">TQRadioButton</a> *slow, *normal, *fast;
+ <a href="tqpushbutton.html">TQPushButton</a> *start, *pause, *reset;
<a href="ntqprogressbar.html">TQProgressBar</a> *progress;
<a href="tqtimer.html">TQTimer</a> timer;
@@ -93,8 +93,8 @@ protected slots:
#include "progressbar.h"
-#include &lt;<a href="qradiobutton-h.html">ntqradiobutton.h</a>&gt;
-#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
+#include &lt;<a href="tqradiobutton-h.html">tqradiobutton.h</a>&gt;
+#include &lt;<a href="tqpushbutton-h.html">tqpushbutton.h</a>&gt;
#include &lt;<a href="qprogressbar-h.html">ntqprogressbar.h</a>&gt;
#include &lt;<a href="qlayout-h.html">ntqlayout.h</a>&gt;
@@ -118,9 +118,9 @@ protected slots:
// insert three radiobuttons which the user can use
// to set the speed of the progress and two pushbuttons
// to start/pause/continue and reset the progress
- slow = new <a href="ntqradiobutton.html">TQRadioButton</a>( "S&amp;low", this );
- normal = new <a href="ntqradiobutton.html">TQRadioButton</a>( "&amp;Normal", this );
- fast = new <a href="ntqradiobutton.html">TQRadioButton</a>( "&amp;Fast", this );
+ slow = new <a href="tqradiobutton.html">TQRadioButton</a>( "S&amp;low", this );
+ normal = new <a href="tqradiobutton.html">TQRadioButton</a>( "&amp;Normal", this );
+ fast = new <a href="tqradiobutton.html">TQRadioButton</a>( "&amp;Fast", this );
<a href="qvboxlayout.html">TQVBoxLayout</a>* vb1 = new <a href="qvboxlayout.html">TQVBoxLayout</a>;
<a name="x964"></a> toplayout-&gt;<a href="qgridlayout.html#addLayout">addLayout</a>( vb1, 0, 0 );
vb1-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( slow );
@@ -128,8 +128,8 @@ protected slots:
vb1-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( fast );
// two push buttons, one for start, for for reset.
- start = new <a href="ntqpushbutton.html">TQPushButton</a>( "&amp;Start", this );
- reset = new <a href="ntqpushbutton.html">TQPushButton</a>( "&amp;Reset", this );
+ start = new <a href="tqpushbutton.html">TQPushButton</a>( "&amp;Start", this );
+ reset = new <a href="tqpushbutton.html">TQPushButton</a>( "&amp;Reset", this );
<a href="qvboxlayout.html">TQVBoxLayout</a>* vb2 = new <a href="qvboxlayout.html">TQVBoxLayout</a>;
toplayout-&gt;<a href="qgridlayout.html#addLayout">addLayout</a>( vb2, 0, 1 );
vb2-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( start );
@@ -148,7 +148,7 @@ protected slots:
<a href="tqobject.html#connect">connect</a>( &amp;timer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotTimeout() ) );
// Let's start with normal speed...
-<a name="x972"></a> normal-&gt;<a href="ntqradiobutton.html#setChecked">setChecked</a>( TRUE );
+<a name="x972"></a> normal-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>( TRUE );
// some contraints
@@ -169,9 +169,9 @@ void <a name="f347"></a>ProgressBar::slotStart()
<a name="x966"></a> if ( progress-&gt;<a href="ntqprogressbar.html#progress">progress</a>() == -1 ) {
// ...set according to the checked speed-radiobutton
// the number of steps which are needed to complete the process
-<a name="x971"></a> if ( slow-&gt;<a href="ntqradiobutton.html#isChecked">isChecked</a>() )
+<a name="x971"></a> if ( slow-&gt;<a href="tqradiobutton.html#isChecked">isChecked</a>() )
<a name="x969"></a> progress-&gt;<a href="ntqprogressbar.html#setTotalSteps">setTotalSteps</a>( 10000 );
- else if ( normal-&gt;<a href="ntqradiobutton.html#isChecked">isChecked</a>() )
+ else if ( normal-&gt;<a href="tqradiobutton.html#isChecked">isChecked</a>() )
progress-&gt;<a href="ntqprogressbar.html#setTotalSteps">setTotalSteps</a>( 1000 );
else
progress-&gt;<a href="ntqprogressbar.html#setTotalSteps">setTotalSteps</a>( 50 );