KWayland
testserver.cpp
90 connect(device, &FakeInputDevice::pointerAxisRequested, this, [this](Qt::Orientation orientation, qreal delta) {
94 connect(device, &FakeInputDevice::touchDownRequested, this, [this](quint32 id, const QPointF &pos) {
98 connect(device, &FakeInputDevice::touchMotionRequested, this, [this](quint32 id, const QPointF &pos) {
154 environment.insert(QStringLiteral("WAYLAND_SOCKET"), QString::fromUtf8(QByteArray::number(socket)));
156 auto finishedSignal = static_cast<void (QProcess::*)(int, QProcess::ExitStatus)>(&QProcess::finished);
void start(const QString &program, const QStringList &arguments, QIODevice::OpenMode mode)
Represents the Resource for a org_kde_kwin_fake_input interface.
Definition: fakeinput_interface.h:63
qreal height() const const
void deviceCreated(KWayland::Server::FakeInputDevice *device)
Signal emitted whenever a client bound the fake input device.
QString fromUtf8(const char *str, int size)
void setProcessEnvironment(const QProcessEnvironment &environment)
Resource for a wl_shell_surface.
Definition: shell_interface.h:66
void pointerMotionRequested(const QSizeF &delta)
Request a pointer motion by delta.
QProcessEnvironment systemEnvironment()
QByteArray number(int n, int base)
void touchDownRequested(quint32 id, const QPointF &pos)
Requests a touch down at pos and identified by id.
void exit(int returnCode)
void finished(int exitCode)
void touchMotionRequested(quint32 id, const QPointF &pos)
Requests a touch motion by pos and identified by id.
void touchCancelRequested()
Requests a touch cancel event.
QString findExecutable(const QString &executableName, const QStringList &paths)
void setProcessChannelMode(QProcess::ProcessChannelMode mode)
void destroyed(QObject *obj)
void pointerButtonPressRequested(quint32 button)
Requests a pointer button pressed for button.
void touchUpRequested(quint32 id)
Requests a touch up identified by id.
void pointerAxisRequested(Qt::Orientation orientation, qreal delta)
Requests a pointer axis for the given orientation by delta.
ExitStatus
Orientation
void timeout()
bool isEmpty() const const
QCoreApplication * instance()
void insert(const QString &name, const QString &value)
void surfaceCreated(KWayland::Server::ShellSurfaceInterface *)
Emitted whenever a new ShellSurfaceInterface gets created for a SurfaceInterface.
void touchFrameRequested()
Requests a touch frame event.
void setAuthentication(bool authenticated)
Authenticate this device to send events.
Definition: fakeinput_interface.cpp:296
void errorOccurred(QProcess::ProcessError error)
ForwardedChannels
qreal width() const const
void pointerButtonReleaseRequested(quint32 button)
Requests a pointer button release for button.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 03:56:22 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 03:56:22 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.