mirror of https://github.com/status-im/nimqml.git
Renaming the metaObject instance for not conflict with QAbstractListModel
This commit is contained in:
parent
60c62c6a3f
commit
dfb80cb122
|
@ -1,12 +1,12 @@
|
|||
let staticMetaObjectInstance = newQObjectMetaObject()
|
||||
let qObjectStaticMetaObjectInstance = newQObjectMetaObject()
|
||||
|
||||
proc staticMetaObject*(c: type QObject): QMetaObject =
|
||||
## Return the metaObject of QObject
|
||||
staticMetaObjectInstance
|
||||
qObjectStaticMetaObjectInstance
|
||||
|
||||
proc staticMetaObject*(self: QObject): QMetaObject =
|
||||
## Return the metaObject of QObject
|
||||
staticMetaObjectInstance
|
||||
qObjectStaticMetaObjectInstance
|
||||
|
||||
proc objectName*(self: QObject): string =
|
||||
## Return the QObject name
|
||||
|
|
Loading…
Reference in New Issue