From a20928b6bfae18a41bb42b85e10f73fb63548ccc Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 23 Jan 2011 05:12:43 +0000 Subject: Styles are now mostly functional under Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1216403 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdefx/kstyle.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kdefx/kstyle.h') diff --git a/kdefx/kstyle.h b/kdefx/kstyle.h index a50ab721e..c39e5e53f 100644 --- a/kdefx/kstyle.h +++ b/kdefx/kstyle.h @@ -284,7 +284,7 @@ class KDEFX_EXPORT KStyle: public TQCommonStyle // #ifdef USE_QT4 // kdebindings / smoke needs this function declaration available at all times. Furthermore I don't think it would hurt to have the declaration available at all times...so leave these commented out for now -// void tqdrawPrimitive( ControlElement pe, +// void tqdrawPrimitive( TQ_ControlElement pe, // TQPainter* p, // const TQRect &r, // const TQColorGroup &cg, @@ -293,7 +293,7 @@ class KDEFX_EXPORT KStyle: public TQCommonStyle // #endif // USE_QT4 - void tqdrawControl( ControlElement element, + void tqdrawControl( TQ_ControlElement element, TQPainter* p, const TQWidget* widget, const TQRect &r, @@ -301,7 +301,7 @@ class KDEFX_EXPORT KStyle: public TQCommonStyle SFlags flags = Style_Default, const TQStyleOption& = TQStyleOption::SO_Default ) const; - void tqdrawComplexControl( ComplexControl control, + void tqdrawComplexControl( TQ_ComplexControl control, TQPainter *p, const TQWidget* widget, const TQRect &r, @@ -311,12 +311,12 @@ class KDEFX_EXPORT KStyle: public TQCommonStyle SCFlags active = SC_None, const TQStyleOption& = TQStyleOption::SO_Default ) const; - SubControl querySubControl( ComplexControl control, + SubControl querySubControl( TQ_ComplexControl control, const TQWidget* widget, const TQPoint &pos, const TQStyleOption& = TQStyleOption::SO_Default ) const; - TQRect querySubControlMetrics( ComplexControl control, + TQRect querySubControlMetrics( TQ_ComplexControl control, const TQWidget* widget, SubControl sc, const TQStyleOption& = TQStyleOption::SO_Default ) const; -- cgit v1.2.1