java.lang.Object
io.qt.QtObject
io.qt.script.QScriptProgram
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Encapsulates a Qt Script program
Java wrapper for Qt class QScriptProgram
-
Constructor Summary
ConstructorDescriptionQScriptProgram
(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) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QScriptProgram other) clone()
Creates and returns a copy of this object.final boolean
equals
(QScriptProgram other) boolean
final String
fileName()
final int
int
hashCode()
Returns the objects's hash code computed byqHash(QScriptProgram)
.final boolean
isNull()
final String
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QScriptProgram
public QScriptProgram() -
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
-
-
Method Details
-
fileName
-
firstLineNumber
-
isNull
-
assign
-
equals
-
sourceCode
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QScriptProgram)
. -
clone
Creates and returns a copy of this object.
-