java.lang.Object
io.qt.QtArgument
QtArgument is used to initialize an interface type or a set of inherited interface types with their non-standard constructors.
Example:
private static class SurfaceObject extends QObject implements QSurface{
// parameter parent is for QObject constructor
// parameter type is for QSurface constructor
public SurfaceObject(QObject parent, SurfaceClass type){
super((QPrivateConstructor)null);
// we need to use the private constructor and initialize the native portion of the object otherwise:
QtUtilities.initializeNativeObject(this,
QtArgument.begin(QObject.class).add(parent)
.begin(QSurface.class).add(type)
);
}
}
-
Nested Class Summary
-
Method Summary
-
Method Details
-
begin
-