equal
deleted
inserted
replaced
21 #include <QPainter> |
21 #include <QPainter> |
22 #include "hwconsts.h" |
22 #include "hwconsts.h" |
23 #include "hwform.h" |
23 #include "hwform.h" |
24 #include "hats.h" |
24 #include "hats.h" |
25 |
25 |
26 #include "HWDataManager.h" |
26 #include "DataManager.h" |
27 |
27 |
28 HatsModel::HatsModel(QObject* parent) : |
28 HatsModel::HatsModel(QObject* parent) : |
29 QAbstractListModel(parent) |
29 QAbstractListModel(parent) |
30 { |
30 { |
31 HWDataManager & dataMgr = HWDataManager::instance(); |
31 DataManager & dataMgr = DataManager::instance(); |
32 |
32 |
33 QPixmap hhpix = QPixmap( |
33 QPixmap hhpix = QPixmap( |
34 dataMgr.findFileForRead("Graphics/Hedgehog/Idle.png") |
34 dataMgr.findFileForRead("Graphics/Hedgehog/Idle.png") |
35 ).copy(0, 0, 32, 32); |
35 ).copy(0, 0, 32, 32); |
36 |
36 |