java.lang.Object
io.qt.QtObject
io.qt.script.QScriptProgram
- All Implemented Interfaces:
QtObjectInterface,Cloneable
Encapsulates a Qt Script program
Java wrapper for Qt's class QScriptProgram
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQScriptProgram(QScriptProgram other) QScriptProgram(String sourceCode) Overloaded constructor for}invalid @link
{@link #(java.lang.String, java.lang.String, int)QScriptProgram(String sourceCode, String fileName) Overloaded constructor for} withinvalid @link
{@link #(java.lang.String, java.lang.String, int)firstLineNumber = 1.QScriptProgram(String sourceCode, String fileName, int firstLineNumber) protectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QScriptProgram other) clone()booleanUsed to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final StringfileName()final intinthashCode()final booleanisNull()final StringMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QScriptProgram
public QScriptProgram() -
QScriptProgram
-
QScriptProgram
Overloaded constructor for
} withinvalid @link
{@link #(java.lang.String, java.lang.String, int)firstLineNumber = 1. -
QScriptProgram
Overloaded constructor for
}invalid @link
{@link #(java.lang.String, java.lang.String, int)with:
fileName = (String)nullfirstLineNumber = 1
-
QScriptProgram
-
QScriptProgram
Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
fileName
-
firstLineNumber
-
isNull
-
assign
-
sourceCode
-
equals
Description copied from class:io.qt.QtObjectUsed to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-