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/plastik/plastik.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kstyles/plastik/plastik.h') diff --git a/kstyles/plastik/plastik.h b/kstyles/plastik/plastik.h index 507222412..995bb7c85 100644 --- a/kstyles/plastik/plastik.h +++ b/kstyles/plastik/plastik.h @@ -62,9 +62,9 @@ public: PlastikStyle(); virtual ~PlastikStyle(); - void polish(TQApplication* app ); - void polish(TQWidget* widget ); - void unPolish(TQWidget* widget ); + void applicationPolish(TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *); + void polish(TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *); + void unPolish(TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *); void drawKStylePrimitive(KStylePrimitive kpe, TQPainter* p, @@ -265,8 +265,8 @@ protected: virtual void renderMenuBlendPixmap( KPixmap& pix, const TQColorGroup& cg, const TQPopupMenu* popup ) const; - - bool eventFilter(TQObject *, TQEvent *); + + virtual bool objectEventHandler( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void* source, TQEvent *e ); TQWidget* hoverWidget; protected slots: -- cgit v1.2.1