summaryrefslogtreecommitdiffstats
path: root/karbon/dockers/vtransformdocker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/dockers/vtransformdocker.cc')
-rw-r--r--karbon/dockers/vtransformdocker.cc10
1 files changed, 5 insertions, 5 deletions
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() ) );