Seafood/Fishes.h
author John Kern <johnk@symbian.org>
Thu, 01 Apr 2010 14:57:00 -0700
changeset 13 92f7e918c7b5
parent 11 f3dbeee07821
child 14 a16afe3df8c9
permissions -rwxr-xr-x
display context menus

#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();
    const QString GetDbErr() { return dbErrString; };

    QString getEcoDetails(QString name);

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

#endif // FISHES_H