2 SPDX-FileCopyrightText: 2014 Martin Gräßlin <[email protected]>
59 * To finalize the initialization of the connection one needs to call @link ::initConnection @endlink.
61 * succeeds the signal @link ::connected @endlink will be emitted, otherwise @link ::failed @endlink will
75 * the Wayland socket, it will be dispatched and the signal @link ::eventsRead @endlink is emitted.
100 * does not dispatch events. Given that the use case of the ConnectionThread is rather limited to
101 * a convenient API around wl_display to allow easily setup an own Registry in a QtWayland powered
102 * application. Also moving the ConnectionThread to a different thread is not necessarily recommended
111 ~ConnectionThread() override;
141 QString socketName() const;
148 * The socket name will be ignored if a file descriptor has been set through @link setSocketFd @endlink.
152 void setSocketName(const QString &socketName);
180 * @returns the error code of the last occurred error or @c 0 if the connection doesn't have an error
191 static QVector<ConnectionThread *> connections();
256 QScopedPointer<Private> d;
Creates and manages the connection to a Wayland server.