summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqprogressdialog.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-27 21:53:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-29 13:21:04 +0900
commit2cbcca0db1343e1c40e52af729a5eb34ca8a7e37 (patch)
tree065c9e97d5bd9eb3d9869427b44acdd571ba0cc1 /doc/html/ntqprogressdialog.html
parenta09a6bc05e3f64c27e7c84dd768c7720fdf41136 (diff)
downloadtqt3-2cbcca0db1343e1c40e52af729a5eb34ca8a7e37.tar.gz
tqt3-2cbcca0db1343e1c40e52af729a5eb34ca8a7e37.zip
Rename date and time nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqprogressdialog.html')
-rw-r--r--doc/html/ntqprogressdialog.html12
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-&gt;<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-&gt;<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 &gt; pd-&gt;<a href="#totalSteps">totalSteps</a>() )
- t-&gt;<a href="ntqtimer.html#stop">stop</a>();
+ t-&gt;<a href="tqtimer.html#stop">stop</a>();
}
void Operation::cancel()
{
- t-&gt;<a href="ntqtimer.html#stop">stop</a>();
+ t-&gt;<a href="tqtimer.html#stop">stop</a>();
//... cleanup
}
</pre>