Implemented camp wizard and service methods for camp calculation.
This commit is contained in:
+7
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user