summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqpixmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqpixmap.cpp')
-rw-r--r--qtinterface/tqpixmap.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/qtinterface/tqpixmap.cpp b/qtinterface/tqpixmap.cpp
index 31359db..a7f52d2 100644
--- a/qtinterface/tqpixmap.cpp
+++ b/qtinterface/tqpixmap.cpp
@@ -21,3 +21,11 @@ Boston, MA 02110-1301, USA.
#include <tqt.h>
#include <tqpixmap.h>
+
+#ifdef USE_QT4
+
+bool QPixmap::convertFromImage(const QImage &img, int flags) {
+ return convertFromImage(img, (Qt::ImageConversionFlags)flags);
+}
+
+#endif // USE_QT4 \ No newline at end of file