Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

recipe Class Reference

contains the complete description of the recipe of a cocktail More...

#include <recipe.h>

List of all members.

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)


Detailed Description

contains the complete description of the recipe of a cocktail

Contains the complete description of the recipe of a cocktail :


Member Function Documentation

QString recipe::toRichTextString units  userUnits  ) 
 

TODO round the quantity (preferences of user?)


The documentation for this class was generated from the following files:
cocktail - A C++ cocktail recipe manager.
Copyright © 2005 Bertrand Haut
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front Cover Texts, and with no Back-Cover Texts.