summaryrefslogtreecommitdiffstats
path: root/karbon/render/vqpainter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/render/vqpainter.cc')
-rw-r--r--karbon/render/vqpainter.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/karbon/render/vqpainter.cc b/karbon/render/vqpainter.cc
index 7f380287..51819ae3 100644
--- a/karbon/render/vqpainter.cc
+++ b/karbon/render/vqpainter.cc
@@ -81,9 +81,9 @@ VTQPainter::end()
}
const TQWMatrix
-VTQPainter::tqworldMatrix()
+VTQPainter::worldMatrix()
{
- return m_painter->tqworldMatrix();
+ return m_painter->worldMatrix();
}
void
@@ -153,13 +153,13 @@ VTQPainter::fillPath()
{
// we probably dont need filling for qpainter
//m_index = 0;
- m_painter->tqdrawPolygon( m_pa, FALSE, 0, m_index );
+ m_painter->drawPolygon( m_pa, FALSE, 0, m_index );
}
void
VTQPainter::strokePath()
{
- m_painter->tqdrawPolyline( m_pa, 0, m_index );
+ m_painter->drawPolyline( m_pa, 0, m_index );
m_index = 0;
}
@@ -265,7 +265,7 @@ VTQPainter::drawRect( const KoRect &rect )
void
VTQPainter::drawImage( const TQImage &image, const TQWMatrix &affine )
{
- TQWMatrix matrix = m_painter->tqworldMatrix();
+ TQWMatrix matrix = m_painter->worldMatrix();
double m11 = affine.m11() * matrix.m11() * m_zoomFactor + affine.m12() * matrix.m21();
double m12 = (affine.m11() * matrix.m12() + affine.m12() * matrix.m22() ) * m_zoomFactor;