diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
commit | afbfdc507bfaafc8824a9808311d57a9ece87510 (patch) | |
tree | 47be45bbd69c321ce79e14b683e59318748be9cb /kword/KWTextFrameSet.cpp | |
parent | 880d042b2902fae8007f202dd35ad9330499867b (diff) | |
download | koffice-afbfdc507bfaafc8824a9808311d57a9ece87510.tar.gz koffice-afbfdc507bfaafc8824a9808311d57a9ece87510.zip |
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kword/KWTextFrameSet.cpp')
-rw-r--r-- | kword/KWTextFrameSet.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kword/KWTextFrameSet.cpp b/kword/KWTextFrameSet.cpp index 26b4da07..f976dd78 100644 --- a/kword/KWTextFrameSet.cpp +++ b/kword/KWTextFrameSet.cpp @@ -166,7 +166,7 @@ void KWTextFrameSet::init() // TQT_SLOT( slotChapterParagraphFormatted( KoTextParag * ) ) ); connect( m_textobj, TQT_SIGNAL( newCommand( KCommand * ) ), TQT_SLOT( slotNewCommand( KCommand * ) ) ); - connect( m_textobj, TQT_SIGNAL( tqrepaintChanged( KoTextObject* ) ), + connect( m_textobj, TQT_SIGNAL( repaintChanged( KoTextObject* ) ), TQT_SLOT( slotRepaintChanged() ) ); connect( m_textobj, TQT_SIGNAL( paragraphDeleted( KoTextParag*) ), TQT_SLOT( slotParagraphDeleted(KoTextParag*) )); @@ -827,7 +827,7 @@ void KWTextFrameSet::drawCursor( TQPainter *p, KoTextCursor *cursor, bool cursor void KWTextFrameSet::tqlayout() { tqinvalidate(); - // Get the thing going though, tqrepainting doesn't call formatMore + // Get the thing going though, repainting doesn't call formatMore m_textobj->formatMore( 2 ); } @@ -840,7 +840,7 @@ void KWTextFrameSet::tqinvalidate() void KWTextFrameSet::slotRepaintChanged() { - emit tqrepaintChanged( this ); + emit repaintChanged( this ); } int KWTextFrameSet::paragraphs() @@ -2610,7 +2610,7 @@ KCommand * KWTextFrameSet::setPageBreakingCommand( KoTextCursor * cursor, int pa } m_textobj->formatMore( 2 ); - emit tqrepaintChanged( this ); + emit repaintChanged( this ); KoTextObject::UndoRedoInfo & undoRedoInfo = m_textobj->undoRedoInfoStruct(); undoRedoInfo.newParagLayout.pageBreaking = pageBreaking; KoTextParagCommand *cmd = new KoTextParagCommand( @@ -2650,7 +2650,7 @@ KCommand * KWTextFrameSet::pasteOasis( KoTextCursor * cursor, const TQByteArray //m_textobj->formatMore( 2 ); ensureFormatted( cursor->parag() ); - emit tqrepaintChanged( this ); + emit repaintChanged( this ); m_textobj->emitEnsureCursorVisible(); m_textobj->emitUpdateUI( true ); m_textobj->emitShowCursor(); @@ -2676,7 +2676,7 @@ void KWTextFrameSet::insertTOC( KoTextCursor * cursor ) m_textobj->setLastFormattedParag( textDocument()->firstParag() ); m_textobj->formatMore( 2 ); - emit tqrepaintChanged( this ); + emit repaintChanged( this ); m_textobj->emitEnsureCursorVisible(); m_textobj->emitUpdateUI( true ); m_textobj->emitShowCursor(); @@ -2713,7 +2713,7 @@ void KWTextFrameSet::insertFrameBreak( KoTextCursor *cursor ) m_textobj->setLastFormattedParag( cursor->parag() ); m_textobj->formatMore( 2 ); - emit tqrepaintChanged( this ); + emit repaintChanged( this ); m_textobj->emitEnsureCursorVisible(); m_textobj->emitUpdateUI( true ); m_textobj->emitShowCursor(); @@ -2800,7 +2800,7 @@ KCommand * KWTextFrameSet::deleteAnchoredFrame( KWAnchor * anchor ) textDocument()->setSelectionEnd( KoTextDocument::Temp, &c ); KCommand *cmd = m_textobj->removeSelectedTextCommand( &c, KoTextDocument::Temp ); - m_doc->tqrepaintAllViews(); + m_doc->repaintAllViews(); return cmd; } @@ -3396,7 +3396,7 @@ bool KWTextFrameSetEdit::enterCustomItem( KoTextCustomItem* customItem, bool fro // A FormulaFrameSetEdit looks a little different from // a FormulaFrameSet. (Colors) static_cast<KWFormulaFrameSet*>( frameSet )->setChanged(); - canvas->tqrepaintChanged( frameSet, true ); + canvas->repaintChanged( frameSet, true ); } return true; } |