10import org.kde.kcmutils as KCMUtils
11import SSO.OnlineAccounts as OA
16 property alias videoDesc: description.text
17 property alias videoTitle: title.text
18 property alias videoTags: tags.text
19 property var accountId
23 function accountChanged() {
24 var valid = accountsCombo.enabled && accountsCombo.currentIndex >= 0;
25 accountId = valid ? serviceModel.get(accountsCombo.currentIndex,
"accountId") : null
29 text:
i18nd(
"purpose6_youtube",
"Account:")
32 Layout.fillWidth:
true
36 Layout.fillWidth:
true
37 textRole:
"displayName"
39 model: OA.AccountServiceModel {
41 serviceType:
"google-youtube"
43 onCurrentIndexChanged: root.accountChanged()
44 Component.onCompleted: root.accountChanged()
47 icon.name:
"settings-configure"
48 onClicked: KCMUtils.KCMLauncher.openSystemSettings(
"kcm_kaccounts")
53 text:
i18nd(
"purpose6_youtube",
"Title:")
57 Layout.fillWidth:
true
58 placeholderText:
i18nd(
"purpose6_youtube",
"Enter a title for the video...")
62 text:
i18nd(
"purpose6_youtube",
"Tags:")
66 Layout.fillWidth:
true
67 placeholderText:
i18nd(
"purpose6_youtube",
"KDE, Kamoso")
71 text:
i18nd(
"purpose6_youtube",
"Description:")
75 wrapMode: TextEdit.Wrap
76 Layout.fillWidth:
true
77 Layout.fillHeight:
true
QString i18nd(const char *domain, const char *text, const TYPE &arg...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:06 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.