1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-19 04:11:46 +02:00

Register InfoSystemCache* metatype

This commit is contained in:
Dominik Schmidt
2013-05-27 11:07:12 +02:00
parent cab5a93fe6
commit 2851bd8aa0
2 changed files with 4 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ namespace Tomahawk
namespace InfoSystem
{
class InfoSystemCache : public QObject
class DLLEXPORT InfoSystemCache : public QObject
{
Q_OBJECT
@@ -71,4 +71,6 @@ private:
} //namespace Tomahawk
Q_DECLARE_METATYPE( Tomahawk::InfoSystem::InfoSystemCache* );
#endif //TOMAHAWK_INFOSYSTEMCACHE_H

View File

@@ -404,6 +404,7 @@ TomahawkApp::registerMetaTypes()
qRegisterMetaType< Tomahawk::DynamicPlaylistRevision >("Tomahawk::DynamicPlaylistRevision");
qRegisterMetaType< Tomahawk::QID >("Tomahawk::QID");
qRegisterMetaType< Tomahawk::InfoSystem::InfoSystemCache* >( "Tomahawk::InfoSystem::InfoSystemCache*" );
qRegisterMetaType< Tomahawk::InfoSystem::InfoStringHash >( "Tomahawk::InfoSystem::InfoStringHash" );
qRegisterMetaType< Tomahawk::InfoSystem::InfoType >( "Tomahawk::InfoSystem::InfoType" );
qRegisterMetaType< Tomahawk::InfoSystem::PushInfoFlags >( "Tomahawk::InfoSystem::PushInfoFlags" );