summaryrefslogtreecommitdiffstats
path: root/kstyles/highcontrast/highcontrast.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-07 01:36:09 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-07 01:36:09 -0500
commit2053998fef5594813340b82cb1ea885908cbb1d6 (patch)
tree730c3660b2d14b1fe66a3e16d58d295a702c7d9a /kstyles/highcontrast/highcontrast.h
parent2ba2bd6da04b86d32ce1d3a3680a00810938cf9c (diff)
downloadtdelibs-2053998fef5594813340b82cb1ea885908cbb1d6.tar.gz
tdelibs-2053998fef5594813340b82cb1ea885908cbb1d6.zip
Update for new style API
Diffstat (limited to 'kstyles/highcontrast/highcontrast.h')
-rw-r--r--kstyles/highcontrast/highcontrast.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kstyles/highcontrast/highcontrast.h b/kstyles/highcontrast/highcontrast.h
index 4d853e705..6ea667cc6 100644
--- a/kstyles/highcontrast/highcontrast.h
+++ b/kstyles/highcontrast/highcontrast.h
@@ -56,8 +56,8 @@ class HighContrastStyle : public KStyle
void polish( TQPalette& pal );
- void polish( TQWidget* widget );
- void unPolish( TQWidget* widget );
+ void polish( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void * );
+ void unPolish( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void * );
void drawKStylePrimitive( KStylePrimitive kpe,
TQPainter* p,
@@ -150,7 +150,7 @@ class HighContrastStyle : public KStyle
TQRect subRect (SubRect subrect, const TQStyleControlElementData ceData, const ControlElementFlags elementFlags, const TQWidget * widget) const;
protected:
- bool eventFilter( TQObject *object, TQEvent *event );
+ virtual bool objectEventHandler( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void* source, TQEvent *e );
TQWidget *hoverWidget;