summaryrefslogtreecommitdiffstats
path: root/kword/KWTableFrameSet.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kword/KWTableFrameSet.cpp
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-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/KWTableFrameSet.cpp')
-rw-r--r--kword/KWTableFrameSet.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kword/KWTableFrameSet.cpp b/kword/KWTableFrameSet.cpp
index 34765348..f108573b 100644
--- a/kword/KWTableFrameSet.cpp
+++ b/kword/KWTableFrameSet.cpp
@@ -52,7 +52,7 @@ DESCRIPTION
#include <dcopobject.h>
#include <tqapplication.h>
#include <tqpopupmenu.h>
-#include <clipboard.h>
+#include <tqclipboard.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 repaint )
+ bool tqrepaint )
{
//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 ( repaint )
+ if ( tqrepaint )
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 ").arg( (unsigned long)cells.current(), 0, 16 );
+ TQString str = TQString("| 0x%1 ").tqarg( (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::layout()
+void KWTableFrameSet::tqlayout()
{
for (TableIter cells(this) ; cells ; ++cells)
- cells->layout();
+ cells->tqlayout();
}
-void KWTableFrameSet::invalidate()
+void KWTableFrameSet::tqinvalidate()
{
for (TableIter cells(this) ; cells ; ++cells)
- cells->invalidate();
+ cells->tqinvalidate();
}
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: " ).arg( row );
+ TQString str = TQString( " | Row %1: " ).tqarg( row );
for ( unsigned int col = 0; col < getColumns(); ++col )
- str += TQString("| 0x%1 ").arg( (unsigned long)(*m_rowArray[row])[col], 0, 16 );
+ str += TQString("| 0x%1 ").tqarg( (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")
- .arg( table->name() ).arg(row).arg(col) )
+ .tqarg( table->name() ).tqarg(row).tqarg(col) )
{
m_row = row;
m_col = col;
@@ -2829,7 +2829,7 @@ KWTableFrameSet::MarkedIterator::MarkedIterator(KWTableFrameSet *table) :
if ( current() ) {
// kdDebug() << "MarkedIterator: visit: "
-// << TQString("| 0x%1 ").arg((unsigned long)current(), 0, 16) << endl;
+// << TQString("| 0x%1 ").tqarg((unsigned long)current(), 0, 16) << endl;
current()->setMark();
}
}
@@ -2844,7 +2844,7 @@ KWTableFrameSet::MarkedIterator::operator++()
}
if ( current() ) {
// kdDebug() << "MarkedIterator: visit: "
-// << TQString("| 0x%1 ").arg((unsigned long)current(), 0, 16) << endl;
+// << TQString("| 0x%1 ").tqarg((unsigned long)current(), 0, 16) << endl;
current()->setMark();
}
return ret;