mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 08:53:52 +00:00
use a namespace instead of a class with only static functions
This commit is contained in:
parent
b0aad9c8cb
commit
e29d9bcc8e
1 changed files with 8 additions and 9 deletions
|
@ -13,18 +13,17 @@ namespace CSMWorld
|
|||
|
||||
namespace CSVWorld
|
||||
{
|
||||
class DragDropUtils
|
||||
namespace DragDropUtils
|
||||
{
|
||||
public:
|
||||
static const CSMWorld::TableMimeData *getTableMimeData(const QDropEvent &event);
|
||||
const CSMWorld::TableMimeData *getTableMimeData(const QDropEvent &event);
|
||||
|
||||
static bool canAcceptData(const QDropEvent &event, CSMWorld::ColumnBase::Display type);
|
||||
bool canAcceptData(const QDropEvent &event, CSMWorld::ColumnBase::Display type);
|
||||
///< Checks whether the \a event contains a valid CSMWorld::TableMimeData that holds the \a type
|
||||
|
||||
static CSMWorld::UniversalId getAcceptedData(const QDropEvent &event, CSMWorld::ColumnBase::Display type);
|
||||
CSMWorld::UniversalId getAcceptedData(const QDropEvent &event, CSMWorld::ColumnBase::Display type);
|
||||
///< Gets the accepted data from the \a event using the \a type
|
||||
///< \return Type_None if the \a event data doesn't holds the \a type
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue