diff options
Diffstat (limited to 'qtinterface/tqpainter.cpp')
-rw-r--r-- | qtinterface/tqpainter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qtinterface/tqpainter.cpp b/qtinterface/tqpainter.cpp index c1281a1..26a5ba9 100644 --- a/qtinterface/tqpainter.cpp +++ b/qtinterface/tqpainter.cpp @@ -29,4 +29,8 @@ void Q3Painter::setRasterOp( Qt::RasterOp ) { #warning "setRasterOp is unimplemented!" } +Q3Painter::Q3Painter( const QPaintDevice * pdev, bool unclipped ) : QPainter(const_cast<QPaintDevice *>(pdev)) { + setClipping(!unclipped); +} + #endif // USE_QT4
\ No newline at end of file |