KWin
Loading...
Searching...
No Matches
src
wayland
datacontroloffer_v1.h
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: 2020 David Edmundson <davidedmundson@kde.org>
3
4
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5
*/
6
#pragma once
7
8
#include "kwin_export.h"
9
10
#include <QObject>
11
12
#include "
datacontroldevicemanager_v1.h
"
13
14
struct
wl_resource;
15
16
namespace
KWin
17
{
18
class
AbstractDataSource;
19
class
DataControlDeviceV1Interface;
20
class
DataControlSourceV1Interface;
21
class
DataControlOfferV1InterfacePrivate;
22
28
class
KWIN_EXPORT
DataControlOfferV1Interface
:
public
QObject
29
{
30
Q_OBJECT
31
32
public
:
33
~DataControlOfferV1Interface
()
override
;
34
35
void
sendAllOffers();
36
wl_resource *resource()
const
;
37
38
private
:
39
friend
class
DataControlDeviceV1InterfacePrivate
;
40
explicit
DataControlOfferV1Interface
(
AbstractDataSource
*source, wl_resource *resource);
41
42
std::unique_ptr<DataControlOfferV1InterfacePrivate> d;
43
};
44
45
}
46
47
Q_DECLARE_METATYPE
(
KWin::DataControlOfferV1Interface
*)
KWin::AbstractDataSource
The AbstractDataSource class abstracts the data that can be transferred to another client.
Definition
abstract_data_source.h:29
KWin::DataControlDeviceV1InterfacePrivate
Definition
datacontroldevice_v1.cpp:22
KWin::DataControlOfferV1Interface
Definition
datacontroloffer_v1.h:29
KWin::DataControlOfferV1Interface::~DataControlOfferV1Interface
~DataControlOfferV1Interface() override
datacontroldevicemanager_v1.h
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(KWin::SwitchEvent::State)
KWin
Definition
activation_test.cpp:20
Generated on Sat Feb 17 2024 01:42:10 for KWin by
1.10.0