diff options
Diffstat (limited to 'karbon/dockers/vdocumentdocker.cpp')
-rw-r--r-- | karbon/dockers/vdocumentdocker.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/karbon/dockers/vdocumentdocker.cpp b/karbon/dockers/vdocumentdocker.cpp index cf02d2cd..c999a059 100644 --- a/karbon/dockers/vdocumentdocker.cpp +++ b/karbon/dockers/vdocumentdocker.cpp @@ -175,7 +175,7 @@ VDocumentPreview::paintEvent( TQPaintEvent* ) { delete m_docpixmap; m_docpixmap = new TQPixmap( width(), height() ); - VKoPainter p( TQT_TQPAINTDEVICE(m_docpixmap), width(), height() ); + VKoPainter p( m_docpixmap, width(), height() ); p.clear( TQColor( 195, 194, 193 ) ); p.setWorldMatrix( TQWMatrix( 1, 0, 0, -1, xoffset * scaleFactor, height() - yoffset * scaleFactor ) ); p.setZoomFactor( scaleFactor ); @@ -334,7 +334,7 @@ VObjectListViewItem::update() // draw thumb preview (16x16) TQPixmap preview; preview.resize( 16, 16 ); - VKoPainter p( TQT_TQPAINTDEVICE(&preview), 16, 16, false ); + VKoPainter p( &preview, 16, 16, false ); // Y mirroring TQWMatrix mat; mat.scale( 1, -1 ); @@ -390,7 +390,7 @@ VLayerListViewItem::update() // draw thumb preview (16x16) TQPixmap preview; preview.resize( 16, 16 ); - VKoPainter p( TQT_TQPAINTDEVICE(&preview), 16, 16, false ); + VKoPainter p( &preview, 16, 16, false ); // Y mirroring TQWMatrix mat; mat.scale( 1, -1 ); |