summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/designercore/include/nodeabstractproperty.h
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@digia.com>2012-11-06 14:30:12 +0100
committerThomas Hartmann <Thomas.Hartmann@digia.com>2012-11-21 16:00:24 +0100
commit5e243dabd95231be106e4d148151bab46c58a7a3 (patch)
treef9dd7581fc408cca419f381c8d27392354aab4f7 /src/plugins/qmldesigner/designercore/include/nodeabstractproperty.h
parent960801b52cf4eece1d89ce02d2a40f2a82b6667d (diff)
downloadqt-creator-5e243dabd95231be106e4d148151bab46c58a7a3.tar.gz
QmlDesigner: export core functionality
We export the core functionality of the model allowing other plugins to use it. The general functionality was already there, but I had to rename the macro to avoid name clashes. Also I renamed the .pri file to avoid confusion. Change-Id: I88203ce9dbfddc8d734e5e232ff71bc0e244e5b8 Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Diffstat (limited to 'src/plugins/qmldesigner/designercore/include/nodeabstractproperty.h')
-rw-r--r--src/plugins/qmldesigner/designercore/include/nodeabstractproperty.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/qmldesigner/designercore/include/nodeabstractproperty.h b/src/plugins/qmldesigner/designercore/include/nodeabstractproperty.h
index 9493b6001d..78f52a4d52 100644
--- a/src/plugins/qmldesigner/designercore/include/nodeabstractproperty.h
+++ b/src/plugins/qmldesigner/designercore/include/nodeabstractproperty.h
@@ -45,9 +45,9 @@ class NodeAbstractProperty : public AbstractProperty
friend class QmlDesigner::Internal::ModelPrivate;
friend class QmlDesigner::AbstractProperty;
- friend CORESHARED_EXPORT bool operator ==(const NodeAbstractProperty &property1, const NodeAbstractProperty &property2);
- friend CORESHARED_EXPORT bool operator !=(const NodeAbstractProperty &property1, const NodeAbstractProperty &property2);
- friend CORESHARED_EXPORT uint qHash(const NodeAbstractProperty& property);
+ friend QMLDESIGNERCORE_EXPORT bool operator ==(const NodeAbstractProperty &property1, const NodeAbstractProperty &property2);
+ friend QMLDESIGNERCORE_EXPORT bool operator !=(const NodeAbstractProperty &property1, const NodeAbstractProperty &property2);
+ friend QMLDESIGNERCORE_EXPORT uint qHash(const NodeAbstractProperty& property);
public:
NodeAbstractProperty();
@@ -66,11 +66,11 @@ protected:
};
-CORESHARED_EXPORT bool operator ==(const NodeAbstractProperty &property1, const NodeAbstractProperty &property2);
-CORESHARED_EXPORT bool operator !=(const NodeAbstractProperty &property1, const NodeAbstractProperty &property2);
-CORESHARED_EXPORT uint qHash(const NodeAbstractProperty& property);
-CORESHARED_EXPORT QTextStream& operator<<(QTextStream &stream, const NodeAbstractProperty &property);
-CORESHARED_EXPORT QDebug operator<<(QDebug debug, const NodeAbstractProperty &property);
+QMLDESIGNERCORE_EXPORT bool operator ==(const NodeAbstractProperty &property1, const NodeAbstractProperty &property2);
+QMLDESIGNERCORE_EXPORT bool operator !=(const NodeAbstractProperty &property1, const NodeAbstractProperty &property2);
+QMLDESIGNERCORE_EXPORT uint qHash(const NodeAbstractProperty& property);
+QMLDESIGNERCORE_EXPORT QTextStream& operator<<(QTextStream &stream, const NodeAbstractProperty &property);
+QMLDESIGNERCORE_EXPORT QDebug operator<<(QDebug debug, const NodeAbstractProperty &property);
} // namespace QmlDesigner