From 7bcedaa7972f1ee23f57c76e6964b53a01b59ccd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 17 Oct 2012 15:06:17 -0500 Subject: Do not use direct widget access when drawing tabs and popup menus --- styles/phase/phasestyle.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'styles/phase/phasestyle.h') diff --git a/styles/phase/phasestyle.h b/styles/phase/phasestyle.h index be4f3016..61f86470 100644 --- a/styles/phase/phasestyle.h +++ b/styles/phase/phasestyle.h @@ -170,8 +170,9 @@ private: void drawPhaseTab(TQPainter *painter, int x, int y, int w, int h, const TQColorGroup &group, - const TQTabBar *bar, - const TQStyleOption &option, + TQStyleControlElementData ceData, + ControlElementFlags elementFlags, + const TQStyleOption &option, const SFlags flags) const; void drawPhaseGradient(TQPainter *painter, @@ -187,8 +188,6 @@ private: bool objectEventHandler( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void* source, TQEvent *e ); private: - TQWidget *hover_; - TQTab *hovertab_; TQMap > * gradients; bool gradients_; bool highlights_; -- cgit v1.2.1