From 4fc58f393f02e076425d1651ce360e6d8818d182 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 7 Aug 2012 01:39:12 -0500 Subject: TQStyle API update --- style/qtcurve.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'style/qtcurve.h') diff --git a/style/qtcurve.h b/style/qtcurve.h index 77ad4e7..a4debc1 100644 --- a/style/qtcurve.h +++ b/style/qtcurve.h @@ -134,11 +134,11 @@ class TQtCurveStyle : public BASE_STYLE virtual ~TQtCurveStyle(); - void polish(TQApplication *app); + void applicationPolish(TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *); void polish(TQPalette &pal); TQColorGroup setColorGroup(const TQColorGroup &old, const TQColorGroup &act, bool dis=false); - void polish(TQWidget *widget); - void unPolish(TQWidget *widget); + void polish(TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *); + void unPolish(TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *); void drawLightBevel(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags, int round, const TQColor &fill, const TQColor *custom=NULL, bool doBorder=true, bool doCorners=true, EWidget w=WIDGET_OTHER) const @@ -186,7 +186,7 @@ class TQtCurveStyle : public BASE_STYLE protected: bool appIsNotEmbedded(TQDialog *dlg); - bool eventFilter(TQObject *object, TQEvent *event); + virtual bool objectEventHandler( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void* source, TQEvent *e ); void drawMenuItem(TQPainter *p, const TQRect &r, int flags, const TQColorGroup &cg, bool mbi, int round, const TQColor &bgnd, const TQColor *cols) const; void drawProgress(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags, int round, -- cgit v1.2.1