If macro EET is not defined EET functions will be hidden.
This commit is contained in:
@@ -421,3 +421,13 @@ QDecDouble VoucherSum::totalPrice() const
|
||||
int VoucherSum::count() const {
|
||||
return m_count;
|
||||
}
|
||||
|
||||
VoucherSum::VoucherSum(int count, int totalPrice) : m_count(count), m_totalPrice(totalPrice) {}
|
||||
|
||||
void VoucherSum::addPrice(QDecDouble price) {
|
||||
m_totalPrice += FROM_DEC(price);
|
||||
}
|
||||
|
||||
void VoucherSum::addCount(int count) {
|
||||
m_count += count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user