42 #ifndef QWINDOWSURFACE_COCOA_H 43 #define QWINDOWSURFACE_COCOA_H 45 #include <Cocoa/Cocoa.h> 50 #include <QtGui/private/qwindowsurface_p.h>
QPaintDevice * paintDevice()
Implement this function to return the appropriate paint device.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
virtual QPoint offset(const QWidget *widget) const
Returns the offset of widget in the coordinates of this window surface.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QImage class provides a hardware-independent image representation that allows direct access to th...
The QRegion class specifies a clip region for a painter.
QCocoaWindow * m_cocoaWindow
The QWindowSurface class provides the drawing area for top-level windows.
void flush(QWidget *widget, const QRegion ®ion, const QPoint &offset)
Flushes the given region from the specified widget onto the screen.
The QPoint class defines a point in the plane using integer precision.
QCocoaWindowSurface(QWidget *window, WId wid)
The QSize class defines the size of a two-dimensional object using integer point precision.
QWidget * window() const
Returns a pointer to the top-level window associated with this surface.
void resize(const QSize &size)