Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtWayland::DataDevice Class Reference

#include <qwldatadevice_p.h>

+ Inheritance diagram for QtWayland::DataDevice:
+ Collaboration diagram for QtWayland::DataDevice:

Public Member Functions

 DataDevice (QWaylandSeat *seat)
 
void setFocus (QWaylandClient *client)
 
void sourceDestroyed (DataSource *source)
 

Protected Member Functions

void data_device_set_selection (Resource *resource, struct ::wl_resource *source, uint32_t serial) override
 

Detailed Description

Definition at line 33 of file qwldatadevice_p.h.

Constructor & Destructor Documentation

◆ DataDevice()

QtWayland::DataDevice::DataDevice ( QWaylandSeat * seat)

Definition at line 27 of file qwldatadevice.cpp.

Member Function Documentation

◆ data_device_set_selection()

void QtWayland::DataDevice::data_device_set_selection ( Resource * resource,
struct ::wl_resource * source,
uint32_t serial )
overrideprotected

Definition at line 151 of file qwldatadevice.cpp.

References QtWayland::DataSource::cancel(), QWaylandClient::client(), QWaylandKeyboard::focusClient(), QtWayland::DataSource::fromResource(), QWaylandCompositorPrivate::get(), QWaylandSeat::keyboard(), Q_UNUSED, and QtWayland::DataSource::setDevice().

+ Here is the call graph for this function:

◆ setFocus()

void QtWayland::DataDevice::setFocus ( QWaylandClient * client)

Definition at line 33 of file qwldatadevice.cpp.

References QWaylandClient::client().

+ Here is the call graph for this function:

◆ sourceDestroyed()

void QtWayland::DataDevice::sourceDestroyed ( DataSource * source)

Definition at line 49 of file qwldatadevice.cpp.

Referenced by QtWayland::DataSource::~DataSource().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: