diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
commit | 94844816550ad672ccfcdc25659c625546239998 (patch) | |
tree | e35fc60fd736c645d59f6408af032774ad8023d3 /kword/KWTableFrameSet.cpp | |
parent | 2a811c38c74c03648ecf857e566c44483cbad706 (diff) | |
download | koffice-94844816550ad672ccfcdc25659c625546239998.tar.gz koffice-94844816550ad672ccfcdc25659c625546239998.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kword/KWTableFrameSet.cpp')
-rw-r--r-- | kword/KWTableFrameSet.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kword/KWTableFrameSet.cpp b/kword/KWTableFrameSet.cpp index f108573b..34765348 100644 --- a/kword/KWTableFrameSet.cpp +++ b/kword/KWTableFrameSet.cpp @@ -52,7 +52,7 @@ DESCRIPTION #include <dcopobject.h> #include <tqapplication.h> #include <tqpopupmenu.h> -#include <tqclipboard.h> +#include <clipboard.h> KWTableFrameSet::KWTableFrameSet( KWDocument *doc, const TQString & name ) : @@ -143,7 +143,7 @@ KWAnchor * KWTableFrameSet::createAnchor( KoTextDocument *txt, int frameNum ) } void KWTableFrameSet::createAnchors( KoTextParag * parag, int index, bool placeHolderExists /*= false */ /*only used when loading*/, - bool tqrepaint ) + bool repaint ) { //kdDebug(32004) << "KWTableFrameSet::createAnchors" << endl; // TODO make one rect per page, and create one anchor per page @@ -154,7 +154,7 @@ void KWTableFrameSet::createAnchors( KoTextParag * parag, int index, bool placeH parag->setCustomItem( index, anchor, 0 ); kdDebug(32004) << "KWTableFrameSet::createAnchors setting anchor" << endl; parag->setChanged( true ); - if ( tqrepaint ) + if ( repaint ) emit repaintChanged( m_anchorTextFs ); } @@ -1454,7 +1454,7 @@ void KWTableFrameSet::validate() for(uint j = cells->firstColumn(); j < cells->columnAfter(); ++j) { if( cell(i,j) != cells.current() ) { - TQString str = TQString("| 0x%1 ").tqarg( (unsigned long)cells.current(), 0, 16 ); + TQString str = TQString("| 0x%1 ").arg( (unsigned long)cells.current(), 0, 16 ); kdDebug(32004) << " KWTableFrameSet::validate() failed " << endl; kdDebug(32004) << "at row: "<< i << " col: "<< j << " cell: "<< str << endl; kdDebug(32004) << cells->firstRow() << " " << cells->firstColumn() << " " << cells->rowSpan() @@ -2183,16 +2183,16 @@ void KWTableFrameSet::finalize( ) { KWFrameSet::finalize(); } -void KWTableFrameSet::tqlayout() +void KWTableFrameSet::layout() { for (TableIter cells(this) ; cells ; ++cells) - cells->tqlayout(); + cells->layout(); } -void KWTableFrameSet::tqinvalidate() +void KWTableFrameSet::invalidate() { for (TableIter cells(this) ; cells ; ++cells) - cells->tqinvalidate(); + cells->invalidate(); } void KWTableFrameSet::setVisible( bool v ) @@ -2291,9 +2291,9 @@ void KWTableFrameSet::printArrayDebug() { kdDebug(32004) << " | Row/Cell arrays" << endl; Q_ASSERT( m_rows == m_rowArray.size() ); for ( unsigned int row = 0; row < m_rows; ++row ) { - TQString str = TQString( " | Row %1: " ).tqarg( row ); + TQString str = TQString( " | Row %1: " ).arg( row ); for ( unsigned int col = 0; col < getColumns(); ++col ) - str += TQString("| 0x%1 ").tqarg( (unsigned long)(*m_rowArray[row])[col], 0, 16 ); + str += TQString("| 0x%1 ").arg( (unsigned long)(*m_rowArray[row])[col], 0, 16 ); kdDebug(32004) << str<< " |" << endl; } } @@ -2319,7 +2319,7 @@ KWTableFrameSet::Cell::Cell( KWTableFrameSet *table, unsigned int row, unsigned KWTextFrameSet( table->m_doc, // Generate frameset name from table_name+row+col i18n("Hello dear translator :), 1 is the table name, 2 and 3 are row and column", "%1 Cell %2,%3") - .tqarg( table->name() ).tqarg(row).tqarg(col) ) + .arg( table->name() ).arg(row).arg(col) ) { m_row = row; m_col = col; @@ -2829,7 +2829,7 @@ KWTableFrameSet::MarkedIterator::MarkedIterator(KWTableFrameSet *table) : if ( current() ) { // kdDebug() << "MarkedIterator: visit: " -// << TQString("| 0x%1 ").tqarg((unsigned long)current(), 0, 16) << endl; +// << TQString("| 0x%1 ").arg((unsigned long)current(), 0, 16) << endl; current()->setMark(); } } @@ -2844,7 +2844,7 @@ KWTableFrameSet::MarkedIterator::operator++() } if ( current() ) { // kdDebug() << "MarkedIterator: visit: " -// << TQString("| 0x%1 ").tqarg((unsigned long)current(), 0, 16) << endl; +// << TQString("| 0x%1 ").arg((unsigned long)current(), 0, 16) << endl; current()->setMark(); } return ret; |