KWin
Loading...
Searching...
No Matches
primaryselectiondevicemanager_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#include <memory>
12
13namespace KWin
14{
15class Display;
16class PrimarySelectionSourceV1Interface;
17class PrimarySelectionDeviceManagerV1InterfacePrivate;
18class PrimarySelectionDeviceV1Interface;
19
24class KWIN_EXPORT PrimarySelectionDeviceManagerV1Interface : public QObject
25{
26 Q_OBJECT
27
28public:
29 explicit PrimarySelectionDeviceManagerV1Interface(Display *display, QObject *parent = nullptr);
31
32Q_SIGNALS:
35
36private:
37 std::unique_ptr<PrimarySelectionDeviceManagerV1InterfacePrivate> d;
38};
39
40}
Class holding the Wayland server display loop.
Definition display.h:34
Represents the Global for zwp_primary_selection_manager_v1 interface.
void dataDeviceCreated(KWin::PrimarySelectionDeviceV1Interface *dataDevice)
void dataSourceCreated(KWin::PrimarySelectionSourceV1Interface *dataSource)
Represents the Resource for the wl_data_device interface.
Represents the Resource for the zwp_primary_selection_source_v1 interface. Lifespan is mapped to the ...
struct _XDisplay Display