mirror of
https://github.com/status-im/dotherside.git
synced 2025-02-12 12:46:24 +00:00
Now require objects to be explicitly exported for create to be exported
This commit is contained in:
parent
7b25e28d58
commit
9e91b25cda
@ -3,7 +3,7 @@
|
|||||||
import NimQml, NimQmlMacros
|
import NimQml, NimQmlMacros
|
||||||
|
|
||||||
QtObject:
|
QtObject:
|
||||||
type Contact = ref object of QObject
|
type Contact* = ref object of QObject
|
||||||
m_name: string
|
m_name: string
|
||||||
|
|
||||||
template newContact*(): Contact =
|
template newContact*(): Contact =
|
||||||
@ -24,4 +24,4 @@ QtObject:
|
|||||||
QtProperty name of string:
|
QtProperty name of string:
|
||||||
read = getName
|
read = getName
|
||||||
write = setName
|
write = setName
|
||||||
notify = nameChanged
|
notify = nameChanged
|
||||||
|
Loading…
x
Reference in New Issue
Block a user