summaryrefslogtreecommitdiffstats
path: root/style/qtcurve.h
diff options
context:
space:
mode:
Diffstat (limited to 'style/qtcurve.h')
-rw-r--r--style/qtcurve.h8
1 files changed, 4 insertions, 4 deletions
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,