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 /kword/KWTextImage.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 'kword/KWTextImage.cpp')
-rw-r--r-- | kword/KWTextImage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kword/KWTextImage.cpp b/kword/KWTextImage.cpp index 981ce1cb..44031573 100644 --- a/kword/KWTextImage.cpp +++ b/kword/KWTextImage.cpp @@ -53,7 +53,7 @@ void KWTextImage::resize() if ( m_deleted ) return; if ( !m_image.isNull() ) { - //KWDocument * doc = static_cast<KWTextDocument *>(tqparent)->textFrameSet()->kWordDocument(); + //KWDocument * doc = static_cast<KWTextDocument *>(parent)->textFrameSet()->kWordDocument(); width = m_image.getOriginalSize().width(); // width is a 100%-zoom pixel size. We want a LU pixel size -> we simply need 'to LU', i.e. ptToLayoutPt width = KoTextZoomHandler::ptToLayoutUnitPt( width ); @@ -98,7 +98,7 @@ void KWTextImage::drawCustomItem( TQPainter* p, int x, int y, int wpix, int hpix void KWTextImage::save( TQDomElement & parentElem ) { // This code is similar to KWPictureFrameSet::save - KWDocument * doc = static_cast<KWTextDocument *>(tqparent)->textFrameSet()->kWordDocument(); + KWDocument * doc = static_cast<KWTextDocument *>(parent)->textFrameSet()->kWordDocument(); TQDomElement imageElem = parentElem.ownerDocument().createElement( "PICTURE" ); parentElem.appendChild( imageElem ); @@ -113,7 +113,7 @@ void KWTextImage::save( TQDomElement & parentElem ) void KWTextImage::load( TQDomElement & parentElem ) { // This code is similar to KWPictureFrameSet::load - KWDocument * doc = static_cast<KWTextDocument *>(tqparent)->textFrameSet()->kWordDocument(); + KWDocument * doc = static_cast<KWTextDocument *>(parent)->textFrameSet()->kWordDocument(); // <IMAGE> (KOffice 1.0) or <PICTURE> (KWord 1.2) TQDomNode node=parentElem.namedItem( "PICTURE" ); |