We currently have
components/accounts/*
components/mailviewer/qml/*
components/package/contents/ui/*
components/mail/contents/ui/main.qml
installed as:
install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kube/components)
install(DIRECTORY package/contents/ui/ DESTINATION ${QML_INSTALL_DIR}/org/kube/components)
install(DIRECTORY mailviewer/qml/ DESTINATION ${QML_INSTALL_DIR}/org/kube/mailviewer)
install(DIRECTORY accounts/ DESTINATION ${QML_INSTALL_DIR}/org/kube/accounts)
We should restructure it so:
- We have a Kube.Mail component that can be loaded from tests as well.
- We have one mail.qml that is mostly empty except instantiating the Kube.Mail component
- Mailviewer and accounts become components (with the same directory structure)