summaryrefslogtreecommitdiffstats
path: root/karbon/render/vqpainter.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /karbon/render/vqpainter.cc
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
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 51819ae3..7f380287 100644
--- a/karbon/render/vqpainter.cc
+++ b/karbon/render/vqpainter.cc
@@ -81,9 +81,9 @@ VTQPainter::end()
}
const TQWMatrix
-VTQPainter::worldMatrix()
+VTQPainter::tqworldMatrix()
{
- return m_painter->worldMatrix();
+ return m_painter->tqworldMatrix();
}
void
@@ -153,13 +153,13 @@ VTQPainter::fillPath()
{
// we probably dont need filling for qpainter
//m_index = 0;
- m_painter->drawPolygon( m_pa, FALSE, 0, m_index );
+ m_painter->tqdrawPolygon( m_pa, FALSE, 0, m_index );
}
void
VTQPainter::strokePath()
{
- m_painter->drawPolyline( m_pa, 0, m_index );
+ m_painter->tqdrawPolyline( 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->worldMatrix();
+ TQWMatrix matrix = m_painter->tqworldMatrix();
double m11 = affine.m11() * matrix.m11() * m_zoomFactor + affine.m12() * matrix.m21();
double m12 = (affine.m11() * matrix.m12() + affine.m12() * matrix.m22() ) * m_zoomFactor;