Seafood/Fishes.h
changeset 3 e6d1a78b6db9
child 10 79eeacfd15ff
equal deleted inserted replaced
2:6894bf2709c0 3:e6d1a78b6db9
       
     1 #ifndef FISHES_H
       
     2 #define FISHES_H
       
     3 
       
     4 #include <QObject>
       
     5 #include <QStringList>
       
     6 
       
     7 class Fishes : public QObject
       
     8 {
       
     9     Q_OBJECT
       
    10 public:
       
    11     Fishes(QObject *parent=0);
       
    12     enum TCATEGORIES {EPresentBest=0, EPresentOK, EPresentWorst};
       
    13 
       
    14     const QStringList GetBest();
       
    15     const QStringList GetOK();
       
    16     const QStringList GetWorst();
       
    17 
       
    18 private:
       
    19     void populate(TCATEGORIES cat);
       
    20     QStringList bestFish;
       
    21     QStringList okFish;
       
    22     QStringList worstFish;
       
    23     // QSqlDatabase db;
       
    24 };
       
    25 
       
    26 #endif // FISHES_H