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
@@ -49,6 +49,20 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
||||
namespace
|
||||
{
|
||||
class QRadioDataPrivateRegisterMetaTypes
|
||||
{
|
||||
public:
|
||||
QRadioDataPrivateRegisterMetaTypes()
|
||||
{
|
||||
qRegisterMetaType<QRadioData::Error>();
|
||||
qRegisterMetaType<QRadioData::ProgramType>();
|
||||
}
|
||||
} _registerMetaTypes;
|
||||
}
|
||||
|
||||
/*!
|
||||
\class QRadioData
|
||||
\brief The QRadioData class provides interfaces to the RDS functionality of the system radio.
|
||||
|
||||
Reference in New Issue
Block a user