diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:36:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-04 14:19:15 +0900 |
| commit | fb6b4d204d1155fa3a1bc7a128873340db1524f7 (patch) | |
| tree | 58fbd21cd52695207154b1b40d0c9d0f53db19b1 /karbon/widgets/vgradienttabwidget.cpp | |
| parent | d7ae9fb514226c126e04cfe4f34800beb9f4ea19 (diff) | |
| download | koffice-fb6b4d204d1155fa3a1bc7a128873340db1524f7.tar.gz koffice-fb6b4d204d1155fa3a1bc7a128873340db1524f7.zip | |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'karbon/widgets/vgradienttabwidget.cpp')
| -rw-r--r-- | karbon/widgets/vgradienttabwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/karbon/widgets/vgradienttabwidget.cpp b/karbon/widgets/vgradienttabwidget.cpp index 5c57efaba..1416262da 100644 --- a/karbon/widgets/vgradienttabwidget.cpp +++ b/karbon/widgets/vgradienttabwidget.cpp @@ -43,7 +43,7 @@ VGradientListItem::VGradientListItem( const VGradient& gradient, TQString filena m_gradient = new VGradient( gradient ); m_pixmap.resize( 200, 16 ); - VKoPainter gp( TQT_TQPAINTDEVICE(&m_pixmap), m_pixmap.width(), m_pixmap.height() ); + VKoPainter gp( &m_pixmap, m_pixmap.width(), m_pixmap.height() ); gp.setRasterOp( TQt::XorROP ); gp.newPath(); VGradient grad( *m_gradient ); @@ -114,7 +114,7 @@ VGradientPreview::~VGradientPreview() void VGradientPreview::paintEvent( TQPaintEvent* ) { TQPixmap pixmap( width(), height() ); - VKoPainter gp( TQT_TQPAINTDEVICE(&pixmap), width(), height() ); + VKoPainter gp( &pixmap, width(), height() ); gp.setRasterOp( TQt::XorROP ); gp.newPath(); VGradient gradient( *m_gradient ); |
