#include <QtGui/qpaintdevice.h>
#include <QtGui/qcolor.h>
#include <QtCore/qnamespace.h>
#include <QtCore/qstring.h>
#include <QtGui/qimage.h>
Include dependency graph for qpixmap.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | QPixmap |
| The QPixmap class is an off-screen image representation that can be used as a paint device. More... | |
Functions | |
| Q_GUI_EXPORT QDataStream & | operator<< (QDataStream &, const QPixmap &) |
| Q_GUI_EXPORT QDataStream & | operator>> (QDataStream &, QPixmap &) |
| Q_GUI_EXPORT QDataStream& operator<< | ( | QDataStream & | , | |
| const QPixmap & | ||||
| ) | [related] |
| Q_GUI_EXPORT QDataStream& operator>> | ( | QDataStream & | , | |
| QPixmap & | ||||
| ) |
Definition at line 624 of file qpixmap_raster.cpp.
00625 { 00626 QImage img; 00627 s >> img; 00628 if (pixmap.data->type == QPixmap::BitmapType) 00629 pixmap = QBitmap::fromImage(img); 00630 else 00631 pixmap = QPixmap::fromImage(img); 00632 return s; 00633 }
1.5.1