src/gui/image/qpixmapdatafactory.cpp
changeset 33 3e2da88830cd
parent 18 2f34d5167611
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
    51 # include <private/qpixmap_raster_p.h>
    51 # include <private/qpixmap_raster_p.h>
    52 #endif
    52 #endif
    53 #ifdef Q_WS_MAC
    53 #ifdef Q_WS_MAC
    54 # include <private/qpixmap_mac_p.h>
    54 # include <private/qpixmap_mac_p.h>
    55 #endif
    55 #endif
    56 #ifdef Q_WS_S60
    56 #ifdef Q_OS_SYMBIAN
    57 # include <private/qpixmap_s60_p.h>
    57 # include <private/qpixmap_s60_p.h>
    58 #endif
    58 #endif
    59 
    59 
    60 #include "private/qapplication_p.h"
    60 #include "private/qapplication_p.h"
    61 #include "private/qgraphicssystem_p.h"
    61 #include "private/qgraphicssystem_p.h"
    80     return new QX11PixmapData(type);
    80     return new QX11PixmapData(type);
    81 #elif defined(Q_WS_WIN)
    81 #elif defined(Q_WS_WIN)
    82     return new QRasterPixmapData(type);
    82     return new QRasterPixmapData(type);
    83 #elif defined(Q_WS_MAC)
    83 #elif defined(Q_WS_MAC)
    84     return new QMacPixmapData(type);
    84     return new QMacPixmapData(type);
    85 #elif defined(Q_WS_S60)
    85 #elif defined(Q_OS_SYMBIAN)
    86     return new QS60PixmapData(type);    
    86     return new QS60PixmapData(type);    
    87 #else
    87 #else
    88 #error QSimplePixmapDataFactory::create() not implemented
    88 #error QSimplePixmapDataFactory::create() not implemented
    89 #endif
    89 #endif
    90 }
    90 }