mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 14:36:39 +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
|
namespace CSVWorld
|
||||||
{
|
{
|
||||||
class DragDropUtils
|
namespace DragDropUtils
|
||||||
{
|
{
|
||||||
public:
|
const CSMWorld::TableMimeData *getTableMimeData(const QDropEvent &event);
|
||||||
static 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
|
///< 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
|
///< 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
|
///< \return Type_None if the \a event data doesn't holds the \a type
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue