Annotation: Add export macros

Change-Id: Ieebc2750462bc6266e11318ea96c031b2ea6ef9f
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Michael Winkelmann
2020-08-19 11:10:55 +02:00
parent 150d29a8fd
commit a638c25252

View File

@@ -29,6 +29,7 @@
#include <QDebug> #include <QDebug>
#include <QDataStream> #include <QDataStream>
#include "qmldesignercorelib_global.h"
#include "nodeinstanceglobal.h" #include "nodeinstanceglobal.h"
namespace QmlDesigner { namespace QmlDesigner {
@@ -38,7 +39,7 @@ static const PropertyName annotationProperty = {("annotation")};
static const PropertyName globalAnnotationProperty = {("globalAnnotation")}; static const PropertyName globalAnnotationProperty = {("globalAnnotation")};
static const PropertyName globalAnnotationStatus = {("globalAnnotationStatus")}; static const PropertyName globalAnnotationStatus = {("globalAnnotationStatus")};
class GlobalAnnotationStatus class QMLDESIGNERCORE_EXPORT GlobalAnnotationStatus
{ {
public: public:
enum Status { enum Status {
@@ -64,7 +65,7 @@ private:
Status m_status; Status m_status;
}; };
class Comment class QMLDESIGNERCORE_EXPORT Comment
{ {
public: public:
Comment(); Comment();
@@ -109,7 +110,7 @@ private:
qint64 m_timestamp; qint64 m_timestamp;
}; };
class Annotation class QMLDESIGNERCORE_EXPORT Annotation
{ {
public: public:
Annotation(); Annotation();