diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:32:11 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:32:11 -0600 |
commit | 94844816550ad672ccfcdc25659c625546239998 (patch) | |
tree | e35fc60fd736c645d59f6408af032774ad8023d3 /kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp | |
parent | 2a811c38c74c03648ecf857e566c44483cbad706 (diff) | |
download | koffice-94844816550ad672ccfcdc25659c625546239998.tar.gz koffice-94844816550ad672ccfcdc25659c625546239998.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp')
-rw-r--r-- | kivio/kiviopart/kiviosdk/kivio_screen_painter.cpp | 8 |
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); } |