equal
deleted
inserted
replaced
39 ** |
39 ** |
40 ****************************************************************************/ |
40 ****************************************************************************/ |
41 |
41 |
42 #include "qgraphicssystem_raster_p.h" |
42 #include "qgraphicssystem_raster_p.h" |
43 |
43 |
|
44 #ifdef Q_OS_SYMBIAN |
|
45 #include "private/qpixmap_s60_p.h" |
|
46 #include "private/qwindowsurface_s60_p.h" |
|
47 #else |
44 #include "private/qpixmap_raster_p.h" |
48 #include "private/qpixmap_raster_p.h" |
45 #include "private/qwindowsurface_raster_p.h" |
49 #include "private/qwindowsurface_raster_p.h" |
|
50 #endif |
46 |
51 |
47 QT_BEGIN_NAMESPACE |
52 QT_BEGIN_NAMESPACE |
48 |
53 |
49 QPixmapData *QRasterGraphicsSystem::createPixmapData(QPixmapData::PixelType type) const |
54 QPixmapData *QRasterGraphicsSystem::createPixmapData(QPixmapData::PixelType type) const |
50 { |
55 { |
|
56 #ifdef Q_OS_SYMBIAN |
|
57 return new QS60PixmapData(type); |
|
58 #else |
51 return new QRasterPixmapData(type); |
59 return new QRasterPixmapData(type); |
|
60 #endif |
52 } |
61 } |
53 |
62 |
54 QWindowSurface *QRasterGraphicsSystem::createWindowSurface(QWidget *widget) const |
63 QWindowSurface *QRasterGraphicsSystem::createWindowSurface(QWidget *widget) const |
55 { |
64 { |
|
65 #ifdef Q_OS_SYMBIAN |
|
66 return new QS60WindowSurface(widget); |
|
67 #else |
56 return new QRasterWindowSurface(widget); |
68 return new QRasterWindowSurface(widget); |
|
69 #endif |
57 } |
70 } |
58 |
71 |
59 QT_END_NAMESPACE |
72 QT_END_NAMESPACE |