summaryrefslogtreecommitdiffstats
path: root/karbon/karbon_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/karbon_view.cc')
-rw-r--r--karbon/karbon_view.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/karbon/karbon_view.cc b/karbon/karbon_view.cc
index db540aa0..83db0edc 100644
--- a/karbon/karbon_view.cc
+++ b/karbon/karbon_view.cc
@@ -469,7 +469,7 @@ KarbonView::fileImportGraphic()
unlink( TQFile::encodeName( importedFile ) );
}
delete dialog;
- part()->tqrepaintAllViews();
+ part()->repaintAllViews();
}
void
@@ -515,7 +515,7 @@ KarbonView::editPaste()
&objects, copyOffset ),
true );
- part()->tqrepaintAllViews();
+ part()->repaintAllViews();
selectionChanged();
}
@@ -525,7 +525,7 @@ KarbonView::editSelectAll()
part()->document().selection()->append();
if( part()->document().selection()->objects().count() > 0 )
- part()->tqrepaintAllViews();
+ part()->repaintAllViews();
selectionChanged();
}
@@ -536,7 +536,7 @@ KarbonView::editDeselectAll()
if( part()->document().selection()->objects().count() > 0 )
{
part()->document().selection()->clear();
- part()->tqrepaintAllViews();
+ part()->repaintAllViews();
}
selectionChanged();
@@ -695,7 +695,7 @@ KarbonView::selectionDuplicate()
&objects, copyOffset ),
true );
- part()->tqrepaintAllViews();
+ part()->repaintAllViews();
selectionChanged();
}
@@ -750,7 +750,7 @@ KarbonView::slotActiveToolChanged( VTool *tool )
{
toolController()->setCurrentTool( tool );
- m_canvas->tqrepaintAll();
+ m_canvas->repaintAll();
}
void
@@ -763,7 +763,7 @@ KarbonView::viewModeChanged()
else
m_painterFactory->setPainter( TQT_TQPAINTDEVICE(canvasWidget()->pixmap()), width(), height() );
- m_canvas->tqrepaintAll();
+ m_canvas->repaintAll();
}
void
@@ -868,7 +868,7 @@ KarbonView::zoomChanged( const KoPoint &p )
painter->setZoomFactor( zoomFactor );
m_canvas->setViewport( centerX, centerY );
- m_canvas->tqrepaintAll();
+ m_canvas->repaintAll();
m_canvas->viewport()->setUpdatesEnabled( true );
@@ -1237,7 +1237,7 @@ void
KarbonView::togglePageMargins(bool b)
{
((KToggleAction*)actionCollection()->action("view_show_margins"))->setChecked(b);
- m_canvas->tqrepaintAll();
+ m_canvas->repaintAll();
}
void
@@ -1319,7 +1319,7 @@ KarbonView::pageLayout()
m_vertRuler->setUnit( unit );
m_canvas->resizeContents( int( ( part()->pageLayout().ptWidth + 300 ) * zoom() ),
int( ( part()->pageLayout().ptHeight + 460 ) * zoom() ) );
- part()->tqrepaintAllViews();
+ part()->repaintAllViews();
emit pageLayoutChanged();
}
@@ -1438,15 +1438,15 @@ KarbonView::setCursor( const TQCursor &c )
}
void
-KarbonView::tqrepaintAll( const KoRect &r )
+KarbonView::repaintAll( const KoRect &r )
{
- m_canvas->tqrepaintAll( r );
+ m_canvas->repaintAll( r );
}
void
-KarbonView::tqrepaintAll( bool tqrepaint )
+KarbonView::repaintAll( bool tqrepaint )
{
- m_canvas->tqrepaintAll( tqrepaint );
+ m_canvas->repaintAll( tqrepaint );
}
void
KarbonView::setPos( const KoPoint& p )