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/KWViewMode.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/KWViewMode.cpp')
-rw-r--r-- | kword/KWViewMode.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kword/KWViewMode.cpp b/kword/KWViewMode.cpp index 02130dc0..c1c6f16e 100644 --- a/kword/KWViewMode.cpp +++ b/kword/KWViewMode.cpp @@ -508,10 +508,10 @@ TQSize KWViewModeText::contentsSize() // The width is the one from the text, so that the placement of tabs makes a bit of sense, etc. // The minimum height is the one of a normal page though. - int width = m_doc->tqlayoutUnitToPixelX( m_textFrameSet->textDocument()->width() ); + int width = m_doc->layoutUnitToPixelX( m_textFrameSet->textDocument()->width() ); int height = TQMAX((int)m_doc->paperHeight(m_doc->startPage()), - m_doc->tqlayoutUnitToPixelY( m_textFrameSet->textDocument()->height() ) ); + m_doc->layoutUnitToPixelY( m_textFrameSet->textDocument()->height() ) ); //kdDebug() << "KWViewModeText::contentsSize " << width << "x" << height << endl; return TQSize( width, height ); } @@ -526,10 +526,10 @@ bool KWViewModeText::isFrameSetVisible( const KWFrameSet *fs ) if(fs==NULL) return false; // assertion if(fs==textFrameSet()) return true; - const KWFrameSet* tqparentFrameset = fs->groupmanager() ? fs->groupmanager() : fs; - while ( tqparentFrameset->isFloating() ) { - tqparentFrameset = tqparentFrameset->anchorFrameset(); - if ( tqparentFrameset == m_textFrameSet ) + const KWFrameSet* parentFrameset = fs->groupmanager() ? fs->groupmanager() : fs; + while ( parentFrameset->isFloating() ) { + parentFrameset = parentFrameset->anchorFrameset(); + if ( parentFrameset == m_textFrameSet ) return true; } return false; |