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
ModifierConstructorDescriptionQScriptProgram
(QScriptProgram other) QScriptProgram
(String sourceCode) Overloaded constructor forQScriptProgram(java.lang.String, java.lang.String, int)
QScriptProgram
(String sourceCode, String fileName) Overloaded constructor forQScriptProgram(java.lang.String, java.lang.String, int)
withfirstLineNumber = 1
.QScriptProgram
(String sourceCode, String fileName, int firstLineNumber) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QScriptProgram other) clone()
boolean
Used 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 String
fileName()
final int
int
hashCode()
final boolean
isNull()
final String
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QScriptProgram
public QScriptProgram() -
QScriptProgram
-
QScriptProgram
Overloaded constructor for
QScriptProgram(java.lang.String, java.lang.String, int)
withfirstLineNumber = 1
. -
QScriptProgram
Overloaded constructor for
QScriptProgram(java.lang.String, java.lang.String, int)
with:
fileName = (String)null
firstLineNumber = 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:QtObject
Used 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
-