2024-10-15 19:26:12 +00:00
|
|
|
import QtQuick 2.15
|
2021-12-29 09:53:56 +00:00
|
|
|
|
|
|
|
QtObject {
|
|
|
|
id: root
|
|
|
|
|
|
|
|
property var languageModule
|
|
|
|
|
2022-07-22 11:57:48 +00:00
|
|
|
readonly property var languageModel: languageModule ? languageModule.model : null
|
2022-07-26 18:46:07 +00:00
|
|
|
readonly property string currentLanguage: languageModule ? languageModule.currentLanguage : null
|
2022-04-01 10:30:55 +00:00
|
|
|
|
2022-11-10 14:28:53 +00:00
|
|
|
function changeLanguage(language) {
|
|
|
|
root.languageModule.changeLanguage(language)
|
2022-04-01 10:30:55 +00:00
|
|
|
}
|
2021-12-29 09:53:56 +00:00
|
|
|
}
|