PCManFM-Qt
Main Page
Classes
Files
File List
libfm-qt
dndactionmenu.h
1
/*
2
3
Copyright (C) 2013 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
4
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License along
16
with this program; if not, write to the Free Software Foundation, Inc.,
17
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
*/
19
20
21
#ifndef FM_DNDACTIONMENU_H
22
#define FM_DNDACTIONMENU_H
23
24
#include "libfmqtglobals.h"
25
#include <QMenu>
26
#include <QAction>
27
28
namespace
Fm
{
29
30
class
DndActionMenu
:
public
QMenu {
31
Q_OBJECT
32
public
:
33
explicit
DndActionMenu
(QWidget* parent = 0);
34
virtual
~
DndActionMenu
();
35
36
static
Qt::DropAction askUser(QPoint pos);
37
38
private
:
39
QAction* copyAction;
40
QAction* moveAction;
41
QAction* linkAction;
42
QAction* cancelAction;
43
};
44
45
}
46
47
#endif // FM_DNDACTIONMENU_H
Fm
Definition:
appchoosercombobox.cpp:26
Fm::DndActionMenu
Definition:
dndactionmenu.h:30
Generated on Tue Jul 26 2016 09:47:21 for PCManFM-Qt by
1.8.11