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
10
class
QEvent;
11
12
namespace
ui::window
{
13
17
struct
DropEventOutcome
{
18
bool
handled
=
false
;
19
bool
accepted
=
false
;
20
QStringList
files
;
21
};
22
26
class
DropHandler
{
27
public
:
33
DropEventOutcome
handle
(QEvent* event)
const
;
34
};
35
36
}
// namespace ui::window
ui::window::DropHandler
Extracts local file drops from Qt drag/drop events.
Definition
DropHandler.h:26
ui::window::DropHandler::handle
DropEventOutcome handle(QEvent *event) const
Handles a drag, drag-move or drop event.
Definition
DropHandler.cpp:34
ui::window
Definition
CloseWorkflow.h:14
ui::window::DropEventOutcome
Result of handling a drag/drop event.
Definition
DropHandler.h:17
ui::window::DropEventOutcome::files
QStringList files
Definition
DropHandler.h:20
ui::window::DropEventOutcome::handled
bool handled
Definition
DropHandler.h:18
ui::window::DropEventOutcome::accepted
bool accepted
Definition
DropHandler.h:19
ui
include
ui
shell
window
DropHandler.h
Generated by
1.14.0