summaryrefslogtreecommitdiffstats
path: root/src/styles/qcdestyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/qcdestyle.h')
-rw-r--r--src/styles/qcdestyle.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/styles/qcdestyle.h b/src/styles/qcdestyle.h
index a94f620..3dee332 100644
--- a/src/styles/qcdestyle.h
+++ b/src/styles/qcdestyle.h
@@ -62,18 +62,22 @@ public:
QCDEStyle( bool useHighlightCols = FALSE );
virtual ~QCDEStyle();
- int pixelMetric( PixelMetric metric, const QWidget *widget = 0 ) const;
+ int pixelMetric( PixelMetric metric, QStyleControlElementData ceData, ControlElementFlags elementFlags, const QWidget *widget = 0 ) const;
void drawControl( ControlElement element,
QPainter *p,
- const QWidget *widget,
+ QStyleControlElementData ceData,
+ ControlElementFlags elementFlags,
const QRect &r,
const QColorGroup &cg,
SFlags how = Style_Default,
- const QStyleOption& = QStyleOption::Default ) const;
+ const QStyleOption& = QStyleOption::Default,
+ const QWidget *widget = 0 ) const;
void drawPrimitive( PrimitiveElement pe,
QPainter *p,
+ QStyleControlElementData ceData,
+ ControlElementFlags elementFlags,
const QRect &r,
const QColorGroup &cg,
SFlags flags = Style_Default,