#include <recipe.h>
Public Member Functions | |
| recipe (QString name, bool proportional, int nbrGlasses, QValueVector< liquidElement * > liquidElements, QValueVector< otherElement * > otherElements, QString comment) | |
| QString | getName () |
| QString | getComment () |
| QString | getGlassType () |
| bool | getProportional () |
| int | getNbrGlasses () |
| QStringList | getLiquidElementsNameList () |
| QValueVector< liquidElement * > | getLiquidElements () |
| QValueVector< otherElement * > | getOtherElements () |
| QString | toString () |
| returns a QString with the complete recipe of the cocktail | |
| QString | toRichTextString (units userUnits) |
Contains the complete description of the recipe of a cocktail :
|
|
TODO round the quantity (preferences of user?) |