summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqpainter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-06 19:46:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-06 19:46:53 +0000
commit0630a9067e5db373c6fd33bbe8145e29f18e9a54 (patch)
treeaad17078eced96ff4bd82e7d519cba81ad8ebd65 /qtinterface/tqpainter.cpp
parent6adef930fe704aa9ccf619c49d996c8185bb11bb (diff)
downloadtqtinterface-0630a9067e5db373c6fd33bbe8145e29f18e9a54.tar.gz
tqtinterface-0630a9067e5db373c6fd33bbe8145e29f18e9a54.zip
Additional Qt4 support...
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1160009 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/tqpainter.cpp')
-rw-r--r--qtinterface/tqpainter.cpp4
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