summaryrefslogtreecommitdiffstats
path: root/karbon/karbon_view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/karbon_view.cpp')
-rw-r--r--karbon/karbon_view.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/karbon/karbon_view.cpp b/karbon/karbon_view.cpp
index 20e74fce..64fc0e53 100644
--- a/karbon/karbon_view.cpp
+++ b/karbon/karbon_view.cpp
@@ -177,8 +177,8 @@ KarbonView::KarbonView( KarbonPart* p, TQWidget* parent, const char* name )
// set up factory
m_painterFactory = new VPainterFactory;
- m_painterFactory->setPainter( TQT_TQPAINTDEVICE(canvasWidget()->pixmap()), width(), height() );
- m_painterFactory->setEditPainter( TQT_TQPAINTDEVICE(canvasWidget()->viewport()), width(), height() );
+ m_painterFactory->setPainter( canvasWidget()->pixmap(), width(), height() );
+ m_painterFactory->setEditPainter( canvasWidget()->viewport(), width(), height() );
if( shell() )
{
@@ -759,9 +759,9 @@ KarbonView::viewModeChanged()
canvasWidget()->pixmap()->fill();
if( m_viewAction->currentItem() == 1 )
- m_painterFactory->setWireframePainter( TQT_TQPAINTDEVICE(canvasWidget()->pixmap()), width(), height() );
+ m_painterFactory->setWireframePainter( canvasWidget()->pixmap(), width(), height() );
else
- m_painterFactory->setPainter( TQT_TQPAINTDEVICE(canvasWidget()->pixmap()), width(), height() );
+ m_painterFactory->setPainter( canvasWidget()->pixmap(), width(), height() );
m_canvas->repaintAll();
}