Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
TrashScreenWidget.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
4 * SPDX-FileCopyrightText: (C) 2008 Volker Lanz <vl@fidra.de>
5 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
6 */
7
8#pragma once
9
10#include <QLabel>
11
12class QWidget;
13class QDragEnterEvent;
14class QDropEvent;
15
16class TrashScreenWidget : public QLabel
17{
18 Q_OBJECT
19
20public:
21 explicit TrashScreenWidget(QWidget *parent) : QLabel(parent)
22 {
23 // do nothing
24 }
25
26 void dragEnterEvent(QDragEnterEvent *event) override;
27 void dropEvent(QDropEvent *event) override;
28
29Q_SIGNALS:
31};
TrashScreenWidget(QWidget *parent)
Definition TrashScreenWidget.h:21
void dropEvent(QDropEvent *event) override
Definition TrashScreenWidget.cpp:25
void dragEnterEvent(QDragEnterEvent *event) override
Definition TrashScreenWidget.cpp:16