| qtwaylandcompositorglobal.h |
|
373 |
- |
| qtwaylandcompositorglobal_p.h |
|
867 |
- |
| qtwaylandqmlinclude.h |
|
745 |
- |
| qwaylandcompositorextension.cpp |
!
\class QWaylandCompositorExtensionTemplate
\inmodule QtWaylandCompositor
\since 5.8
\brief QWaylandCompositorExtensionTemplate is a convenience class for subclassing
QWaylandCompositorExtension.
QWaylandCompositorExtensionTemplate is a template class which inherits
QWaylandCompositorExtension and is convenience for building custom Wayland extensions with Qt.
It provides the connection between Qt Wayland Compositor and the class generated by
\c qtwaylandscanner, based on the XML description of the extension protocol.
It provides two specific pieces of convenience:
\list
\li A reimplementation of \l{QWaylandCompositorExtension::extensionInterface()} which returns
the \c wl_interface pointer for the qtwaylandscanner-generated base class.
\li A static \l{findIn()} function which searches for an instance of the extension in a
provided container, and returns this if it is found.
\endlist
Typically, a new extension will dual-inherit QWaylandCompositorExtensionTemplate and the class
generated by \c qtwaylandscanner.
QWaylandCompositorExtensionTemplate should be parameterized with \a T being the subclass itself:
\code
class MyExtension
: public QWaylandCompositorExtensionTemplate<MyExtension>
, QtWaylandServer::my_extension
\endcode
In this example, \c MyExtension is an implementation of the generated interface \c my_extension.
\sa {Custom Shell}
|
9722 |
- |
| qwaylandcompositorextension.h |
|
2993 |
- |
| qwaylandcompositorextension_p.h |
QWAYLANDEXTENSION_P_H |
1054 |
- |
| qwaylandquickextension.cpp |
|
323 |
- |
| qwaylandquickextension.h |
qmake ignore Q_OBJECT |
8605 |
- |
| qwaylandquickextension.qdoc |
|
3769 |
- |
| qwaylandutils_p.h |
|
845 |
- |