java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.xmlpatterns.QSourceLocation
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QSourceLocation extends QtObject implements Cloneable
Identifies a location in a resource by URI, line, and column
Java wrapper for Qt class QSourceLocation
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QSourceLocation()
QSourceLocation(QUrl uri)
Overloaded constructor forQSourceLocation(io.qt.core.QUrl, int, int)
QSourceLocation(QUrl uri, int line)
Overloaded constructor forQSourceLocation(io.qt.core.QUrl, int, int)
withcolumn = -1
.QSourceLocation(QUrl uri, int line, int column)
protected
QSourceLocation(QtObject.QPrivateConstructor p)
Constructor for internal use only.QSourceLocation(QSourceLocation other)
-
Method Summary
Modifier and Type Method Description QSourceLocation
clone()
long
column()
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.int
hashCode()
boolean
isNull()
long
line()
void
setColumn(long newColumn)
void
setLine(long newLine)
void
setUri(QUrl newUri)
String
toString()
QUrl
uri()
-
Constructor Details
-
QSourceLocation
public QSourceLocation() -
QSourceLocation
-
QSourceLocation
Overloaded constructor for
QSourceLocation(io.qt.core.QUrl, int, int)
withcolumn = -1
. -
QSourceLocation
-
QSourceLocation
-
QSourceLocation
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
column
-
isNull
-
line
-
setColumn
-
setLine
-
setUri
-
uri
-
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
-
toString
-
clone
-