formatting and include fix

This commit is contained in:
Michael Mandl 2018-05-23 17:47:04 +02:00
parent 27ace83ddd
commit 060933f716
8 changed files with 85 additions and 83 deletions

View file

@ -3,7 +3,7 @@
#include "CheckableItem.h" #include "CheckableItem.h"
#include <QJsonObject> #include <QJsonObject>
#include <map> #include <vector>
class CheckableItems : public std::vector<CheckableItem> class CheckableItems : public std::vector<CheckableItem>
{ {

View file

@ -10,8 +10,10 @@ class GenusModel : public QAbstractTableModel
Q_OBJECT Q_OBJECT
private: private:
CheckableItems m_tiere = { "Tiger", "Bär", "Katze", "Pferd", "Gans", "Elefant", "Katze", "Hund" }; CheckableItems m_tiere = {
CheckableItems m_futter = { "Salat", "Fleisch", "Knocken", "Banane", "Apfel", "Möhre", "Honig", "Zucker" }; "Tiger", "Bär", "Katze", "Pferd", "Gans", "Elefant", "Katze", "Hund"};
CheckableItems m_futter = {"Salat", "Fleisch", "Knocken", "Banane", "Apfel",
"Möhre", "Honig", "Zucker"};
CheckableItems m_zirkus = {"Kiste", "Holz", "Vorhang", "Baum"}; CheckableItems m_zirkus = {"Kiste", "Holz", "Vorhang", "Baum"};
public: public: