mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-19 12:21:52 +02:00
Export DynamicControl to support linking with Qt5
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
#ifndef DYNAMIC_PLAYLIST_CONTROL
|
#ifndef DYNAMIC_PLAYLIST_CONTROL
|
||||||
#define DYNAMIC_PLAYLIST_CONTROL
|
#define DYNAMIC_PLAYLIST_CONTROL
|
||||||
|
|
||||||
|
#include "DllMacro.h"
|
||||||
#include "Typedefs.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.
|
* 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_OBJECT
|
||||||
Q_PROPERTY( QString type READ type WRITE setType ) // the generator type associated with this control
|
Q_PROPERTY( QString type READ type WRITE setType ) // the generator type associated with this control
|
||||||
@@ -118,6 +119,8 @@ private:
|
|||||||
QString m_id;
|
QString m_id;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
}
|
||||||
|
|
||||||
|
Q_DECLARE_METATYPE( Tomahawk::dyncontrol_ptr )
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user