summaryrefslogtreecommitdiffstats
path: root/style/qtcurve.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-11-04 16:20:28 -0600
committerTimothy Pearson <[email protected]>2012-11-04 16:20:28 -0600
commit1079dc4b331da45fb98e8b814932421a46c0b13c (patch)
tree7282e2b46a52c89af0e71e4ce09317f010eb3518 /style/qtcurve.h
parent4465ba29ed04d8c7b16456b36717794a39e4a343 (diff)
downloadtde-style-qtcurve-1079dc4b331da45fb98e8b814932421a46c0b13c.tar.gz
tde-style-qtcurve-1079dc4b331da45fb98e8b814932421a46c0b13c.zip
Fix crashes when used with third-party toolkits
Diffstat (limited to 'style/qtcurve.h')
-rw-r--r--style/qtcurve.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/style/qtcurve.h b/style/qtcurve.h
index ea3d9b0..7642184 100644
--- a/style/qtcurve.h
+++ b/style/qtcurve.h
@@ -199,7 +199,7 @@ class QtCurveStyle : public BASE_STYLE
void drawSbSliderHandle(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags, bool slider=false) const;
void drawSliderHandle(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags, TQSlider *slider, bool tb=false) const;
void drawSliderGroove(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags,
- const TQWidget *widget) const;
+ const TQStyleControlElementData ceData, const ControlElementFlags elementFlags, const TQWidget *widget) const;
void drawMenuOrToolBarBackground(TQPainter *p, const TQRect &r, const TQColorGroup &cg, bool menu=true, bool horiz=true) const;
void drawHandleMarkers(TQPainter *p, const TQRect &r, SFlags flags, bool tb, ELine handles) const;
void drawHighlight(TQPainter *p, const TQRect &r, const TQColorGroup &cg, bool horiz, bool inc) const;
@@ -243,6 +243,7 @@ class QtCurveStyle : public BASE_STYLE
bool isFormWidget(const TQWidget *w) const { return itsKhtmlWidgets.contains(w); }
void resetHover();
bool isWindowDragWidget(TQObject *o, const TQPoint &pos=TQPoint());
+ void adjustScrollbarRects(bool &itsFormMode, bool &horiz, bool &useThreeButtonScrollBar, TQRect &subline, TQRect &addline, TQRect &subpage, TQRect &addpage, TQRect &slider, TQRect &first, TQRect &last, TQRect &subline2, TQRect &sbRect, Options& opts, const TQWidget* widget) const;
private slots: