summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrPartObject.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kpresenter/KPrPartObject.cpp
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz
koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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() );