java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.script.QScriptProgram
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QScriptProgram extends QtObject implements Cloneable
Encapsulates a Qt Script program
Java wrapper for Qt class QScriptProgram
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QScriptProgram()
protected
QScriptProgram(QtObject.QPrivateConstructor p)
Constructor for internal use only.QScriptProgram(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 Type Method Description QScriptProgram
clone()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.String
fileName()
int
firstLineNumber()
int
hashCode()
boolean
isNull()
String
sourceCode()
-
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 = ""
firstLineNumber = 1
-
QScriptProgram
-
QScriptProgram
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
fileName
-
firstLineNumber
-
isNull
-
sourceCode
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-