-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEngineConfigurator.hpp
56 lines (42 loc) · 1.12 KB
/
EngineConfigurator.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#ifndef ENGINECONFIGURATOR_HPP
#define ENGINECONFIGURATOR_HPP
#include <QQmlApplicationEngine>
class QUrl;
class AppConfiguration;
namespace N_Settings {
class Settings;
}
namespace N_Models {
class IntrantsModel;
class ProjectsModel;
}
namespace N_Data {
class DataManager;
class SharedIntrant;
class SharedAction;
}
class QSortFilterProxyModel;
class EngineConfigurator
{
public:
EngineConfigurator(QQmlApplicationEngine& a_Engine);
void setupContext();
void setupSettings();
void loadQML(const QUrl& a_MainQml);
private:
void setupProxyModels();
void setupConnections();
private:
QQmlApplicationEngine& m_Engine;
AppConfiguration* m_AppConfiguration;
N_Settings::Settings* m_Settings;
N_Models::IntrantsModel* m_NewIntrantsModel;
N_Models::IntrantsModel* m_ReferencesModel;
N_Models::IntrantsModel* m_IncubatedModel;
N_Models::ProjectsModel* m_ProjectsModel;
QSortFilterProxyModel* m_ActionsModel;
N_Data::DataManager* m_DataManager;
N_Data::SharedIntrant* m_SharedIntrant;
N_Data::SharedAction* m_SharedAction;
};
#endif // ENGINECONFIGURATOR_HPP