7#include <QSharedDataPointer>
11typedef unsigned long XID;
14typedef struct _XDisplay Display;
46 static int appDepth(
int screen = -1);
47 static int appCells(
int screen = -1);
53 static int appDpiX(
int screen = -1);
54 static int appDpiY(
int screen = -1);
57 QSharedDataPointer<QXcbX11InfoData> d;
void beginPaint(const QRegion ®ion) override
This function is called before painting onto the surface begins, with the region in which the paintin...
QXcbNativeBackingStore(QWindow *window)
void flush(QWindow *window, const QRegion ®ion, const QPoint &offset) override
Flushes the given region from the specified window.
QImage toImage() const override
Implemented in subclasses to return the content of the backingstore as a QImage.
~QXcbNativeBackingStore()
QPaintDevice * paintDevice() override
Implement this function to return the appropriate paint device.
void resize(const QSize &size, const QRegion &staticContents) override
bool scroll(const QRegion &area, int dx, int dy) override
Scrolls the given area dx pixels to the right and dy downward; both dx and dy may be negative.
static bool appDefaultVisual(int screen=-1)
static QXcbX11Info fromScreen(int screen)
static Colormap appColormap(int screen=-1)
static Window appRootWindow(int screen=-1)
static bool appDefaultColormap(int screen=-1)
friend void qt_x11SetScreen(QPixmap &pixmap, int screen)
static int appDepth(int screen=-1)
void setVisual(void *visual)
static Display * display()
Colormap colormap() const
static int appDpiY(int screen=-1)
QXcbX11Info & operator=(const QXcbX11Info &other)
static int appCells(int screen=-1)
static void * appVisual(int screen=-1)
QXcbX11Info(const QXcbX11Info &other)
static int appDpiX(int screen=-1)
Pixmap qt_x11PixmapHandle(const QPixmap &pixmap)
Picture qt_x11PictureHandle(const QPixmap &pixmap)
QX11PlatformPixmap * qt_x11Pixmap(const QPixmap &pixmap)
int qt_x11SetDefaultScreen(int screen)
QList< XRectangle > qt_region_to_xrectangles(const QRegion &r)
struct _FcPattern FcPattern
void qt_xcb_native_x11_info_init(QXcbConnection *conn)