summaryrefslogtreecommitdiffstats
path: root/kword/KWFrameSet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWFrameSet.cpp')
-rw-r--r--kword/KWFrameSet.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kword/KWFrameSet.cpp b/kword/KWFrameSet.cpp
index d1129b1fa..9a1d43ba5 100644
--- a/kword/KWFrameSet.cpp
+++ b/kword/KWFrameSet.cpp
@@ -303,15 +303,15 @@ void KWFrameSet::setProtectSize( bool b)
m_protectSize = b;
}
-void KWFrameSet::setAnchored( KWTextFrameSet* textfs, int paragId, int index, bool placeHolderExists /* = false */, bool tqrepaint )
+void KWFrameSet::setAnchored( KWTextFrameSet* textfs, int paragId, int index, bool placeHolderExists /* = false */, bool repaint )
{
KWTextParag * parag = static_cast<KWTextParag *>( textfs->textDocument()->paragAt( paragId ) );
Q_ASSERT( parag );
if ( parag )
- setAnchored( textfs, parag, index, placeHolderExists, tqrepaint );
+ setAnchored( textfs, parag, index, placeHolderExists, repaint );
}
-void KWFrameSet::setAnchored( KWTextFrameSet* textfs, KoTextParag* parag, int index, bool placeHolderExists /* = false */, bool tqrepaint )
+void KWFrameSet::setAnchored( KWTextFrameSet* textfs, KoTextParag* parag, int index, bool placeHolderExists /* = false */, bool repaint )
{
kdDebug(32001) << "KWFrameSet::setAnchored " << textfs << " " << parag->paragId() << " " << index << " " << placeHolderExists << endl;
Q_ASSERT( textfs );
@@ -321,7 +321,7 @@ void KWFrameSet::setAnchored( KWTextFrameSet* textfs, KoTextParag* parag, int in
m_anchorTextFs = textfs;
KWFrameList::createFrameList(textfs, m_doc); // remove ourselves from others list now we are inline
if ( parag )
- createAnchors( parag, index, placeHolderExists, tqrepaint );
+ createAnchors( parag, index, placeHolderExists, repaint );
if ( !placeHolderExists ) // i.e. not while loading
{
@@ -381,7 +381,7 @@ KWAnchor * KWFrameSet::createAnchor( KoTextDocument *txt, int frameNum )
}
void KWFrameSet::createAnchors( KoTextParag * parag, int index, bool placeHolderExists /*= false */ /*only used when loading*/,
- bool tqrepaint )
+ bool repaint )
{
kdDebug(32001) << "KWFrameSet::createAnchors" << endl;
Q_ASSERT( m_anchorTextFs );
@@ -398,7 +398,7 @@ void KWFrameSet::createAnchors( KoTextParag * parag, int index, bool placeHolder
}
}
parag->setChanged( true );
- if ( tqrepaint )
+ if ( repaint )
emit repaintChanged( m_anchorTextFs );
}
@@ -460,7 +460,7 @@ void KWFrameSet::moveFloatingFrame( int frameNum, const KoPoint &position )
if( frame->frameStack() )
frame->frameStack()->updateAfterMove( oldPageNum );
}
- tqinvalidate();
+ invalidate();
}
KoRect KWFrameSet::floatingFrameRect( int frameNum )
@@ -828,7 +828,7 @@ void KWFrameSet::drawFrame( KWFrame *frame, TQPainter *painter, const TQRect &fc
kdDebug(32001) << " translating by " << translationOffset.x() << ", " << translationOffset.y() << " before drawFrameContents" << endl;
#endif
doubleBufPainter->translate( translationOffset.x(), translationOffset.y() ); // This assume that viewToNormal() is only a translation
- // We can't "tqrepaint changed parags only" if we just drew the underlying frames, hence the "false"
+ // We can't "repaint changed parags only" if we just drew the underlying frames, hence the "false"
drawFrameContents( frame, doubleBufPainter, fcrect, frameColorGroup, false, resetChanged, edit, viewMode );
doubleBufPainter->restore();