Improve QML types

This commit is contained in:
Tobias Fella
2023-08-30 19:12:11 +02:00
parent 002961f638
commit e05e0f5489
7 changed files with 13 additions and 7 deletions

View File

@@ -14,7 +14,8 @@ import org.kde.neochat 1.0
Kirigami.ScrollablePage {
id: root
property var connection
required property NeoChatConnection connection
property alias keyword: identifierField.text
property string server

View File

@@ -100,7 +100,7 @@ QQC2.ToolBar {
delegate: Delegates.RoundedItemDelegate {
id: userDelegate
required property var connection
required property NeoChatConnection connection
width: parent.width
text: connection.localUser.displayName

View File

@@ -15,7 +15,7 @@ import org.kde.neochat 1.0
Kirigami.ScrollablePage {
id: root
property var connection
property NeoChatConnection connection
title: i18n("Start a Chat")