summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqpixmap.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-07 19:25:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-07 19:25:16 +0000
commit77ead0ba5f91ad6fd04fca1ab1e2b6847bf88136 (patch)
tree82bf3c5b668e0d2f2f3649421e2934a1b9896d53 /qtinterface/tqpixmap.cpp
parent0630a9067e5db373c6fd33bbe8145e29f18e9a54 (diff)
downloadtqtinterface-77ead0ba5f91ad6fd04fca1ab1e2b6847bf88136.tar.gz
tqtinterface-77ead0ba5f91ad6fd04fca1ab1e2b6847bf88136.zip
Yet more Qt4 API extensions...
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1160323 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/tqpixmap.cpp')
-rw-r--r--qtinterface/tqpixmap.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qtinterface/tqpixmap.cpp b/qtinterface/tqpixmap.cpp
index 1140a39..7e26883 100644
--- a/qtinterface/tqpixmap.cpp
+++ b/qtinterface/tqpixmap.cpp
@@ -53,6 +53,10 @@ QPixmap::QPixmap( int w, int h, int depth, Optimization optim ) {
QPixmap(w, h);
}
+QPixmap::operator QPixmap *() const {
+ return const_cast<QPixmap *>(this);
+}
+
const QBitmap *QPixmap::ptrmask() const {
QBitmap pm = mask();
QBitmap *pr = &pm;