diff options
Diffstat (limited to 'doc/html/ntqprogressdialog.html')
-rw-r--r-- | doc/html/ntqprogressdialog.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/ntqprogressdialog.html b/doc/html/ntqprogressdialog.html index 05aae17aa..2fb871c85 100644 --- a/doc/html/ntqprogressdialog.html +++ b/doc/html/ntqprogressdialog.html @@ -137,7 +137,7 @@ progress.setProgress( numFiles ); <p> A modeless progress dialog is suitable for operations that take place in the background, where the user is able to interact with the -application. Such operations are typically based on <a href="ntqtimer.html">TQTimer</a> (or +application. Such operations are typically based on <a href="tqtimer.html">TQTimer</a> (or <a href="tqobject.html#timerEvent">TQObject::timerEvent</a>()), <a href="ntqsocketnotifier.html">TQSocketNotifier</a>, or <a href="ntqurloperator.html">TQUrlOperator</a>; or performed in a separate thread. A <a href="ntqprogressbar.html">TQProgressBar</a> in the status bar of your main window is often an alternative to a modeless progress dialog. @@ -149,9 +149,9 @@ Operation::Operation( <a href="tqobject.html">TQObject</a> *parent = 0 ) { pd = new TQProgressDialog( "Operation in progress.", "Cancel", 100 ); <a href="tqobject.html#connect">connect</a>( pd, TQ_SIGNAL(<a href="#canceled">canceled</a>()), this, TQ_SLOT(<a href="#cancel">cancel</a>()) ); - t = new <a href="ntqtimer.html">TQTimer</a>( this ); - <a href="tqobject.html#connect">connect</a>( t, TQ_SIGNAL(<a href="ntqtimer.html#timeout">timeout</a>()), this, TQ_SLOT(perform()) ); - t-><a href="ntqtimer.html#start">start</a>( 0 ); + t = new <a href="tqtimer.html">TQTimer</a>( this ); + <a href="tqobject.html#connect">connect</a>( t, TQ_SIGNAL(<a href="tqtimer.html#timeout">timeout</a>()), this, TQ_SLOT(perform()) ); + t-><a href="tqtimer.html#start">start</a>( 0 ); } void Operation::perform() @@ -160,12 +160,12 @@ void Operation::perform() //... perform one percent of the operation steps++; if ( steps > pd-><a href="#totalSteps">totalSteps</a>() ) - t-><a href="ntqtimer.html#stop">stop</a>(); + t-><a href="tqtimer.html#stop">stop</a>(); } void Operation::cancel() { - t-><a href="ntqtimer.html#stop">stop</a>(); + t-><a href="tqtimer.html#stop">stop</a>(); //... cleanup } </pre> |