From 2053998fef5594813340b82cb1ea885908cbb1d6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 7 Aug 2012 01:36:09 -0500 Subject: Update for new style API --- kstyles/highcontrast/highcontrast.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kstyles/highcontrast/highcontrast.h') 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; -- cgit v1.2.1