summaryrefslogtreecommitdiffstats
path: root/kig/filters
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:48:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 22:54:07 +0900
commitf08f58fdc18573fbdf637e872a0a4646be58628c (patch)
tree32f6f2b36cfb27b11ed74eafef1933fc3fddf3bd /kig/filters
parent82c5609d05e453863a10f1d77a925dc1c7abdd31 (diff)
downloadtdeedu-f08f58fdc18573fbdf637e872a0a4646be58628c.tar.gz
tdeedu-f08f58fdc18573fbdf637e872a0a4646be58628c.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kig/filters')
-rw-r--r--kig/filters/exporter.cpp2
-rw-r--r--kig/filters/svgexporter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kig/filters/exporter.cpp b/kig/filters/exporter.cpp
index 32b25f01..a64bab01 100644
--- a/kig/filters/exporter.cpp
+++ b/kig/filters/exporter.cpp
@@ -162,7 +162,7 @@ void ImageExporter::run( const KigPart& doc, KigWidget& w )
TQPixmap img( TQSize( width, height ) );
img.fill( TQt::white );
- KigPainter p( ScreenInfo( w.screenInfo().shownRect(), img.rect() ), TQT_TQPAINTDEVICE(&img), doc.document() );
+ KigPainter p( ScreenInfo( w.screenInfo().shownRect(), img.rect() ), &img, doc.document() );
p.setWholeWinOverlay();
p.drawGrid( doc.document().coordinateSystem(), showgrid, showaxes );
// FIXME: show the selections ?
diff --git a/kig/filters/svgexporter.cpp b/kig/filters/svgexporter.cpp
index 2fd53756..54e9c5f1 100644
--- a/kig/filters/svgexporter.cpp
+++ b/kig/filters/svgexporter.cpp
@@ -91,7 +91,7 @@ void SVGExporter::run( const KigPart& part, KigWidget& w )
TQPicture pic;
pic.setBoundingRect( r );
KigPainter* p = new KigPainter( ScreenInfo( w.screenInfo().shownRect(), viewrect ),
- TQT_TQPAINTDEVICE(&pic), part.document() );
+ &pic, part.document() );
// p->setWholeWinOverlay();
// p->setBrushColor( TQt::white );
// p->setBrushStyle( TQt::SolidPattern );