33 QString
toString(
const bool plurial=
false);
bool operator!=(const Unit &u)
operator != define the operator "!=" to compare two Unit
Definition: unit.cpp:63
The Unit class An unity for billing calculs.
Definition: unit.h:15
void setType(const TypeUnit &type)
setType Change the unit Type
Definition: unit.cpp:53
bool operator==(const Unit &u)
operator == define the operator "==" to compare two Unit
Definition: unit.cpp:58
QString toString(const bool plurial=false)
toString Return String for unit type.
Definition: unit.cpp:14
TypeUnit
The TypeUnit enum Type Unit : hour or days.
Definition: unit.h:9
TypeUnit getype() const
getype The unit Type
Definition: unit.cpp:48
Unit()
Unit Construct an unit.
Definition: unit.cpp:9