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

Export DynamicControl to support linking with Qt5

This commit is contained in:
Uwe L. Korn
2013-07-26 19:39:36 +02:00
parent c26c9e3ca1
commit 0425c0fc17

View File

@@ -20,6 +20,7 @@
#ifndef DYNAMIC_PLAYLIST_CONTROL
#define DYNAMIC_PLAYLIST_CONTROL
#include "DllMacro.h"
#include "Typedefs.h"
@@ -41,7 +42,7 @@ namespace Tomahawk
* Each control also has a list of TypeSelectors that comes from the generator, and only one is selected at once.
*
*/
class DynamicControl : public QObject
class DLLEXPORT DynamicControl : public QObject
{
Q_OBJECT
Q_PROPERTY( QString type READ type WRITE setType ) // the generator type associated with this control
@@ -118,6 +119,8 @@ private:
QString m_id;
};
};
}
Q_DECLARE_METATYPE( Tomahawk::dyncontrol_ptr )
#endif