Commit f9ec3111 authored by Ulf Hermann's avatar Ulf Hermann

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's avatarThomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent e8360c87
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment