From 7dadd495657a8baa67d26dcd6f961e1c523d2a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Fri, 6 Sep 2019 12:03:43 +0800 Subject: Task related views using the C++ model --- main.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main.cxx') diff --git a/main.cxx b/main.cxx index db21e08..9437396 100644 --- a/main.cxx +++ b/main.cxx @@ -1,7 +1,9 @@ #include #include +#include #include "user.hxx" #include "controller.hxx" +#include "tasklist.hxx" int main(int argc, char* argv[]) { @@ -21,6 +23,8 @@ int main(int argc, char* argv[]) auto appWindow = rootObjects[0]; Controller controller{appWindow}; + TaskList taskList; + engine.rootContext()->setContextProperty("taskList", &taskList); return app.exec(); } -- cgit v1.2.3