summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp')
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp b/kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp
index 07f005fa..307a86e3 100644
--- a/kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp
@@ -23,9 +23,9 @@
#include <tqimage.h>
#include <tqpen.h>
-#include <tqbrush.h>
+#include <brush.h>
#include <tqsimplerichtext.h>
-#include <tqpalette.h>
+#include <palette.h>
#include <kdebug.h>
@@ -549,7 +549,7 @@ void KivioScreenPainter::drawPolyline( TQPointArray &pArray )
m_pPainter->setPen(m_pLineStyle->pen(1.0f));
m_pPainter->setBrush( TQBrush::NoBrush );
- m_pPainter->tqdrawPolyline( pArray, 0, pArray.size() );
+ m_pPainter->drawPolyline( pArray, 0, pArray.size() );
}
void KivioScreenPainter::drawPolygon( TQPointArray &pArray )
@@ -586,7 +586,7 @@ void KivioScreenPainter::drawPolygon( TQPointArray &pArray )
m_pPainter->setPen(m_pLineStyle->pen(1.0f));
m_pPainter->setBrush(b);
- m_pPainter->tqdrawPolygon( pArray, true );
+ m_pPainter->drawPolygon( pArray, true );
m_pPainter->setBrushOrigin(0, 0);
}