diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-08-07 01:39:12 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-08-07 01:39:12 -0500 |
commit | 4fc58f393f02e076425d1651ce360e6d8818d182 (patch) | |
tree | e5ac88fa6f5193b466801f6985974540ff94cb6f /style/qtcurve.h | |
parent | 8a81e3e9ade5820c2764b7c912b5115c2fd64c1c (diff) | |
download | tde-style-qtcurve-4fc58f393f02e076425d1651ce360e6d8818d182.tar.gz tde-style-qtcurve-4fc58f393f02e076425d1651ce360e6d8818d182.zip |
TQStyle API update
Diffstat (limited to 'style/qtcurve.h')
-rw-r--r-- | style/qtcurve.h | 8 |
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, |