The Unit class An unity for billing calculs.
More...
#include <unit.h>
The Unit class An unity for billing calculs.
Unit Construct an unit with init type.
- Parameters
-
getype The unit Type
- Returns
- The unit Type
bool Models::Unit::operator!= |
( |
const Unit & |
u | ) |
|
operator != define the operator "!=" to compare two Unit
- Parameters
-
- Returns
- true if the Unit are different else false
bool Models::Unit::operator== |
( |
const Unit & |
u | ) |
|
operator == define the operator "==" to compare two Unit
- Parameters
-
- Returns
- true if the Unit are equals else false
void Models::Unit::setType |
( |
const TypeUnit & |
type | ) |
|
setType Change the unit Type
- Parameters
-
QString Models::Unit::toString |
( |
const bool |
plurial = false | ) |
|
toString Return String for unit type.
- Returns
- The unit in String
The documentation for this class was generated from the following files:
- /home/travis/build/FACT-Team/FactDev/src/models/unit.h
- /home/travis/build/FACT-Team/FactDev/src/models/unit.cpp