Printing: export a statistics data structure to the Grantlee backend

Add a YearInfo class which represents a year statistics. Export the
class to the Grantlee backend, also export all it's members to the
printing backend.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
This commit is contained in:
Gehad elrobey 2015-08-21 19:00:46 +02:00 committed by Lubomir I. Ivanov
parent 6a692495c0
commit 70e8862efc
2 changed files with 62 additions and 0 deletions

View file

@ -316,3 +316,13 @@ void Dive::put_sac()
m_sac = QString::number(value, 'f', decimal).append(unit);
}
}
YearInfo::YearInfo()
{
}
YearInfo::~YearInfo()
{
}