From 229a34d015564ecd61be45648f15044ea3e4ec8a Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 5 Aug 2010 21:54:32 +0000 Subject: Various compilation fixes. Most are to specify types where ambiguity is present, so for example 'T' becomes (QChar)'T' git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1159657 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdefx/kstyle.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'kdefx/kstyle.h') diff --git a/kdefx/kstyle.h b/kdefx/kstyle.h index 87b5d299e..f9a47ec45 100644 --- a/kdefx/kstyle.h +++ b/kdefx/kstyle.h @@ -281,6 +281,17 @@ class KDEFX_EXPORT KStyle: public QCommonStyle SFlags flags = Style_Default, const TQStyleOption& = TQStyleOption::TQSO_Default ) const; +#ifdef USE_QT4 + + void drawPrimitive( ControlElement pe, + TQPainter* p, + const TQRect &r, + const TQColorGroup &cg, + SFlags flags = Style_Default, + const TQStyleOption& = TQStyleOption::TQSO_Default ) const; + +#endif // USE_QT4 + void drawControl( ControlElement element, TQPainter* p, const TQWidget* widget, -- cgit v1.2.1