#ifndef TARIFF_COMP_STATE_H_INCLUDED #define TARIFF_COMP_STATE_H_INCLUDED #include struct TariffCompState { QDateTime const m_start; int m_nettoParkingTimeTotal = 0; int m_bruttoParkingTimeTotal = 0; int m_priceTotal = 0; explicit TariffCompState(QDateTime start) : m_start(std::move(start)) , m_nettoParkingTimeTotal(0) , m_bruttoParkingTimeTotal(0) , m_priceTotal(0) { } }; #endif // TARIFF_COMP_STATE_H_INCLUDED