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:
@@ -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
|
||||
|
Reference in New Issue
Block a user