Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

MVC Architecture Demo App

 import QtQuick 2.0

 Item {

   // actions
   signal fetchTodos()

   signal fetchTodoDetails(int id)

   signal fetchDraftTodos()

   signal storeTodo(var todo)

   signal clearCache()

   signal login(string username, string password)

   signal logout()

   // function to store a new todo
   function addTodo(title) {
     var draft = {
       completed: false,
       title: title,
       userId: 1,
     }

     storeTodo(draft)
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded