summaryrefslogtreecommitdiffstats
path: root/karbon/karbon_part.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/karbon_part.cc')
-rw-r--r--karbon/karbon_part.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/karbon/karbon_part.cc b/karbon/karbon_part.cc
index 5e7ecb8b..9355c961 100644
--- a/karbon/karbon_part.cc
+++ b/karbon/karbon_part.cc
@@ -495,19 +495,19 @@ KarbonPart::saveOasisSettings( KoXmlWriter &/*settingsWriter*/ )
void
KarbonPart::insertObject( VObject* object )
{
- // don't tqrepaint here explicitly. some commands might want to insert many
+ // don't repaint here explicitly. some commands might want to insert many
// objects.
m_doc.append( object );
setModified( true );
}
void
-KarbonPart::addCommand( VCommand* cmd, bool tqrepaint )
+KarbonPart::addCommand( VCommand* cmd, bool repaint )
{
m_commandHistory->addCommand( cmd );
setModified( true );
- if( tqrepaint )
+ if( repaint )
repaintAllViews();
}
@@ -530,12 +530,12 @@ KarbonPart::clearHistory()
}
void
-KarbonPart::repaintAllViews( bool tqrepaint )
+KarbonPart::repaintAllViews( bool repaint )
{
TQPtrListIterator<KoView> itr( views() );
for( ; itr.current() ; ++itr )
- static_cast<KarbonView*>( itr.current() )->canvasWidget()->repaintAll( tqrepaint );
+ static_cast<KarbonView*>( itr.current() )->canvasWidget()->repaintAll( repaint );
}
void
@@ -561,7 +561,7 @@ KarbonPart::paintContent( TQPainter& painter, const TQRect& rect,
painter.eraseRect( rect );
VPainterFactory *painterFactory = new VPainterFactory;
//TQPaintDeviceMetrics metrics( painter.device() );
- painterFactory->setPainter( painter.tqdevice(), rect.width(), rect.height() );
+ painterFactory->setPainter( painter.device(), rect.width(), rect.height() );
VPainter *p = painterFactory->painter();
//VPainter *p = new VKoPainter( painter.device() );
p->begin();