aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/generator/iarew/iarewsourcefilespropertygroup.cpp
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2019-07-23 15:45:29 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2019-07-31 13:12:01 +0000
commit86747ff36bb162764fd8c2f741a1674d16b0b3cd (patch)
treeebc9323f57c601ae49af9cff9fe0674fd71bb6ca /src/plugins/generator/iarew/iarewsourcefilespropertygroup.cpp
parent2363f13f8fbd001a3544acb2a600010893e4cf80 (diff)
baremetal: Share common generators code
Common code which are used for the 'iarew' and 'keiluv' generators was moved to the corelib/generators library. Besides, this code also can be used in future for the XML-based generators. Change-Id: I79a21e3e078d563600d7f365785731fe9e847045 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/generator/iarew/iarewsourcefilespropertygroup.cpp')
-rw-r--r--src/plugins/generator/iarew/iarewsourcefilespropertygroup.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/generator/iarew/iarewsourcefilespropertygroup.cpp b/src/plugins/generator/iarew/iarewsourcefilespropertygroup.cpp
index b87693bce..adb5925b2 100644
--- a/src/plugins/generator/iarew/iarewsourcefilespropertygroup.cpp
+++ b/src/plugins/generator/iarew/iarewsourcefilespropertygroup.cpp
@@ -28,7 +28,6 @@
**
****************************************************************************/
-#include "iarewproperty.h"
#include "iarewsourcefilepropertygroup.h"
#include "iarewsourcefilespropertygroup.h"
@@ -42,14 +41,16 @@ IarewSourceFilesPropertyGroup::IarewSourceFilesPropertyGroup(
const GeneratableProject &genProject,
const QString &filesGroupName,
const QList<ArtifactData> &sourceFiles)
- : IarewPropertyGroup(QByteArrayLiteral("group"))
+ : gen::xml::PropertyGroup(QByteArrayLiteral("group"))
{
// Create group name property item.
- appendChild<IarewProperty>(QByteArrayLiteral("name"), filesGroupName);
+ appendChild<gen::xml::Property>(QByteArrayLiteral("name"),
+ filesGroupName);
// Create file paths property items.
for (const auto &sourceFile : sourceFiles)
- appendChild<IarewSourceFilePropertyGroup>(genProject, sourceFile);
+ appendChild<IarewSourceFilePropertyGroup>(genProject,
+ sourceFile);
}
} // namespace qbs