Add qRegisterMetaTypes for the public Q_DECLARE_METATYPEs.
Also turned qtmedianamespace.qdoc into a cpp file so I could stick the qRegisterMetaTypes into it. Change-Id: Idd6d3e2f348f1ed45b0a35ce180d023a170e8625 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
a8be7b6053
commit
8ff4148342
@@ -48,6 +48,19 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
namespace
|
||||
{
|
||||
class QAbstractVideoBufferPrivateRegisterMetaTypes
|
||||
{
|
||||
public:
|
||||
QAbstractVideoBufferPrivateRegisterMetaTypes()
|
||||
{
|
||||
qRegisterMetaType<QAbstractVideoBuffer::HandleType>();
|
||||
qRegisterMetaType<QAbstractVideoBuffer::MapMode>();
|
||||
}
|
||||
} _registerMetaTypes;
|
||||
}
|
||||
|
||||
/*!
|
||||
\class QAbstractVideoBuffer
|
||||
\brief The QAbstractVideoBuffer class is an abstraction for video data.
|
||||
|
||||
Reference in New Issue
Block a user