diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-23 14:04:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-27 16:08:54 +0900 |
commit | 04913ce7a46fd027856e83a96205fdc388742a19 (patch) | |
tree | a04a117317c14854a6b91072658ba0eb3ad8b3fc /doc/html/ntqprogressdialog.html | |
parent | c11c0f228b65f7471a26513ef8dbde413e75f8fa (diff) | |
download | tqt3-04913ce7a46fd027856e83a96205fdc388742a19.tar.gz tqt3-04913ce7a46fd027856e83a96205fdc388742a19.zip |
Rename ntqobject*.h and qobject*.cpp to tqobject*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqprogressdialog.html')
-rw-r--r-- | doc/html/ntqprogressdialog.html | 10 |
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-><a href="ntqtimer.html#start">start</a>( 0 ); } |