46 #include <QtGui/private/qapplication_p.h> 52 if (lowerCaseResource ==
"display")
54 if (lowerCaseResource ==
"surface") {
55 return ((
QWaylandWindow *) widget->platformWindow())->wl_surface();
69 screen =
static_cast<QWaylandScreen *
>(QApplicationPrivate::platformIntegration()->screens()[0]);
QPointer< QWidget > widget
The QByteArray class provides an array of bytes.
QByteArray toLower() const
Returns a lowercase copy of the byte array.
QWaylandDisplay * display() const
void * nativeResourceForWidget(const QByteArray &resourceString, QWidget *widget)
static QWaylandScreen * qPlatformScreenForWidget(QWidget *widget)
struct wl_display * wl_display() const