Diffstat (limited to 'noncore/styles/phase/phasestyle.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/styles/phase/phasestyle.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/styles/phase/phasestyle.h b/noncore/styles/phase/phasestyle.h index cbaa534..ae53efe 100644 --- a/noncore/styles/phase/phasestyle.h +++ b/noncore/styles/phase/phasestyle.h | |||
@@ -31,27 +31,29 @@ | |||
31 | #include <qwindowsstyle.h> | 31 | #include <qwindowsstyle.h> |
32 | #include <qcolor.h> | 32 | #include <qcolor.h> |
33 | 33 | ||
34 | class KPixmap; | 34 | class KPixmap; |
35 | 35 | ||
36 | class PhaseStyle : public QWindowsStyle | 36 | class PhaseStyle : public QWindowsStyle |
37 | { | 37 | { |
38 | Q_OBJECT | 38 | Q_OBJECT |
39 | public: | 39 | public: |
40 | PhaseStyle(); | 40 | PhaseStyle(); |
41 | virtual ~PhaseStyle(); | 41 | virtual ~PhaseStyle(); |
42 | 42 | ||
43 | void polish( QWidget * ); | 43 | virtual void polish( QWidget * ); |
44 | void polish( QPalette& ); | 44 | virtual void polish( QPalette& ); |
45 | void polish( QApplication* ); | 45 | virtual void polish( QApplication* a); |
46 | virtual void unPolish( QWidget * ); | ||
47 | virtual void unPolish(QApplication *a); | ||
46 | 48 | ||
47 | 49 | ||
48 | void drawCheckMark ( QPainter * p, int x, int y, int w, | 50 | void drawCheckMark ( QPainter * p, int x, int y, int w, |
49 | int h, const QColorGroup & g, | 51 | int h, const QColorGroup & g, |
50 | bool act, bool dis ); | 52 | bool act, bool dis ); |
51 | void drawArrow(QPainter *p, Qt::ArrowType type, bool down, | 53 | void drawArrow(QPainter *p, Qt::ArrowType type, bool down, |
52 | int x, int y, int w, int h, const QColorGroup &g, | 54 | int x, int y, int w, int h, const QColorGroup &g, |
53 | bool enabled=true, const QBrush *fill = 0); | 55 | bool enabled=true, const QBrush *fill = 0); |
54 | 56 | ||
55 | void drawPushButton(QPushButton* btn, QPainter* p ); | 57 | void drawPushButton(QPushButton* btn, QPainter* p ); |
56 | void drawPushButtonLabel(QPushButton* btn, QPainter* p ); | 58 | void drawPushButtonLabel(QPushButton* btn, QPainter* p ); |
57 | void drawPanel(QPainter* p, int , int, int, int, | 59 | void drawPanel(QPainter* p, int , int, int, int, |