diff options
author | Michele Calgaro <[email protected]> | 2023-12-03 00:36:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-04 14:19:15 +0900 |
commit | fb6b4d204d1155fa3a1bc7a128873340db1524f7 (patch) | |
tree | 58fbd21cd52695207154b1b40d0c9d0f53db19b1 /karbon/dockers | |
parent | d7ae9fb514226c126e04cfe4f34800beb9f4ea19 (diff) | |
download | koffice-fb6b4d204d1155fa3a1bc7a128873340db1524f7.tar.gz koffice-fb6b4d204d1155fa3a1bc7a128873340db1524f7.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'karbon/dockers')
-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 ); |