diff options
Diffstat (limited to 'kig/filters')
-rw-r--r-- | kig/filters/exporter.cpp | 2 | ||||
-rw-r--r-- | kig/filters/svgexporter.cpp | 2 |
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 ); |