ViewHelper.qml 259 B

123456789101112131415
  1. import QtQuick
  2. Item {
  3. // function to format the todo title for display
  4. // appends draft number for drafts
  5. function formatTitle(todo) {
  6. if(!todo)
  7. return ""
  8. return qsTr("Todo") + " " + todo.id
  9. }
  10. }