dotherside/Nim/NimQml/NimQmlTypes.nim

15 lines
494 B
Nim
Raw Normal View History

2014-12-08 12:55:09 +01:00
import tables
type
QVariant* = distinct pointer ## A QVariant
QQmlApplicationEngine* = distinct pointer ## A QQmlApplicationEngine
QQmlContext* = distinct pointer ## A QQmlContext
QApplication* = distinct pointer ## A QApplication
QObject* {.inheritable.} = ref object of RootObj ## A QObject
name*: string
2014-12-08 12:55:09 +01:00
data*: pointer
slots*: Table[string, cint]
signals*: Table[string, cint]
properties*: Table[string, cint]
QQuickView* = distinct pointer ## A QQuickView