3#include <QGuiApplication>
4#include <QQmlApplicationEngine>
23 [[nodiscard]]
int run()
const;
27 [[nodiscard]] QQmlApplicationEngine*
qmlEngine()
const;
34 static void initializeSentry();
36 void registerQmlTypes()
const;
38 void addFonts()
const;
40 QScopedPointer<QGuiApplication> m_Application;
41 QScopedPointer<QQmlApplicationEngine> m_Engine{
new QQmlApplicationEngine};
42 QScopedPointer<Settings, QScopedPointerDeleteLater> m_Settings{
new Settings};
The Application class used to manage the application.
Definition application.h:12
Application(int &argc, char **argv)
Definition application.cpp:78
Application(Application &&)=delete
QQmlApplicationEngine * qmlEngine() const
Returns the QML engine.
Definition application.cpp:109
Application & operator=(const Application &)=delete
int run() const
Runs the application.
Definition application.cpp:107
Settings * settings() const
Returns the settings.
Definition application.cpp:111
Application & operator=(Application &&)=delete
Application(const Application &)=delete
The Settings class is a singleton that manages the application settings.
Definition settings.h:12
Definition application.cpp:63