parent
e9f770f02c
commit
dd9653bdec
|
@ -111,15 +111,15 @@ QtObject:
|
||||||
# read = reactionIds
|
# read = reactionIds
|
||||||
|
|
||||||
proc pinned*(self: MessageItem): bool {.slot.} = result = ?.self.messageItem.pinned
|
proc pinned*(self: MessageItem): bool {.slot.} = result = ?.self.messageItem.pinned
|
||||||
QtProperty[int] bool:
|
QtProperty[bool] pinned:
|
||||||
read = bool
|
read = bool
|
||||||
|
|
||||||
proc editMode*(self: MessageItem): bool {.slot.} = result = ?.self.messageItem.editMode
|
proc editMode*(self: MessageItem): bool {.slot.} = result = ?.self.messageItem.editMode
|
||||||
QtProperty[int] bool:
|
QtProperty[bool] editMode:
|
||||||
read = bool
|
read = bool
|
||||||
|
|
||||||
proc isEdited*(self: MessageItem): bool {.slot.} = result = ?.self.messageItem.isEdited
|
proc isEdited*(self: MessageItem): bool {.slot.} = result = ?.self.messageItem.isEdited
|
||||||
QtProperty[int] bool:
|
QtProperty[bool] isEdited:
|
||||||
read = bool
|
read = bool
|
||||||
|
|
||||||
# this is not the greatest approach, but aligns with the rest of the code
|
# this is not the greatest approach, but aligns with the rest of the code
|
||||||
|
|
Loading…
Reference in New Issue