From 2cbcca0db1343e1c40e52af729a5eb34ca8a7e37 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 27 Jun 2024 21:53:17 +0900 Subject: Rename date and time nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/man/man3/tqprogressdialog.3qt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/man/man3/tqprogressdialog.3qt') diff --git a/doc/man/man3/tqprogressdialog.3qt b/doc/man/man3/tqprogressdialog.3qt index 0b8e9f2e2..42deb5a79 100644 --- a/doc/man/man3/tqprogressdialog.3qt +++ b/doc/man/man3/tqprogressdialog.3qt @@ -175,7 +175,7 @@ for ( int i = 0; i < numFiles; i++ ) { progress.setProgress( numFiles ); .fi .PP -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 QTimer (or TQObject::timerEvent()), QSocketNotifier, or QUrlOperator; or performed in a separate thread. A QProgressBar in the status bar of your main window is often an alternative to a modeless progress dialog. +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 TQTimer (or TQObject::timerEvent()), QSocketNotifier, or QUrlOperator; or performed in a separate thread. A QProgressBar in the status bar of your main window is often an alternative to a modeless progress dialog. .PP You need to have an event loop to be running, connect the canceled() signal to a slot that stops the operation, and call setProgress() at intervals. For example: .PP @@ -191,7 +191,7 @@ Operation::Operation( TQObject *parent = 0 ) .br connect( pd, TQ_SIGNAL(canceled()), this, TQ_SLOT(cancel()) ); .br - t = new QTimer( this ); + t = new TQTimer( this ); .br connect( t, TQ_SIGNAL(timeout()), this, TQ_SLOT(perform()) ); .br -- cgit v1.2.3