diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:56:31 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:56:31 -0600 |
commit | c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch) | |
tree | 1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kword/KWVariable.cpp | |
parent | 94844816550ad672ccfcdc25659c625546239998 (diff) | |
download | koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kword/KWVariable.cpp')
-rw-r--r-- | kword/KWVariable.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kword/KWVariable.cpp b/kword/KWVariable.cpp index 80666965..5b82b220 100644 --- a/kword/KWVariable.cpp +++ b/kword/KWVariable.cpp @@ -351,7 +351,7 @@ void KWFootNoteVariable::saveOasis( KoXmlWriter& writer, KoSavingContext& contex writer.startElement( "text:note-citation" ); if ( m_numberingType == Auto ) - writer.addTextNode( TQString( "%1" ).arg( m_numDisplay ) ); + writer.addTextNode( TQString( "%1" ).tqarg( m_numDisplay ) ); else { writer.addAttribute( "text:label", m_varValue.toString() ); @@ -478,7 +478,7 @@ TQString KWFootNoteVariable::text(bool realValue) void KWFootNoteVariable::setNumDisplay( int val ) { m_numDisplay = val; - if ( val != -1 ) // -1 is used to 'invalidate so that renumberFootNotes recalcs' + if ( val != -1 ) // -1 is used to 'tqinvalidate so that renumberFootNotes recalcs' formatedNote(); } @@ -532,7 +532,7 @@ void KWFootNoteVariable::finalize() fs->textObject()->abortFormatting(); // abortFormatting is a bool in kotextobject. So we need to return there before - // starting text layout again. + // starting text tqlayout again. m_doc->delayedRecalcFrames( TQMIN( pageNum, framePage ) ); m_doc->delayedRepaintAllViews(); } @@ -596,7 +596,7 @@ void KWFootNoteVariable::setDeleted( bool del ) m_doc->recalcFrames(); if (!del) - m_frameset->layout(); // format its text, so that it resizes the frame + m_frameset->tqlayout(); // format its text, so that it resizes the frame KoVariable::setDeleted( del ); // Does this compress? Probably not. m_doc->delayedRepaintAllViews(); @@ -617,7 +617,7 @@ double KWFootNoteVariable::varY() const if ( !fs->hasFramesInPageArray() ) // we need it for internalToDocument { kdDebug(32001) << "KWFootNoteVariable::varY too early, no updateFrames yet" << endl; - return 0; // this happens on loading - frame layout is done before text layout + return 0; // this happens on loading - frame tqlayout is done before text tqlayout } // What we need is "has never been formatted". Not "has just been invalidated"... //if ( !paragraph()->isValid() ) |