status-desktop/ui/app/AppLayouts/Onboarding/stores/LoginStore.qml

25 lines
501 B
QML
Raw Normal View History

pragma Singleton
import QtQuick 2.13
QtObject {
property var loginModul: loginModule
property var currentAccount: loginModule.selectedAccount
function login(password) {
loginModul.login(password)
}
2021-10-16 19:03:01 +00:00
// function tryToObtainPassword() {
// loginModel.tryToObtainPassword()
// }
function setCurrentAccount(index) {
loginModul.setSelectedAccountByIndex(index)
}
function rowCount() {
return loginModul.accountsModel.rowCount()
}
}