QWaylandIviApplication Class
The QWaylandIviApplication class is an extension for embedded-style user interfaces. More...
| Header: | #include <QWaylandIviApplication> |
| qmake: | QT += waylandcompositor |
| Since: | Qt 5.8 |
| Inherits: | QWaylandCompositorExtensionTemplate |
This class was introduced in Qt 5.8.
Public Functions
| QWaylandIviApplication(QWaylandCompositor *compositor) | |
| QWaylandIviApplication() |
Reimplemented Public Functions
| virtual void | initialize() override |
- 30 public functions inherited from QObject
Signals
| void | iviSurfaceCreated(QWaylandIviSurface *iviSurface) |
| void | iviSurfaceRequested(QWaylandSurface *surface, uint iviId, const QWaylandResource &resource) |
- 2 signals inherited from QObject
Static Public Members
| const struct wl_interface * | interface() |
- 9 static public members inherited from QObject
Related Non-Members
| typedef | QObjectList |
| QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
| T | qobject_cast(QObject *object) |
| T | qobject_cast(const QObject *object) |
Macros
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| Q_CLASSINFO(Name, Value) | |
| Q_DISABLE_COPY(Class) | |
| Q_DISABLE_COPY_MOVE(Class) | |
| Q_DISABLE_MOVE(Class) | |
| Q_EMIT | |
| Q_ENUM(...) | |
| Q_ENUM_NS(...) | |
| Q_FLAG(...) | |
| Q_FLAG_NS(...) | |
| Q_GADGET | |
| Q_INTERFACES(...) | |
| Q_INVOKABLE | |
| Q_NAMESPACE | |
| Q_OBJECT | |
| Q_PROPERTY(...) | |
| Q_REVISION | |
| Q_SET_OBJECT_NAME(Object) | |
| Q_SIGNAL | |
| Q_SIGNALS | |
| Q_SLOT | |
| Q_SLOTS |
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 9 protected functions inherited from QObject
Detailed Description
The QWaylandIviApplication extension provides a way to associate an QWaylandIviSurface with a regular Wayland surface. Using the QWaylandIviSurface interface, the client can identify itself by giving an ivi id, and the compositor can ask the client to resize.
QWaylandIviApplication corresponds to the Wayland ivi_application interface.
Member Function Documentation
QWaylandIviApplication::QWaylandIviApplication(QWaylandCompositor *compositor)
Constructs a QWaylandIviApplication object for the provided compositor.
QWaylandIviApplication::QWaylandIviApplication()
Constructs a QWaylandIviApplication object.
[signal] void QWaylandIviApplication::iviSurfaceCreated(QWaylandIviSurface *iviSurface)
This signal is emitted when an IviSurface, iviSurface, has been created.
[signal] void QWaylandIviApplication::iviSurfaceRequested(QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)
This signal is emitted when the client has requested an ivi_surface to be associated with surface, which is identified by iviId. The handler for this signal is expected to create the ivi surface and initialize it within the scope of the signal emission. If no ivi surface is created, a default one will be created instead.
[override virtual] void QWaylandIviApplication::initialize()
Initializes the shell extension.
[static] const struct wl_interface *QWaylandIviApplication::interface()
Returns the Wayland interface for the QWaylandIviApplication.