summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqprogressdialog.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqprogressdialog.html')
-rw-r--r--doc/html/ntqprogressdialog.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/ntqprogressdialog.html b/doc/html/ntqprogressdialog.html
index 37ecab85d..5662d30d6 100644
--- a/doc/html/ntqprogressdialog.html
+++ b/doc/html/ntqprogressdialog.html
@@ -138,19 +138,19 @@ 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
-<a href="ntqobject.html#timerEvent">TQObject::timerEvent</a>()), <a href="ntqsocketnotifier.html">TQSocketNotifier</a>, or <a href="ntqurloperator.html">TQUrlOperator</a>; or performed
+<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.
<p> You need to have an event loop to be running, connect the
<a href="#canceled">canceled</a>() signal to a slot that stops the operation, and call <a href="#setProgress">setProgress</a>() at intervals. For example:
<pre>
-Operation::Operation( <a href="ntqobject.html">TQObject</a> *parent = 0 )
- : <a href="ntqobject.html">TQObject</a>( parent ), steps( 0 )
+Operation::Operation( <a href="tqobject.html">TQObject</a> *parent = 0 )
+ : <a href="tqobject.html">TQObject</a>( parent ), steps( 0 )
{
pd = new TQProgressDialog( "Operation in progress.", "Cancel", 100 );
- <a href="ntqobject.html#connect">connect</a>( pd, TQ_SIGNAL(<a href="#canceled">canceled</a>()), this, TQ_SLOT(<a href="#cancel">cancel</a>()) );
+ <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="ntqobject.html#connect">connect</a>( t, TQ_SIGNAL(<a href="ntqtimer.html#timeout">timeout</a>()), this, TQ_SLOT(perform()) );
+ <a href="tqobject.html#connect">connect</a>( t, TQ_SIGNAL(<a href="ntqtimer.html#timeout">timeout</a>()), this, TQ_SLOT(perform()) );
t-&gt;<a href="ntqtimer.html#start">start</a>( 0 );
}