From 7c71ab86d1f7e387fc3df63b48df07231f111862 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/kformula/tokenstyleelement.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lib/kformula/tokenstyleelement.cc') diff --git a/lib/kformula/tokenstyleelement.cc b/lib/kformula/tokenstyleelement.cc index 437314250..3b1e6224b 100644 --- a/lib/kformula/tokenstyleelement.cc +++ b/lib/kformula/tokenstyleelement.cc @@ -59,20 +59,20 @@ void TokenStyleElement::draw( TQPainter& painter, const LuPixelRect& r, ContextStyle::TextStyle tstyle, ContextStyle::IndexStyle istyle, StyleAttributes& style, - const LuPixelPoint& tqparentOrigin ) + const LuPixelPoint& parentOrigin ) { setStyleSize( context, style ); setStyleVariant( style ); setStyleColor( style ); setStyleBackground( style ); if ( style.background() != TQt::color0 ) { - painter.fillRect( context.tqlayoutUnitToPixelX( tqparentOrigin.x() + getX() ), - context.tqlayoutUnitToPixelY( tqparentOrigin.y() + getY() ), - context.tqlayoutUnitToPixelX( getWidth() ), - context.tqlayoutUnitToPixelY( getHeight() ), + painter.fillRect( context.layoutUnitToPixelX( parentOrigin.x() + getX() ), + context.layoutUnitToPixelY( parentOrigin.y() + getY() ), + context.layoutUnitToPixelX( getWidth() ), + context.layoutUnitToPixelY( getHeight() ), style.background() ); } - inherited::draw( painter, r, context, tstyle, istyle, style, tqparentOrigin ); + inherited::draw( painter, r, context, tstyle, istyle, style, parentOrigin ); resetStyle( style ); } @@ -550,7 +550,7 @@ void TokenStyleElement::resetStyle( StyleAttributes& style ) double TokenStyleElement::sizeFactor( const ContextStyle& context, double factor ) { - double basesize = context.tqlayoutUnitPtToPt( context.getBaseSize() ); + double basesize = context.layoutUnitPtToPt( context.getBaseSize() ); switch ( m_mathSizeType ) { case AbsoluteSize: return m_mathSize / basesize; -- cgit v1.2.3