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.cpp | 10 +++++----- kdefx/kstyle.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'kdefx') diff --git a/kdefx/kstyle.cpp b/kdefx/kstyle.cpp index e6398add8..9e0546a87 100644 --- a/kdefx/kstyle.cpp +++ b/kdefx/kstyle.cpp @@ -535,7 +535,7 @@ int KStyle::kPixelMetric( KStylePixelMetric kpm, const TQWidget* /* widget */) c // #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 KStyle::tqdrawPrimitive( ControlElement pe, +//void KStyle::tqdrawPrimitive( TQ_ControlElement pe, // TQPainter* p, // const TQRect &r, // const TQColorGroup &cg, @@ -646,7 +646,7 @@ void KStyle::tqdrawPrimitive( TQ_PrimitiveElement pe, -void KStyle::tqdrawControl( ControlElement element, +void KStyle::tqdrawControl( TQ_ControlElement element, TQPainter* p, const TQWidget* widget, const TQRect &r, @@ -1096,7 +1096,7 @@ static TQListViewItem* nextVisibleSibling(TQListViewItem* item) return sibling; } -void KStyle::tqdrawComplexControl( ComplexControl control, +void KStyle::tqdrawComplexControl( TQ_ComplexControl control, TQPainter* p, const TQWidget* widget, const TQRect &r, @@ -1392,7 +1392,7 @@ void KStyle::tqdrawComplexControl( ComplexControl control, } -TQStyle::SubControl KStyle::querySubControl( ComplexControl control, +TQStyle::SubControl KStyle::querySubControl( TQ_ComplexControl control, const TQWidget* widget, const TQPoint &pos, const TQStyleOption &opt ) const @@ -1408,7 +1408,7 @@ TQStyle::SubControl KStyle::querySubControl( ComplexControl control, } -TQRect KStyle::querySubControlMetrics( ComplexControl control, +TQRect KStyle::querySubControlMetrics( TQ_ComplexControl control, const TQWidget* widget, SubControl sc, const TQStyleOption &opt ) const 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