From c9dc3907763cbf0b0e6164d793291bd2659f1534 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 4 Aug 2010 01:44:13 +0000 Subject: Now compiles kdelibs/dcop folder properly... git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1158880 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- qtinterface/tqpixmap.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'qtinterface/tqpixmap.cpp') 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 #include + +#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 -- cgit v1.2.1