Implemented camp wizard and service methods for camp calculation.

This commit is contained in:
2017-05-29 21:40:22 +02:00
parent 9a087e1874
commit b0f129f38d
24 changed files with 1180 additions and 227 deletions
+7 -1
View File
@@ -4,9 +4,10 @@
#include <QObject>
#include <odb/core.hxx>
#include <QDecDouble.hh>
#include <combodata.h>
#pragma db object
class Sale : public QObject
class Sale : public ComboItem
{
Q_OBJECT
Q_PROPERTY(QString description READ description WRITE setDescription)
@@ -35,6 +36,11 @@ private:
QString m_description;
int m_sale;
bool m_fixed;
// ComboItem interface
public:
bool eq(ComboItem *other);
QString toString();
};
#endif // SALE_H