Diffstat (limited to 'noncore/styles/theme/othemestyle.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/styles/theme/othemestyle.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/noncore/styles/theme/othemestyle.h b/noncore/styles/theme/othemestyle.h index 52445c4..406b35b 100644 --- a/noncore/styles/theme/othemestyle.h +++ b/noncore/styles/theme/othemestyle.h | |||
@@ -27,4 +27,6 @@ | |||
27 | #include <qstring.h> | 27 | #include <qstring.h> |
28 | 28 | ||
29 | class QProgressBar; | ||
30 | |||
29 | 31 | ||
30 | /** | 32 | /** |
@@ -64,4 +66,6 @@ public: | |||
64 | virtual void polish( QPalette& pal ); | 66 | virtual void polish( QPalette& pal ); |
65 | 67 | ||
68 | virtual bool eventFilter ( QObject *obj, QEvent *ev ); | ||
69 | |||
66 | /** | 70 | /** |
67 | * This is a convenience method for drawing widgets with | 71 | * This is a convenience method for drawing widgets with |
@@ -313,10 +317,7 @@ public: | |||
313 | * Draw a menubar item. | 317 | * Draw a menubar item. |
314 | */ | 318 | */ |
315 | #if 0 | 319 | virtual void drawMenuBarItem( QPainter *p, int x, int y, int w, int h, |
316 | 320 | QMenuItem *item, const QColorGroup &g, | |
317 | virtual void drawKMenuItem( QPainter *p, int x, int y, int w, int h, | 321 | bool enabled, bool active ); |
318 | const QColorGroup &g, bool active, | ||
319 | QMenuItem *item, QBrush *fill = NULL ); | ||
320 | #endif | ||
321 | /** | 322 | /** |
322 | * Return the width of the splitter as specified in the config file. | 323 | * Return the width of the splitter as specified in the config file. |
@@ -353,6 +354,5 @@ public: | |||
353 | * Draw a @ref KProgess bar. | 354 | * Draw a @ref KProgess bar. |
354 | */ | 355 | */ |
355 | // virtual void drawKProgressBlock(QPainter *p, int x, int y, int w, int h, | 356 | virtual void drawProgressBar (QPainter *, int , int , int , int , const QColorGroup &, int ); |
356 | // const QColorGroup &g, QBrush *fill); | ||
357 | /** | 357 | /** |
358 | * Return the background for @ref KProgress. | 358 | * Return the background for @ref KProgress. |