Renaming the metaObject instance for not conflict with QAbstractListModel

This commit is contained in:
Filippo Cucchetto 2016-02-20 12:49:57 +01:00
parent 60c62c6a3f
commit dfb80cb122
1 changed files with 3 additions and 3 deletions

View File

@ -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