Maemo: Serialize package contents.

Reviewed-by: kh1
This commit is contained in:
ck
2010-05-03 15:50:15 +02:00
parent b367cffa8c
commit 3867325522
5 changed files with 62 additions and 4 deletions

View File

@@ -87,6 +87,18 @@ bool MaemoPackageCreationStep::init()
return true;
}
QVariantMap MaemoPackageCreationStep::toMap() const
{
QVariantMap map(ProjectExplorer::BuildStep::toMap());
return map.unite(m_packageContents->toMap());
}
bool MaemoPackageCreationStep::fromMap(const QVariantMap &map)
{
m_packageContents->fromMap(map);
return ProjectExplorer::BuildStep::fromMap(map);
}
void MaemoPackageCreationStep::run(QFutureInterface<bool> &fi)
{
fi.reportResult(createPackage());