diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kpresenter/KPrPartObject.cpp | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-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.cpp | 6 |
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() ); |