summaryrefslogtreecommitdiffstats
path: root/kdefx/kstyle.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-05 21:54:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-05 21:54:32 +0000
commit229a34d015564ecd61be45648f15044ea3e4ec8a (patch)
treeb58510cd03109802f5b2d1a7cd4ad429ea01ec88 /kdefx/kstyle.h
parent6d1c49c8bd45ba0a096006fb2df45ce1e4ba901b (diff)
downloadtdelibs-229a34d015564ecd61be45648f15044ea3e4ec8a.tar.gz
tdelibs-229a34d015564ecd61be45648f15044ea3e4ec8a.zip
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
Diffstat (limited to 'kdefx/kstyle.h')
-rw-r--r--kdefx/kstyle.h11
1 files changed, 11 insertions, 0 deletions
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,