diff --git a/matrique.pro b/matrique.pro index 7ab4e1c61..1e2cb653f 100644 --- a/matrique.pro +++ b/matrique.pro @@ -14,7 +14,8 @@ DEFINES += QT_DEPRECATED_WARNINGS # You can also select to disable deprecated APIs only up to a certain version of Qt. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 -SOURCES += main.cpp +SOURCES += main.cpp \ + matrix/controller.cpp RESOURCES += \ res.qrc @@ -43,3 +44,6 @@ DISTFILES += \ ContactDetailForm.qml \ Contact.qml \ Setting.qml + +HEADERS += \ + matrix/controller.h diff --git a/matrix/controller.cpp b/matrix/controller.cpp new file mode 100644 index 000000000..01567c1e7 --- /dev/null +++ b/matrix/controller.cpp @@ -0,0 +1,6 @@ +#include "controller.h" + +Controller::Controller(QObject *parent) : QObject(parent) +{ + +} diff --git a/matrix/controller.h b/matrix/controller.h new file mode 100644 index 000000000..b069c82f5 --- /dev/null +++ b/matrix/controller.h @@ -0,0 +1,17 @@ +#ifndef CONTROLLER_H +#define CONTROLLER_H + +#include + +class Controller : public QObject +{ + Q_OBJECT +public: + explicit Controller(QObject *parent = nullptr); + +signals: + +public slots: +}; + +#endif // CONTROLLER_H \ No newline at end of file