--- a/Seafood/Fishes.h Tue Apr 06 08:02:52 2010 -0700
+++ b/Seafood/Fishes.h Thu Apr 08 19:31:52 2010 -0700
@@ -10,13 +10,15 @@
public:
Fishes(QObject *parent=0);
enum TCATEGORIES {EPresentBest=0, EPresentOK, EPresentWorst};
+ enum TNUTRITION {ECalories = 0, ETotalFat, ETotalProtein,
+ EOmega3, ECholesterol, ESodium, EMaxNutrients };
const QStringList getBest();
const QStringList getOK();
const QStringList getWorst();
QString getEcoDetails(QString name);
- void getNutrition(QString name);
+ QMap<TNUTRITION, QString> getNutrition(QString name);
private:
void populate(TCATEGORIES cat);