equal
deleted
inserted
replaced
|
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 |