OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dragdroputils.hpp
Go to the documentation of this file.
1 #ifndef CSV_WORLD_DRAGDROPUTILS_HPP
2 #define CSV_WORLD_DRAGDROPUTILS_HPP
3 
4 #include "../../model/world/columnbase.hpp"
5 
6 class QDropEvent;
7 
8 namespace CSMWorld
9 {
10  class TableMimeData;
11  class UniversalId;
12 }
13 
14 namespace CSVWorld
15 {
16  namespace DragDropUtils
17  {
18  const CSMWorld::TableMimeData *getTableMimeData(const QDropEvent &event);
19 
20  bool canAcceptData(const QDropEvent &event, CSMWorld::ColumnBase::Display type);
22 
26  }
27 }
28 
29 #endif
CSMWorld::UniversalId getAcceptedData(const QDropEvent &event, CSMWorld::ColumnBase::Display type)
Definition: dragdroputils.cpp:18
bool canAcceptData(const QDropEvent &event, CSMWorld::ColumnBase::Display type)
Checks whether the event contains a valid CSMWorld::TableMimeData that holds the type.
Definition: dragdroputils.cpp:12
Display
Definition: columnbase.hpp:39
const CSMWorld::TableMimeData * getTableMimeData(const QDropEvent &event)
Definition: dragdroputils.cpp:7
Subclass of QmimeData, augmented to contain and transport UniversalIds.
Definition: tablemimedata.hpp:27
Definition: universalid.hpp:12