openbsd-ports/x11/qt3/patches/patch-src_widgets_qprogressbar_h
espie a30e3ddd6c regen patches.
handle utf8 encoding better.
2007-03-31 22:49:46 +00:00

20 lines
784 B
Plaintext

$OpenBSD: patch-src_widgets_qprogressbar_h,v 1.2 2007/03/31 22:49:46 espie Exp $
--- src/widgets/qprogressbar.h.orig Thu Oct 19 16:25:35 2006
+++ src/widgets/qprogressbar.h Sat Mar 31 14:51:25 2007
@@ -61,6 +61,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;
@@ -91,6 +92,7 @@ public slots: (protected)
virtual bool setIndicator( QString & progress_str, int progress,
int totalSteps );
void styleChange( QStyle& );
+ bool requireRepaint( int newProgress ) const;
private:
int total_steps;