summaryrefslogtreecommitdiffstats
path: root/karbon/karbon_view.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
commitafbfdc507bfaafc8824a9808311d57a9ece87510 (patch)
tree47be45bbd69c321ce79e14b683e59318748be9cb /karbon/karbon_view.cc
parent880d042b2902fae8007f202dd35ad9330499867b (diff)
downloadkoffice-afbfdc507bfaafc8824a9808311d57a9ece87510.tar.gz
koffice-afbfdc507bfaafc8824a9808311d57a9ece87510.zip
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 )