Fix type name for NeoChatDateTime
QML doesn't want it to start with an uppercase letter
This commit is contained in:
committed by
Joshua Goins
parent
6b664b0547
commit
4c31f42144
@@ -20,9 +20,9 @@ Components.AbstractMaximizeComponent {
|
|||||||
property NeochatRoomMember author
|
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.
|
* @brief The code text to show.
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
class NeoChatDateTime
|
class NeoChatDateTime
|
||||||
{
|
{
|
||||||
Q_GADGET
|
Q_GADGET
|
||||||
QML_ELEMENT
|
QML_NAMED_ELEMENT(neoChatDateTime)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief The base QDateTime used to generate the other values.
|
* @brief The base QDateTime used to generate the other values.
|
||||||
|
|||||||
@@ -27,9 +27,9 @@ RowLayout {
|
|||||||
required property var author
|
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.fillWidth: true
|
||||||
Layout.maximumWidth: Message.maxContentWidth
|
Layout.maximumWidth: Message.maxContentWidth
|
||||||
|
|||||||
@@ -28,9 +28,9 @@ QQC2.Control {
|
|||||||
required property NeochatRoomMember author
|
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.
|
* @brief The display text of the message.
|
||||||
|
|||||||
@@ -50,9 +50,9 @@ MessageDelegateBase {
|
|||||||
required property MessageContentModel contentModel
|
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.
|
* @brief A model with the first 5 other user read markers for this message.
|
||||||
|
|||||||
@@ -14,9 +14,9 @@ TimelineDelegate {
|
|||||||
id: root
|
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
|
property bool isTemporaryHighlighted: false
|
||||||
onIsTemporaryHighlightedChanged: if (isTemporaryHighlighted) {
|
onIsTemporaryHighlightedChanged: if (isTemporaryHighlighted) {
|
||||||
|
|||||||
@@ -49,9 +49,9 @@ TimelineDelegate {
|
|||||||
required property bool showSection
|
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.
|
* @brief A model with the first 5 other user read markers for this message.
|
||||||
|
|||||||
Reference in New Issue
Block a user