summaryrefslogtreecommitdiffstats
path: root/src/widgets/qprogressbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qprogressbar.h')
-rw-r--r--src/widgets/qprogressbar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/qprogressbar.h b/src/widgets/qprogressbar.h
index ac69914..3ba2388 100644
--- a/src/widgets/qprogressbar.h
+++ b/src/widgets/qprogressbar.h
@@ -65,6 +65,7 @@ class Q_EXPORT QProgressBar : public QFrame
public:
QProgressBar( QWidget* parent=0, const char* name=0, WFlags f=0 );
QProgressBar( int totalSteps, QWidget* parent=0, const char* name=0, WFlags f=0 );
+ virtual ~QProgressBar();
int totalSteps() const;
int progress() const;
@@ -95,6 +96,7 @@ protected:
virtual bool setIndicator( QString & progress_str, int progress,
int totalSteps );
void styleChange( QStyle& );
+ bool requireRepaint( int newProgress ) const;
private:
int total_steps;