Fix type name for NeoChatDateTime

QML doesn't want it to start with an uppercase letter
This commit is contained in:
Tobias Fella
2026-02-06 15:04:17 +01:00
committed by Joshua Goins
parent 6b664b0547
commit 4c31f42144
7 changed files with 13 additions and 13 deletions

View File

@@ -20,9 +20,9 @@ Components.AbstractMaximizeComponent {
property NeochatRoomMember author
/**
* @brief The timestamp of the event as a NeoChatDateTime.
* @brief The timestamp of the event as a neoChatDateTime.
*/
required property NeoChatDateTime dateTime
required property neoChatDateTime dateTime
/**
* @brief The code text to show.

View File

@@ -18,7 +18,7 @@
class NeoChatDateTime
{
Q_GADGET
QML_ELEMENT
QML_NAMED_ELEMENT(neoChatDateTime)
/**
* @brief The base QDateTime used to generate the other values.

View File

@@ -27,9 +27,9 @@ RowLayout {
required property var author
/**
* @brief The timestamp of the event as a NeoChatDateTime.
* @brief The timestamp of the event as a neoChatDateTime.
*/
required property NeoChatDateTime dateTime
required property neoChatDateTime dateTime
Layout.fillWidth: true
Layout.maximumWidth: Message.maxContentWidth

View File

@@ -28,9 +28,9 @@ QQC2.Control {
required property NeochatRoomMember author
/**
* @brief The timestamp of the event as a NeoChatDateTime.
* @brief The timestamp of the event as a neoChatDateTime.
*/
required property NeoChatDateTime dateTime
required property neoChatDateTime dateTime
/**
* @brief The display text of the message.

View File

@@ -50,9 +50,9 @@ MessageDelegateBase {
required property MessageContentModel contentModel
/**
* @brief The timestamp of the event as a NeoChatDateTime.
* @brief The timestamp of the event as a neoChatDateTime.
*/
required property NeoChatDateTime dateTime
required property neoChatDateTime dateTime
/**
* @brief A model with the first 5 other user read markers for this message.

View File

@@ -14,9 +14,9 @@ TimelineDelegate {
id: root
/**
* @brief The timestamp of the event as a NeoChatDateTime.
* @brief The timestamp of the event as a neoChatDateTime.
*/
required property NeoChatDateTime dateTime
required property neoChatDateTime dateTime
property bool isTemporaryHighlighted: false
onIsTemporaryHighlightedChanged: if (isTemporaryHighlighted) {

View File

@@ -49,9 +49,9 @@ TimelineDelegate {
required property bool showSection
/**
* @brief The timestamp of the event as a NeoChatDateTime.
* @brief The timestamp of the event as a neoChatDateTime.
*/
required property NeoChatDateTime dateTime
required property neoChatDateTime dateTime
/**
* @brief A model with the first 5 other user read markers for this message.