Seafood/Fishes.h
author User@User-PC.domain_not_set.invalid
Fri, 26 Mar 2010 15:22:34 -0700
changeset 10 79eeacfd15ff
parent 3 e6d1a78b6db9
child 11 f3dbeee07821
permissions -rw-r--r--
implement eco details with webview

#ifndef FISHES_H
#define FISHES_H

#include <QObject>
#include <QStringList>

class Fishes : public QObject
{
    Q_OBJECT
public:
    Fishes(QObject *parent=0);
    enum TCATEGORIES {EPresentBest=0, EPresentOK, EPresentWorst};

    const QStringList GetBest();
    const QStringList GetOK();
    const QStringList GetWorst();

    QString getEcoDetails(QString name);

private:
    void populate(TCATEGORIES cat);
    QStringList bestFish;
    QStringList okFish;
    QStringList worstFish;
};

#endif // FISHES_H