Mercurial > hg > svcore
diff base/ProgressReporter.h @ 439:beb2948baa77
* Merge revisions 1041 to 1130 from sv-rdf-import branch
author | Chris Cannam |
---|---|
date | Thu, 18 Sep 2008 12:09:32 +0000 |
parents | 183ee2a55fc7 |
children | 1dc64d3d323c |
line wrap: on
line diff
--- a/base/ProgressReporter.h Thu Aug 07 16:06:59 2008 +0000 +++ b/base/ProgressReporter.h Thu Sep 18 12:09:32 2008 +0000 @@ -14,6 +14,7 @@ */ #ifndef _PROGRESS_REPORTER_H_ +#define _PROGRESS_REPORTER_H_ #include <QObject> #include <QString> @@ -26,6 +27,11 @@ ProgressReporter(QObject *parent = 0); virtual ~ProgressReporter(); + virtual bool isDefinite() const = 0; + virtual void setDefinite(bool definite) = 0; // default should be definite + + virtual bool wasCancelled() const = 0; + signals: void cancelled();