equal
deleted
inserted
replaced
|
1 #ifndef MODELFACTORY_H |
|
2 #define MODELFACTORY_H |
|
3 |
|
4 class QStandardItemModel; |
|
5 |
|
6 class ModelFactory |
|
7 { |
|
8 public: |
|
9 static QStandardItemModel *populateTreeModelDefault(); |
|
10 static QStandardItemModel *populateTreeModelSimple(); |
|
11 // for debugging: |
|
12 static QStandardItemModel *populateTreeModelSimpleOfSimplest(); |
|
13 static QStandardItemModel *populateTreeModelDeep(); |
|
14 static QStandardItemModel *populateTreeModelFlat(); |
|
15 static QStandardItemModel *populateTreeModelMail(); |
|
16 static QStandardItemModel *populateTreeModelMixed(); |
|
17 static QStandardItemModel *populateGreenOddBrownEvenModel(); |
|
18 }; |
|
19 |
|
20 #endif // MODELFACTORY_H |