We ended up not needing the underlying QMimeData-based implementation, as the classes sitting on top of it bypassed it anyway. It now treats the hierarchy as a pure data storage mechanism, generating the QMimeData when drag-drop is initiated.
25 lines
806 B
C++
25 lines
806 B
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: src/qt/dataobj.h
|
|
// Author: Peter Most
|
|
// Copyright: (c) Peter Most
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _WX_QT_DATAOBJ_H_
|
|
#define _WX_QT_DATAOBJ_H_
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// wxDataObject is the same as wxDataObjectBase under wxQT
|
|
// ----------------------------------------------------------------------------
|
|
|
|
class WXDLLIMPEXP_CORE wxDataObject : public wxDataObjectBase
|
|
{
|
|
public:
|
|
wxDataObject();
|
|
virtual ~wxDataObject();
|
|
|
|
virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
|
|
};
|
|
|
|
#endif // _WX_QT_DATAOBJ_H_
|