java.lang.Object
io.qt.QtObject
io.qt.xmlpatterns.QSourceLocation
- All Implemented Interfaces:
QtObjectInterface,Cloneable
Identifies a location in a resource by URI, line, and column
Java wrapper for Qt's class QSourceLocation
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQSourceLocation(QUrl uri) Overloaded constructor for}invalid @link
{@link #(io.qt.core.QUrl, int, int)QSourceLocation(QUrl uri, int line) Overloaded constructor for} withinvalid @link
{@link #(io.qt.core.QUrl, int, int)column = -1.QSourceLocation(QUrl uri, int line, int column) QSourceLocation(QSourceLocation other) protectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QSourceLocation other) clone()final longcolumn()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.inthashCode()final booleanisNull()final longline()final voidsetColumn(long newColumn) final voidsetLine(long newLine) final voidtoString()final QUrluri()Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSourceLocation
public QSourceLocation() -
QSourceLocation
-
QSourceLocation
Overloaded constructor for
} withinvalid @link
{@link #(io.qt.core.QUrl, int, int)column = -1. -
QSourceLocation
Overloaded constructor for
}invalid @link
{@link #(io.qt.core.QUrl, int, int)with:
line = -1column = -1
-
QSourceLocation
-
QSourceLocation
Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
column
-
isNull
-
line
-
assign
-
setColumn
-
setLine
-
setUri
-
uri
-
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
-
toString
-
clone
-