renamed QtType macro to QtObject

This commit is contained in:
Will Szumski 2015-01-04 20:56:35 +00:00
parent e5888a989f
commit 62ecd19e60
2 changed files with 1 additions and 3 deletions

View File

@ -1,13 +1,11 @@
import NimQmlTypes
import tables
from NimQmlMacros import QtType
export QObject
export QApplication
export QVariant
export QQmlApplicationEngine
export QQmlContext
export QtType
type QMetaType* {.pure.} = enum
UnknownType = cint(0),

View File

@ -227,7 +227,7 @@ proc getIdentDefName*(a: PNimrodNode): PNimrodNode {.compileTime.} =
elif a[0].kind == nnkPostFix:
return a[0][1]
macro QtType*(qtDecl: stmt): stmt {.immediate.} =
macro QtObject*(qtDecl: stmt): stmt {.immediate.} =
expectKind(qtDecl, nnkStmtList)
#echo treeRepr qtDecl
result = newStmtList()