KWin
Loading...
Searching...
No Matches
src
wayland
abstract_drop_handler.h
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: 2020 David Edmundson <davidedmundson@kde.org>
3
SPDX-FileCopyrightText: 2021 David Redondo <kde@david-redondo.de>
4
5
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6
*/
7
8
#pragma once
9
10
#include "kwin_export.h"
11
12
#include <QObject>
13
14
namespace
KWin
15
{
16
class
SurfaceInterface;
17
18
class
KWIN_EXPORT
AbstractDropHandler
:
public
QObject
19
{
20
Q_OBJECT
21
public
:
22
AbstractDropHandler
(QObject *parent =
nullptr
);
23
virtual
void
updateDragTarget
(
SurfaceInterface
*surface, quint32 serial) = 0;
24
virtual
void
drop
() = 0;
25
};
26
}
KWin::AbstractDropHandler
Definition
abstract_drop_handler.h:19
KWin::AbstractDropHandler::updateDragTarget
virtual void updateDragTarget(SurfaceInterface *surface, quint32 serial)=0
KWin::AbstractDropHandler::drop
virtual void drop()=0
KWin::SurfaceInterface
Resource representing a wl_surface.
Definition
surface.h:80
KWin
Definition
activation_test.cpp:20
Generated on Sat Feb 17 2024 01:42:10 for KWin by
1.10.0