diff options
Diffstat (limited to 'doc/html/progressbar-example.html')
-rw-r--r-- | doc/html/progressbar-example.html | 24 |
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 <<a href="qradiobutton-h.html">ntqradiobutton.h</a>> -#include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> +#include <<a href="tqradiobutton-h.html">tqradiobutton.h</a>> +#include <<a href="tqpushbutton-h.html">tqpushbutton.h</a>> #include <<a href="qprogressbar-h.html">ntqprogressbar.h</a>> #include <<a href="qlayout-h.html">ntqlayout.h</a>> @@ -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&low", this ); - normal = new <a href="ntqradiobutton.html">TQRadioButton</a>( "&Normal", this ); - fast = new <a href="ntqradiobutton.html">TQRadioButton</a>( "&Fast", this ); + slow = new <a href="tqradiobutton.html">TQRadioButton</a>( "S&low", this ); + normal = new <a href="tqradiobutton.html">TQRadioButton</a>( "&Normal", this ); + fast = new <a href="tqradiobutton.html">TQRadioButton</a>( "&Fast", this ); <a href="qvboxlayout.html">TQVBoxLayout</a>* vb1 = new <a href="qvboxlayout.html">TQVBoxLayout</a>; <a name="x964"></a> toplayout-><a href="qgridlayout.html#addLayout">addLayout</a>( vb1, 0, 0 ); vb1-><a href="qboxlayout.html#addWidget">addWidget</a>( slow ); @@ -128,8 +128,8 @@ protected slots: vb1-><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>( "&Start", this ); - reset = new <a href="ntqpushbutton.html">TQPushButton</a>( "&Reset", this ); + start = new <a href="tqpushbutton.html">TQPushButton</a>( "&Start", this ); + reset = new <a href="tqpushbutton.html">TQPushButton</a>( "&Reset", this ); <a href="qvboxlayout.html">TQVBoxLayout</a>* vb2 = new <a href="qvboxlayout.html">TQVBoxLayout</a>; toplayout-><a href="qgridlayout.html#addLayout">addLayout</a>( vb2, 0, 1 ); vb2-><a href="qboxlayout.html#addWidget">addWidget</a>( start ); @@ -148,7 +148,7 @@ protected slots: <a href="tqobject.html#connect">connect</a>( &timer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotTimeout() ) ); // Let's start with normal speed... -<a name="x972"></a> normal-><a href="ntqradiobutton.html#setChecked">setChecked</a>( TRUE ); +<a name="x972"></a> normal-><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-><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-><a href="ntqradiobutton.html#isChecked">isChecked</a>() ) +<a name="x971"></a> if ( slow-><a href="tqradiobutton.html#isChecked">isChecked</a>() ) <a name="x969"></a> progress-><a href="ntqprogressbar.html#setTotalSteps">setTotalSteps</a>( 10000 ); - else if ( normal-><a href="ntqradiobutton.html#isChecked">isChecked</a>() ) + else if ( normal-><a href="tqradiobutton.html#isChecked">isChecked</a>() ) progress-><a href="ntqprogressbar.html#setTotalSteps">setTotalSteps</a>( 1000 ); else progress-><a href="ntqprogressbar.html#setTotalSteps">setTotalSteps</a>( 50 ); |