diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 7c71ab86d1f7e387fc3df63b48df07231f111862 (patch) | |
tree | 30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /kword/KWTextImage.cpp | |
parent | afbfdc507bfaafc8824a9808311d57a9ece87510 (diff) | |
download | koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.tar.gz koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kword/KWTextImage.cpp')
-rw-r--r-- | kword/KWTextImage.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kword/KWTextImage.cpp b/kword/KWTextImage.cpp index 0a036d87..981ce1cb 100644 --- a/kword/KWTextImage.cpp +++ b/kword/KWTextImage.cpp @@ -95,35 +95,35 @@ void KWTextImage::drawCustomItem( TQPainter* p, int x, int y, int wpix, int hpix } } -void KWTextImage::save( TQDomElement & tqparentElem ) +void KWTextImage::save( TQDomElement & parentElem ) { // This code is similar to KWPictureFrameSet::save KWDocument * doc = static_cast<KWTextDocument *>(tqparent)->textFrameSet()->kWordDocument(); - TQDomElement imageElem = tqparentElem.ownerDocument().createElement( "PICTURE" ); - tqparentElem.appendChild( imageElem ); + TQDomElement imageElem = parentElem.ownerDocument().createElement( "PICTURE" ); + parentElem.appendChild( imageElem ); //imageElem.setAttribute( "keepAspectRatio", "true" ); - TQDomElement elem = tqparentElem.ownerDocument().createElement( "KEY" ); + TQDomElement elem = parentElem.ownerDocument().createElement( "KEY" ); imageElem.appendChild( elem ); image().getKey().saveAttributes( elem ); // Now we must take care that a <KEY> element will be written as a child of <PICTURES> doc->addTextImageRequest( this ); } -void KWTextImage::load( TQDomElement & tqparentElem ) +void KWTextImage::load( TQDomElement & parentElem ) { // This code is similar to KWPictureFrameSet::load KWDocument * doc = static_cast<KWTextDocument *>(tqparent)->textFrameSet()->kWordDocument(); // <IMAGE> (KOffice 1.0) or <PICTURE> (KWord 1.2) - TQDomNode node=tqparentElem.namedItem( "PICTURE" ); + TQDomNode node=parentElem.namedItem( "PICTURE" ); if ( node.isNull() ) { - node=tqparentElem.namedItem( "IMAGE" ); + node=parentElem.namedItem( "IMAGE" ); } TQDomElement image = node.toElement(); if ( image.isNull() ) - image = tqparentElem; // The data is directly child of <FORMAT> + image = parentElem; // The data is directly child of <FORMAT> // <KEY> TQDomElement keyElement = image.namedItem( "KEY" ).toElement(); if ( !keyElement.isNull() ) |