aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-10-18 18:25:04 +0200
committerUlf Hermann <ulf.hermann@qt.io>2017-10-19 15:53:06 +0000
commitf9ec311177893f9ec7c1cf6ade7864a66c3e20b5 (patch)
treebd34845207ffbbe1abddcbb24778e03fb0f46431
parente8360c875d1f34481a314551e12f54bc23b2ed2d (diff)
ResourceEditor: Export all node types
We need the node types to figure out the qrc path a specific source file will appear under in the application. Change-Id: I712810a9fe8b64f9b03422000961f3c0622ec9ac Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
-rw-r--r--src/plugins/resourceeditor/resourcenode.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/resourceeditor/resourcenode.h b/src/plugins/resourceeditor/resourcenode.h
index 6752eb6855..38175c322d 100644
--- a/src/plugins/resourceeditor/resourcenode.h
+++ b/src/plugins/resourceeditor/resourcenode.h
@@ -61,9 +61,7 @@ private:
QString m_contents;
};
-namespace Internal {
-
-class ResourceFolderNode : public ProjectExplorer::FolderNode
+class RESOURCE_EXPORT ResourceFolderNode : public ProjectExplorer::FolderNode
{
public:
ResourceFolderNode(const QString &prefix, const QString &lang, ResourceTopLevelNode *parent);
@@ -92,7 +90,7 @@ private:
QString m_lang;
};
-class ResourceFileNode : public ProjectExplorer::FileNode
+class RESOURCE_EXPORT ResourceFileNode : public ProjectExplorer::FileNode
{
public:
ResourceFileNode(const Utils::FileName &filePath, const QString &qrcPath, const QString &displayName);
@@ -106,5 +104,4 @@ private:
QString m_displayName;
};
-} // namespace Internal
} // namespace ResourceEditor