summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrPartObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrPartObject.cpp')
-rw-r--r--kpresenter/KPrPartObject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KPrPartObject.cpp b/kpresenter/KPrPartObject.cpp
index e2c24e1a..9f903608 100644
--- a/kpresenter/KPrPartObject.cpp
+++ b/kpresenter/KPrPartObject.cpp
@@ -47,7 +47,7 @@ KPrPartObject &KPrPartObject::operator=( const KPrPartObject & )
void KPrPartObject::updateChildGeometry()
{
- KoTextZoomHandler* zh = child->tqparent()->zoomHandler();
+ KoTextZoomHandler* zh = child->parent()->zoomHandler();
child->setGeometry( zh->zoomRect( getRect() ), true );
child->setRotationPoint( TQPoint( zh->zoomItX( getOrig().x() + getSize().width() / 2 ),
zh->zoomItY( getOrig().y() + getSize().height() / 2 ) ) );
@@ -58,7 +58,7 @@ void KPrPartObject::rotate( float _angle )
KPrObject::rotate( _angle );
child->setRotation( _angle );
- KoTextZoomHandler* zh = child->tqparent()->zoomHandler();
+ KoTextZoomHandler* zh = child->parent()->zoomHandler();
child->setRotationPoint( TQPoint( zh->zoomItX( getOrig().x() + getSize().width() / 2 ),
zh->zoomItY( getOrig().y() + getSize().height() / 2 ) ) );
}
@@ -151,7 +151,7 @@ void KPrPartObject::draw( TQPainter *_painter, KoTextZoomHandler *_zoomhandler,
void KPrPartObject::slot_changed( KoChild *_koChild )
{
- KoTextZoomHandler* zh = child->tqparent()->zoomHandler();
+ KoTextZoomHandler* zh = child->parent()->zoomHandler();
KoRect g = zh->unzoomRect( _koChild->tqgeometry() );
KPrObject::setOrig( g.x(), g.y() );
KPrObject::setSize( g.width(), g.height() );