Implemented first page of camp wizard.

This commit is contained in:
2017-05-20 23:40:57 +02:00
parent 9c30d416e0
commit 6a042c46a1
13 changed files with 310 additions and 15 deletions
+10
View File
@@ -84,6 +84,11 @@ void CampData::addServiceItem(ServiceItemPtr serviceItem)
m_services.append(serviceItem);
}
void CampData::removeServiceItem(ServiceItemPtr serviceItem)
{
m_services.removeOne(serviceItem);
}
QOdbList<AddressItemPtr> CampData::people() const
{
return m_people;
@@ -99,6 +104,11 @@ void CampData::addPerson(AddressItemPtr person)
m_people.append(person);
}
void CampData::removePerson(AddressItemPtr person)
{
m_people.removeOne(person);
}
QDecDouble CampData::totalPrice() const
{
return TO_DEC(m_totalPrice);