61 enum CancellationReason
64 ReasonKeyboardInterrupt = 2
85 bool isCancelled()
const;
88 CancellationReason cancellationReason();
91 int progressMinimum()
const;
94 int progressMaximum()
const;
103 void setProgressValue(
int value);
106 int progressValue()
const;
115 void setProgressText(
const QString &text);
118 QString progressText();
121 void progressTextChanged(QString text);
122 void progressValueChanged(
int value);
123 void cancellationRequested();
138 void requestCancellation(CancellationReason reason = CancellationReason::ReasonGeneral);
149 QScopedPointer<FunctionCancellationAndObserverPrivate> d_ptr;