FOSSredder 0.5.0
Loading...
Searching...
No Matches
DropHandler.h
Go to the documentation of this file.
1
5
6#pragma once
7
8#include <QStringList>
9
10class QEvent;
11
12namespace ui::window {
13
18 bool handled = false;
19 bool accepted = false;
20 QStringList files;
21};
22
27public:
33 DropEventOutcome handle(QEvent* event) const;
34};
35
36} // namespace ui::window
Extracts local file drops from Qt drag/drop events.
Definition DropHandler.h:26
DropEventOutcome handle(QEvent *event) const
Handles a drag, drag-move or drop event.
Result of handling a drag/drop event.
Definition DropHandler.h:17