42 #ifndef QNATIVEIMAGE_P_H 43 #define QNATIVEIMAGE_P_H 61 #elif defined(Q_WS_X11) 62 #include <private/qt_x11_p.h> 64 #elif defined(Q_WS_MAC) 65 #include <private/qt_mac_p.h> 79 inline int width()
const;
91 #elif defined(Q_WS_X11) && !defined(QT_NO_MITSHM) 94 XShmSegmentInfo xshminfo;
96 #elif defined(Q_WS_MAC) 109 #endif // QNATIVEIMAGE_P_H Format
The following image formats are available in Qt.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
QNativeImage(int width, int height, QImage::Format format, bool isTextBuffer=false, QWidget *widget=0)
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
static QImage::Format systemFormat()
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QImage class provides a hardware-independent image representation that allows direct access to th...
int width() const
Returns the width of the image.
int height() const
Returns the height of the image.
struct CGContext * CGContextRef