summaryrefslogtreecommitdiffstats
path: root/kword/KWTableStyleManager.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /kword/KWTableStyleManager.cpp
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kword/KWTableStyleManager.cpp')
-rw-r--r--kword/KWTableStyleManager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kword/KWTableStyleManager.cpp b/kword/KWTableStyleManager.cpp
index 0a939087..a08a6bc7 100644
--- a/kword/KWTableStyleManager.cpp
+++ b/kword/KWTableStyleManager.cpp
@@ -118,13 +118,13 @@ void KWTableStylePreview::drawContents( TQPainter *p )
{
// For centering to work, and to even get word wrapping when the thing is too big :)
m_textdoc->setWidth( widthLU );
- parag->tqinvalidate(0);
+ parag->invalidate(0);
}
parag->format();
TQRect textRect = parag->pixelRect( m_zoomHandler );
- // Center vertically, but not horizontally, to keep the parag tqalignment working,
+ // Center vertically, but not horizontally, to keep the parag alignment working,
textRect.moveTopLeft( TQPoint( fr.x(), fr.y() + ( fr.height() - textRect.height() ) / 2 ) );
p->setClipRect( textRect.intersect( fr ) );
@@ -145,7 +145,7 @@ void KWTableStylePreview::setTableStyle( KWTableStyle *_tableStyle )
KoTextParag * parag = m_textdoc->firstParag();
parag->applyStyle( tableStyle->paragraphStyle() );
- tqrepaint(true);
+ repaint(true);
}
/******************************************************************/
@@ -412,7 +412,7 @@ void KWTableStyleManager::addStyle()
save();
KWTableStyleCollection* collection = m_doc->tableStyleCollection();
- TQString str = i18n( "New Tablestyle Template (%1)" ).tqarg(numTableStyles++);
+ TQString str = i18n( "New Tablestyle Template (%1)" ).arg(numTableStyles++);
if ( m_currentTableStyle )
{
m_currentTableStyle = new KWTableStyle( *m_currentTableStyle );