diff options
Diffstat (limited to 'doc/man/man3/tqprogressdialog.3qt')
-rw-r--r-- | doc/man/man3/tqprogressdialog.3qt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man/man3/tqprogressdialog.3qt b/doc/man/man3/tqprogressdialog.3qt index 5383a4da7..fb458da73 100644 --- a/doc/man/man3/tqprogressdialog.3qt +++ b/doc/man/man3/tqprogressdialog.3qt @@ -149,7 +149,7 @@ The dialog automatically resets and hides itself at the end of the operation. Us .PP There are two ways of using QProgressDialog: modal and modeless. .PP -Using a modal QProgressDialog is simpler for the programmer, but you must call QApplication::processEvents() or QEventLoop::processEvents(ExcludeUserInput) to keep the event loop running to ensure that the application doesn't freeze. Do the operation in a loop, call setProgress() at intervals, and check for cancellation with wasCanceled(). For example: +Using a modal QProgressDialog is simpler for the programmer, but you must call QApplication::processEvents() or TQEventLoop::processEvents(ExcludeUserInput) to keep the event loop running to ensure that the application doesn't freeze. Do the operation in a loop, call setProgress() at intervals, and check for cancellation with wasCanceled(). For example: .PP .nf .br |