Init controller.
This commit is contained in:
parent
0c1068c619
commit
6d34f1042f
|
@ -14,7 +14,8 @@ DEFINES += QT_DEPRECATED_WARNINGS
|
||||||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
# 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
|
#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 += \
|
RESOURCES += \
|
||||||
res.qrc
|
res.qrc
|
||||||
|
@ -43,3 +44,6 @@ DISTFILES += \
|
||||||
ContactDetailForm.qml \
|
ContactDetailForm.qml \
|
||||||
Contact.qml \
|
Contact.qml \
|
||||||
Setting.qml
|
Setting.qml
|
||||||
|
|
||||||
|
HEADERS += \
|
||||||
|
matrix/controller.h
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#include "controller.h"
|
||||||
|
|
||||||
|
Controller::Controller(QObject *parent) : QObject(parent)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
#ifndef CONTROLLER_H
|
||||||
|
#define CONTROLLER_H
|
||||||
|
|
||||||
|
#include <QObject>
|
||||||
|
|
||||||
|
class Controller : public QObject
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
public:
|
||||||
|
explicit Controller(QObject *parent = nullptr);
|
||||||
|
|
||||||
|
signals:
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // CONTROLLER_H
|
Loading…
Reference in New Issue