From 94844816550ad672ccfcdc25659c625546239998 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:32:11 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- karbon/plugins/shadoweffect/shadoweffectplugin.cc | 6 +++--- karbon/plugins/shadoweffect/vshadowdecorator.cc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'karbon/plugins/shadoweffect') diff --git a/karbon/plugins/shadoweffect/shadoweffectplugin.cc b/karbon/plugins/shadoweffect/shadoweffectplugin.cc index dea09571..fc6da1da 100644 --- a/karbon/plugins/shadoweffect/shadoweffectplugin.cc +++ b/karbon/plugins/shadoweffect/shadoweffectplugin.cc @@ -142,7 +142,7 @@ VCreateShadowCmd::execute() bool successful = false; - // Create new tqshapes if they don't exist yet. + // Create new shapes if they don't exist yet. if( !m_newObjects ) { m_newObjects = new VSelection(); @@ -169,11 +169,11 @@ VCreateShadowCmd::execute() if(newObject) { - // Insert new tqshape right before old tqshape. + // Insert new shape right before old shape. itr.current()->parent()->insertInfrontOf( newObject, itr.current() ); - // Add new tqshape to list of new objects. + // Add new shape to list of new objects. m_newObjects->append( newObject ); } } diff --git a/karbon/plugins/shadoweffect/vshadowdecorator.cc b/karbon/plugins/shadoweffect/vshadowdecorator.cc index b3c00bdd..99ee8c8c 100644 --- a/karbon/plugins/shadoweffect/vshadowdecorator.cc +++ b/karbon/plugins/shadoweffect/vshadowdecorator.cc @@ -69,7 +69,7 @@ VShadowDecorator::draw( VPainter* painter, const KoRect* rect ) const if( m_object->fill()->type() != VFill::none ) m_object->fill()->setColor( black ); m_object->stroke()->setColor( black ); - TQWMatrix mat = painter->tqworldMatrix(); + TQWMatrix mat = painter->worldMatrix(); painter->setWorldMatrix( mat.translate( shadowDx * painter->zoomFactor(), -shadowDy * painter->zoomFactor()) ); m_object->draw( painter, rect ); m_object->setFill( *fill ); -- cgit v1.2.1