summaryrefslogtreecommitdiffstats
path: root/karbon
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
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')
-rw-r--r--karbon/commands/vcommand.cc12
-rw-r--r--karbon/dialogs/vconfiguredlg.cc2
-rw-r--r--karbon/dockers/vcolordocker.cc4
-rw-r--r--karbon/dockers/vdocumentdocker.cc12
-rw-r--r--karbon/dockers/vtransformdocker.cc10
-rw-r--r--karbon/karbon_part.cc10
-rw-r--r--karbon/karbon_part.h4
-rw-r--r--karbon/karbon_view.cc28
-rw-r--r--karbon/karbon_view.h4
-rw-r--r--karbon/karbon_view_iface.cc2
-rw-r--r--karbon/tools/vgradienttool.cc8
-rw-r--r--karbon/tools/vpatterntool.cc8
-rw-r--r--karbon/tools/vrotatetool.cc2
-rw-r--r--karbon/tools/vselectnodestool.cc16
-rw-r--r--karbon/tools/vselecttool.cc16
-rw-r--r--karbon/tools/vsheartool.cc2
-rw-r--r--karbon/tools/vtexttool.cc12
-rw-r--r--karbon/widgets/vcanvas.cc8
-rw-r--r--karbon/widgets/vcanvas.h4
19 files changed, 82 insertions, 82 deletions
diff --git a/karbon/commands/vcommand.cc b/karbon/commands/vcommand.cc
index 97da53b5..da08d94f 100644
--- a/karbon/commands/vcommand.cc
+++ b/karbon/commands/vcommand.cc
@@ -137,7 +137,7 @@ VCommandHistory::undo()
updateActions();
- m_part->tqrepaintAllViews();
+ m_part->repaintAllViews();
}
void
@@ -170,7 +170,7 @@ VCommandHistory::redo()
updateActions();
- m_part->tqrepaintAllViews();
+ m_part->repaintAllViews();
}
void
@@ -186,7 +186,7 @@ VCommandHistory::undo( VCommand* command )
updateActions();
- m_part->tqrepaintAllViews();
+ m_part->repaintAllViews();
}
void
@@ -202,7 +202,7 @@ VCommandHistory::redo( VCommand* command )
updateActions();
- m_part->tqrepaintAllViews();
+ m_part->repaintAllViews();
}
void
@@ -231,7 +231,7 @@ VCommandHistory::undoAllTo( VCommand* command )
emit commandExecuted();
updateActions();
- m_part->tqrepaintAllViews();
+ m_part->repaintAllViews();
}
void
@@ -260,7 +260,7 @@ VCommandHistory::redoAllTo( VCommand* command )
emit commandExecuted();
updateActions();
- m_part->tqrepaintAllViews();
+ m_part->repaintAllViews();
}
void
diff --git a/karbon/dialogs/vconfiguredlg.cc b/karbon/dialogs/vconfiguredlg.cc
index bbe6d629..ba86b313 100644
--- a/karbon/dialogs/vconfiguredlg.cc
+++ b/karbon/dialogs/vconfiguredlg.cc
@@ -361,7 +361,7 @@ void VConfigGridPage::apply()
gd.isShow = m_gridChBox->isChecked();
gd.isSnap = m_snapChBox->isChecked();
gd.color = m_gridColorBtn->color();
- m_view->tqrepaintAll();
+ m_view->repaintAll();
}
void VConfigGridPage::slotDefault()
diff --git a/karbon/dockers/vcolordocker.cc b/karbon/dockers/vcolordocker.cc
index b574bec0..0babda00 100644
--- a/karbon/dockers/vcolordocker.cc
+++ b/karbon/dockers/vcolordocker.cc
@@ -139,7 +139,7 @@ void VColorDocker::updateFgColor(const TQColor &c)
if( VOldObjectList == VNewObjectList )
{
m_strokeCmd->changeStroke(v);
- m_part->tqrepaintAllViews();
+ m_part->repaintAllViews();
}
else
{
@@ -187,7 +187,7 @@ void VColorDocker::updateBgColor(const TQColor &c)
if( VOldObjectList == VNewObjectList )
{
m_fillCmd->changeFill(VFill(v));
- m_part->tqrepaintAllViews();
+ m_part->repaintAllViews();
}
else
{
diff --git a/karbon/dockers/vdocumentdocker.cc b/karbon/dockers/vdocumentdocker.cc
index b63ae9ae..84ed5200 100644
--- a/karbon/dockers/vdocumentdocker.cc
+++ b/karbon/dockers/vdocumentdocker.cc
@@ -680,7 +680,7 @@ VLayersTab::itemClicked( TQListViewItem* item, const TQPoint &, int col )
updateChildItems( layerItem );
- m_view->part()->tqrepaintAllViews();
+ m_view->part()->repaintAllViews();
}
}
else
@@ -708,7 +708,7 @@ VLayersTab::itemClicked( TQListViewItem* item, const TQPoint &, int col )
if( dynamic_cast<VGroup*>( objectItem->object() ) )
updateChildItems( objectItem );
- m_view->part()->tqrepaintAllViews();
+ m_view->part()->repaintAllViews();
}
}
}
@@ -745,7 +745,7 @@ VLayersTab::selectionChangedFromList()
}
m_view->selectionChanged();
- m_view->part()->tqrepaintAllViews();
+ m_view->part()->repaintAllViews();
}
void
@@ -926,7 +926,7 @@ VLayersTab::deleteItem()
if( cmd )
{
updatePreviews();
- m_view->part()->tqrepaintAllViews();
+ m_view->part()->repaintAllViews();
}
} // VLayersTab::deleteItem
@@ -1297,9 +1297,9 @@ VHistoryTab::commandExecuted( VCommand* command )
}
if ( found )
{
- m_history->tqrepaintItem( item );
+ m_history->repaintItem( item );
if ( item->tqparent() )
- m_history->tqrepaintItem( item->tqparent() );
+ m_history->repaintItem( item->tqparent() );
m_history->ensureItemVisible( item );
}
} // VHistoryTab::commandExecuted
diff --git a/karbon/dockers/vtransformdocker.cc b/karbon/dockers/vtransformdocker.cc
index 1616b47e..76c91de6 100644
--- a/karbon/dockers/vtransformdocker.cc
+++ b/karbon/dockers/vtransformdocker.cc
@@ -172,7 +172,7 @@ VTransformDocker::translate()
VTranslateCmd *cmd = new VTranslateCmd( &m_view->part()->document(), newX-rect.x(), newY-rect.y(), false );
m_view->part()->addCommand( cmd );
}
- m_part->tqrepaintAllViews( true );
+ m_part->repaintAllViews( true );
}
void
@@ -190,7 +190,7 @@ VTransformDocker::scale()
VScaleCmd *cmd = new VScaleCmd( &m_view->part()->document(), rect.topLeft(), newW/rect.width(), newH/rect.height(), false );
m_view->part()->addCommand( cmd );
}
- m_part->tqrepaintAllViews( true );
+ m_part->repaintAllViews( true );
}
void
@@ -219,7 +219,7 @@ VTransformDocker::shearX()
shear /= double(rect.width()*0.5);
VShearCmd *cmd = new VShearCmd( &m_view->part()->document(), rect.center(), shear, 0 );
m_view->part()->addCommand( cmd );
- m_part->tqrepaintAllViews( true );
+ m_part->repaintAllViews( true );
disconnect( m_shearX, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( shearX() ) );
m_shearX->changeValue(0.0);
connect( m_shearX, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( shearX() ) );
@@ -237,7 +237,7 @@ VTransformDocker::shearY()
shear /= double(rect.height()*0.5);
VShearCmd *cmd = new VShearCmd( &m_view->part()->document(), rect.center(), 0, shear );
m_view->part()->addCommand( cmd );
- m_part->tqrepaintAllViews( true );
+ m_part->repaintAllViews( true );
disconnect( m_shearY, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( shearY() ) );
m_shearY->changeValue(0.0);
connect( m_shearY, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( shearY() ) );
@@ -254,7 +254,7 @@ VTransformDocker::rotate()
KoPoint center = m_view->part()->document().selection()->boundingBox().center();
VRotateCmd *cmd = new VRotateCmd( &m_view->part()->document(), center, angle );
m_view->part()->addCommand( cmd );
- m_part->tqrepaintAllViews( true );
+ m_part->repaintAllViews( true );
disconnect( m_rotate, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( rotate() ) );
m_rotate->setValue(0.0);
connect( m_rotate, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( rotate() ) );
diff --git a/karbon/karbon_part.cc b/karbon/karbon_part.cc
index 88c06de3..90f10117 100644
--- a/karbon/karbon_part.cc
+++ b/karbon/karbon_part.cc
@@ -508,7 +508,7 @@ KarbonPart::addCommand( VCommand* cmd, bool tqrepaint )
setModified( true );
if( tqrepaint )
- tqrepaintAllViews();
+ repaintAllViews();
}
void
@@ -530,21 +530,21 @@ KarbonPart::clearHistory()
}
void
-KarbonPart::tqrepaintAllViews( bool tqrepaint )
+KarbonPart::repaintAllViews( bool tqrepaint )
{
TQPtrListIterator<KoView> itr( views() );
for( ; itr.current() ; ++itr )
- static_cast<KarbonView*>( itr.current() )->canvasWidget()->tqrepaintAll( tqrepaint );
+ static_cast<KarbonView*>( itr.current() )->canvasWidget()->repaintAll( tqrepaint );
}
void
-KarbonPart::tqrepaintAllViews( const KoRect &rect )
+KarbonPart::repaintAllViews( const KoRect &rect )
{
TQPtrListIterator<KoView> itr( views() );
for( ; itr.current() ; ++itr )
- static_cast<KarbonView*>( itr.current() )->canvasWidget()->tqrepaintAll( rect );
+ static_cast<KarbonView*>( itr.current() )->canvasWidget()->repaintAll( rect );
}
void
diff --git a/karbon/karbon_part.h b/karbon/karbon_part.h
index f83e09ac..85e9902f 100644
--- a/karbon/karbon_part.h
+++ b/karbon/karbon_part.h
@@ -108,8 +108,8 @@ public:
public slots:
/// tqrepaint all views attached to this koDocument
- void tqrepaintAllViews( bool tqrepaint = true );
- void tqrepaintAllViews( const KoRect& );
+ void repaintAllViews( bool tqrepaint = true );
+ void repaintAllViews( const KoRect& );
void slotDocumentRestored();
void slotCommandExecuted( VCommand * );
void slotUnitChanged( KoUnit::Unit unit );
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 )
diff --git a/karbon/karbon_view.h b/karbon/karbon_view.h
index 5b572a85..3e232d5f 100644
--- a/karbon/karbon_view.h
+++ b/karbon/karbon_view.h
@@ -113,8 +113,8 @@ public:
void setCursor( const TQCursor & );
- void tqrepaintAll( const KoRect & );
- void tqrepaintAll( bool = true );
+ void repaintAll( const KoRect & );
+ void repaintAll( bool = true );
void setPos( const KoPoint& p );
diff --git a/karbon/karbon_view_iface.cc b/karbon/karbon_view_iface.cc
index a1eabe05..5d919f8f 100644
--- a/karbon/karbon_view_iface.cc
+++ b/karbon/karbon_view_iface.cc
@@ -145,6 +145,6 @@ void KarbonViewIface::pathWhirlPinch()
void KarbonViewIface::tqrepaint()
{
- m_view->canvasWidget()->tqrepaintAll();
+ m_view->canvasWidget()->repaintAll();
}
diff --git a/karbon/tools/vgradienttool.cc b/karbon/tools/vgradienttool.cc
index 9c7274ea..7254e835 100644
--- a/karbon/tools/vgradienttool.cc
+++ b/karbon/tools/vgradienttool.cc
@@ -78,7 +78,7 @@ VGradientTool::activate()
connect( preview, TQT_SIGNAL( fillSelected() ), this, TQT_SLOT( targetChanged() ) );
connect( preview, TQT_SIGNAL( strokeSelected() ), this, TQT_SLOT( targetChanged() ) );
}
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
}
@@ -97,7 +97,7 @@ VGradientTool::deactivate()
disconnect( preview, TQT_SIGNAL( fillSelected() ), this, TQT_SLOT( targetChanged() ) );
disconnect( preview, TQT_SIGNAL( strokeSelected() ), this, TQT_SLOT( targetChanged() ) );
}
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
}
@@ -511,7 +511,7 @@ VGradientTool::keyReleased( TQt::Key key )
}
if( view() )
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
return true;
}
@@ -520,7 +520,7 @@ void
VGradientTool::targetChanged()
{
if( view() )
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
#include "vgradienttool.moc"
diff --git a/karbon/tools/vpatterntool.cc b/karbon/tools/vpatterntool.cc
index 01dfc460..1856672f 100644
--- a/karbon/tools/vpatterntool.cc
+++ b/karbon/tools/vpatterntool.cc
@@ -153,7 +153,7 @@ VPatternTool::activate()
connect( preview, TQT_SIGNAL( fillSelected() ), this, TQT_SLOT( targetChanged() ) );
connect( preview, TQT_SIGNAL( strokeSelected() ), this, TQT_SLOT( targetChanged() ) );
}
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
}
@@ -172,7 +172,7 @@ VPatternTool::deactivate()
disconnect( preview, TQT_SIGNAL( fillSelected() ), this, TQT_SLOT( targetChanged() ) );
disconnect( preview, TQT_SIGNAL( strokeSelected() ), this, TQT_SLOT( targetChanged() ) );
}
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
}
@@ -494,7 +494,7 @@ VPatternTool::keyReleased( TQt::Key key )
}
if( view() )
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
return true;
}
@@ -503,7 +503,7 @@ void
VPatternTool::targetChanged()
{
if( view() )
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
#include "vpatterntool.moc"
diff --git a/karbon/tools/vrotatetool.cc b/karbon/tools/vrotatetool.cc
index cc0a8c73..5f39a293 100644
--- a/karbon/tools/vrotatetool.cc
+++ b/karbon/tools/vrotatetool.cc
@@ -117,7 +117,7 @@ VRotateTool::cancel()
if ( isDragging() )
{
draw();
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
}
diff --git a/karbon/tools/vselectnodestool.cc b/karbon/tools/vselectnodestool.cc
index 4d1511ce..747357de 100644
--- a/karbon/tools/vselectnodestool.cc
+++ b/karbon/tools/vselectnodestool.cc
@@ -63,7 +63,7 @@ VSelectNodesTool::activate()
view()->part()->document().selection()->setSelectObjects( false );
// deselect all nodes
view()->part()->document().selection()->selectNodes( false );
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
VTool::activate();
}
@@ -141,7 +141,7 @@ VSelectNodesTool::mouseButtonPress()
recalc();
view()->part()->document().selection()->setState( VObject::edit );
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
view()->part()->document().selection()->setState( VObject::selected );
VSelection* selection = view()->part()->document().selection();
@@ -228,7 +228,7 @@ VSelectNodesTool::rightMouseButtonPress()
recalc();
view()->part()->document().selection()->setState( VObject::edit );
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
view()->part()->document().selection()->setState( VObject::selected );
draw();
@@ -259,7 +259,7 @@ VSelectNodesTool::keyReleased( TQt::Key key )
}
if( view() )
- view()->tqrepaintAll( selection->boundingBox() );
+ view()->repaintAll( selection->boundingBox() );
return true;
}
@@ -280,7 +280,7 @@ VSelectNodesTool::mouseButtonRelease()
selection->append( selrect.normalize(), false, true );
view()->selectionChanged();
- view()->part()->tqrepaintAllViews();
+ view()->part()->repaintAllViews();
m_state = normal;
}
@@ -297,7 +297,7 @@ VSelectNodesTool::rightMouseButtonRelease()
selection->take( selrect.normalize(), false, false );
view()->selectionChanged();
- view()->part()->tqrepaintAllViews();
+ view()->part()->repaintAllViews();
m_state = normal;
}
@@ -368,7 +368,7 @@ VSelectNodesTool::mouseDragRelease()
false, false );
}
view()->selectionChanged();
- view()->part()->tqrepaintAllViews();
+ view()->part()->repaintAllViews();
m_state = normal;
}
}
@@ -381,7 +381,7 @@ VSelectNodesTool::cancel()
{
draw();
m_state = normal;
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
}
diff --git a/karbon/tools/vselecttool.cc b/karbon/tools/vselecttool.cc
index 0609d772..751c0ebe 100644
--- a/karbon/tools/vselecttool.cc
+++ b/karbon/tools/vselecttool.cc
@@ -91,7 +91,7 @@ VSelectTool::activate()
view()->part()->document().selection()->setSelectObjects();
view()->part()->document().selection()->setState( VObject::selected );
view()->part()->document().selection()->selectNodes();
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
updateStatusBar();
}
@@ -190,7 +190,7 @@ VSelectTool::mouseButtonPress()
// undraw selection bounding box
view()->part()->document().selection()->setState( VObject::edit );
- view()->tqrepaintAll( rect );
+ view()->repaintAll( rect );
view()->part()->document().selection()->setState( VObject::selected );
draw();
@@ -208,7 +208,7 @@ VSelectTool::rightMouseButtonPress()
// undraw selection bounding box
view()->part()->document().selection()->setState( VObject::edit );
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
view()->part()->document().selection()->setState( VObject::selected );
draw();
@@ -238,7 +238,7 @@ VSelectTool::rightMouseButtonRelease()
if( selector.visit( view()->part()->document() ) )
view()->part()->document().selection()->take( *newSelection.last() );
- view()->part()->tqrepaintAllViews( view()->part()->document().selection()->boundingBox() );
+ view()->part()->repaintAllViews( view()->part()->document().selection()->boundingBox() );
view()->selectionChanged();
updateStatusBar();
@@ -300,7 +300,7 @@ VSelectTool::mouseButtonRelease()
view()->part()->document().selection()->append( newSelection.last() );
}
- view()->part()->tqrepaintAllViews( view()->part()->document().selection()->boundingBox() );
+ view()->part()->repaintAllViews( view()->part()->document().selection()->boundingBox() );
view()->selectionChanged();
updateStatusBar();
@@ -322,7 +322,7 @@ VSelectTool::mouseDragRelease()
view()->part()->document().selection()->append( selRect );
else
view()->part()->document().selection()->take( selRect );
- view()->part()->tqrepaintAllViews( selRect );
+ view()->part()->repaintAllViews( selRect );
}
else if( m_state == moving )
{
@@ -399,7 +399,7 @@ VSelectTool::keyReleased( TQt::Key key )
}
if( view() )
- view()->tqrepaintAll( selection->boundingBox() );
+ view()->repaintAll( selection->boundingBox() );
return true;
}
@@ -476,7 +476,7 @@ VSelectTool::cancel()
{
draw();
m_state = normal;
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
}
diff --git a/karbon/tools/vsheartool.cc b/karbon/tools/vsheartool.cc
index 59315cd8..19e11161 100644
--- a/karbon/tools/vsheartool.cc
+++ b/karbon/tools/vsheartool.cc
@@ -136,7 +136,7 @@ VShearTool::cancel()
if ( isDragging() )
{
draw();
- view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
}
diff --git a/karbon/tools/vtexttool.cc b/karbon/tools/vtexttool.cc
index ace6c8ce..fda8e9fe 100644
--- a/karbon/tools/vtexttool.cc
+++ b/karbon/tools/vtexttool.cc
@@ -657,7 +657,7 @@ void
VTextTool::drawEditedText()
{
if( m_editedText )
- view()->tqrepaintAll( m_editedText->boundingBox() );
+ view()->repaintAll( m_editedText->boundingBox() );
}
void
@@ -795,10 +795,10 @@ VTextTool::textChanged()
{
// hide the original text if we are changing it
m_text->setState( VObject::hidden );
- view()->tqrepaintAll( m_text->boundingBox() );
+ view()->repaintAll( m_text->boundingBox() );
}
else
- view()->tqrepaintAll( m_editedText->boundingBox() );
+ view()->repaintAll( m_editedText->boundingBox() );
m_editedText->setText( m_optionsWidget->text() );
m_editedText->setFont( m_optionsWidget->font() );
@@ -853,7 +853,7 @@ VTextTool::accept()
}
view()->part()->addCommand( cmd, true );
- view()->part()->tqrepaintAllViews();
+ view()->part()->repaintAllViews();
m_creating = false;
}
@@ -864,7 +864,7 @@ VTextTool::cancel()
{
// show original text if we canceled changing it
m_text->setState( VObject::selected );
- view()->tqrepaintAll( m_text->boundingBox() );
+ view()->repaintAll( m_text->boundingBox() );
}
else
drawPathCreation();
@@ -881,7 +881,7 @@ VTextTool::editBasePath()
view()->part()->document().selection()->clear();
view()->part()->document().selection()->append( &m_editedText->basePath() );
- view()->part()->tqrepaintAllViews();
+ view()->part()->repaintAllViews();
}
void
diff --git a/karbon/widgets/vcanvas.cc b/karbon/widgets/vcanvas.cc
index 28b272ae..96db15d8 100644
--- a/karbon/widgets/vcanvas.cc
+++ b/karbon/widgets/vcanvas.cc
@@ -152,7 +152,7 @@ VCanvas::eventFilter( TQObject* object, TQEvent* event )
}
-// This causes a tqrepaint normally, so just overwriting it omits the tqrepainting
+// This causes a tqrepaint normally, so just overwriting it omits the repainting
void
VCanvas::focusInEvent( TQFocusEvent * )
{
@@ -328,14 +328,14 @@ VCanvas::drawDocument( TQPainter* /*painter*/, const KoRect&, bool drawVObjects
}
void
-VCanvas::tqrepaintAll( bool drawVObjects )
+VCanvas::repaintAll( bool drawVObjects )
{
drawDocument( 0, KoRect( 0, 0, width(), height() ), drawVObjects );
}
-/// tqrepaints just a rect area (no scrolling)
+/// repaints just a rect area (no scrolling)
void
-VCanvas::tqrepaintAll( const KoRect &r )
+VCanvas::repaintAll( const KoRect &r )
{
drawDocument( 0, r );
}
diff --git a/karbon/widgets/vcanvas.h b/karbon/widgets/vcanvas.h
index 09dc07d3..61d9b606 100644
--- a/karbon/widgets/vcanvas.h
+++ b/karbon/widgets/vcanvas.h
@@ -39,8 +39,8 @@ public:
VCanvas( TQWidget *tqparent, KarbonView* view, KarbonPart* part );
virtual ~VCanvas();
- void tqrepaintAll( const KoRect & );
- void tqrepaintAll( bool drawVObjects = true );
+ void repaintAll( const KoRect & );
+ void repaintAll( bool drawVObjects = true );
TQPixmap *pixmap() { return m_pixmap; }