diff options
author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2012-11-06 14:30:12 +0100 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2012-11-21 16:00:24 +0100 |
commit | 5e243dabd95231be106e4d148151bab46c58a7a3 (patch) | |
tree | f9dd7581fc408cca419f381c8d27392354aab4f7 /src/plugins/qmldesigner/designercore/include/qmlitemnode.h | |
parent | 960801b52cf4eece1d89ce02d2a40f2a82b6667d (diff) | |
download | qt-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/qmlitemnode.h')
-rw-r--r-- | src/plugins/qmldesigner/designercore/include/qmlitemnode.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/qmldesigner/designercore/include/qmlitemnode.h b/src/plugins/qmldesigner/designercore/include/qmlitemnode.h index 53532f1e03..a8a3537230 100644 --- a/src/plugins/qmldesigner/designercore/include/qmlitemnode.h +++ b/src/plugins/qmldesigner/designercore/include/qmlitemnode.h @@ -30,7 +30,7 @@ #ifndef QmlItemNode_H #define QmlItemNode_H -#include <corelib_global.h> +#include <qmldesignercorelib_global.h> #include <modelnode.h> #include "qmlobjectnode.h" #include "qmlstate.h" @@ -44,9 +44,9 @@ namespace QmlDesigner { class QmlModelStateGroup; class QmlAnchors; -class CORESHARED_EXPORT QmlItemNode : public QmlObjectNode +class QMLDESIGNERCORE_EXPORT QmlItemNode : public QmlObjectNode { - friend class CORESHARED_EXPORT QmlAnchors; + friend class QMLDESIGNERCORE_EXPORT QmlAnchors; public: QmlItemNode() : QmlObjectNode() {} QmlItemNode(const ModelNode &modelNode) : QmlObjectNode(modelNode) {} @@ -97,9 +97,9 @@ public: bool hasAnySubModelNodes() const; }; -CORESHARED_EXPORT uint qHash(const QmlItemNode &node); +QMLDESIGNERCORE_EXPORT uint qHash(const QmlItemNode &node); -class CORESHARED_EXPORT QmlModelStateGroup +class QMLDESIGNERCORE_EXPORT QmlModelStateGroup { friend class QmlItemNode; friend class QmlModelView; @@ -122,8 +122,8 @@ private: ModelNode m_modelNode; }; -CORESHARED_EXPORT QList<ModelNode> toModelNodeList(const QList<QmlItemNode> &fxItemNodeList); -CORESHARED_EXPORT QList<QmlItemNode> toQmlItemNodeList(const QList<ModelNode> &modelNodeList); +QMLDESIGNERCORE_EXPORT QList<ModelNode> toModelNodeList(const QList<QmlItemNode> &fxItemNodeList); +QMLDESIGNERCORE_EXPORT QList<QmlItemNode> toQmlItemNodeList(const QList<ModelNode> &modelNodeList); } //QmlDesigner |