diff widgets/ProgressDialog.h @ 410:33b7f5e54d60

* Merge revisions 1041 to 1130 from sv-rdf-import branch
author Chris Cannam
date Thu, 18 Sep 2008 12:09:32 +0000
parents 22b72f0f6a4e
children b68f3162b5a8
line wrap: on
line diff
--- a/widgets/ProgressDialog.h	Thu Jul 31 15:54:24 2008 +0000
+++ b/widgets/ProgressDialog.h	Thu Sep 18 12:09:32 2008 +0000
@@ -29,7 +29,13 @@
                    int timeBeforeShow = 0, QWidget *parent = 0);
     virtual ~ProgressDialog();
 
+    virtual bool isDefinite() const;
+    virtual void setDefinite(bool definite);
+
+    virtual bool wasCancelled() const;
+
 signals:
+    void showing();
     void cancelled();
 
 public slots:
@@ -38,11 +44,13 @@
 
 protected slots:
     virtual void showTimerElapsed();
+    void canceled();
 
 protected:
     QProgressDialog *m_dialog;
     QTimer *m_showTimer;
     bool m_timerElapsed;
+    bool m_cancelled;
 };
 
 #endif