java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.xmlpatterns.QSourceLocation
- All Implemented Interfaces:
io.qt.QtObjectInterface,Cloneable
Identifies a location in a resource by URI, line, and column
Java wrapper for Qt class QSourceLocation
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
io.qt.QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQSourceLocation(io.qt.core.QUrl uri) Overloaded constructor forQSourceLocation(io.qt.core.QUrl, int, int)QSourceLocation(io.qt.core.QUrl uri, int line) Overloaded constructor forQSourceLocation(io.qt.core.QUrl, int, int)withcolumn = -1.QSourceLocation(io.qt.core.QUrl uri, int line, int column) protectedQSourceLocation(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only.QSourceLocation(QSourceLocation other) -
Method Summary
Modifier and TypeMethodDescriptionclone()final longcolumn()booleanUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.inthashCode()final booleanisNull()final longline()final voidsetColumn(long newColumn) final voidsetLine(long newLine) final voidsetUri(io.qt.core.QUrl newUri) toString()final io.qt.core.QUrluri()Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSourceLocation
public QSourceLocation() -
QSourceLocation
-
QSourceLocation
public QSourceLocation(io.qt.core.QUrl uri, int line) Overloaded constructor for
QSourceLocation(io.qt.core.QUrl, int, int)withcolumn = -1. -
QSourceLocation
public QSourceLocation(io.qt.core.QUrl uri) -
QSourceLocation
public QSourceLocation(io.qt.core.QUrl uri, int line, int column) -
QSourceLocation
protected QSourceLocation(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
column
@QtUninvokable public final long column() -
isNull
@QtUninvokable public final boolean isNull() -
line
@QtUninvokable public final long line() -
setColumn
@QtUninvokable public final void setColumn(long newColumn) -
setLine
@QtUninvokable public final void setLine(long newLine) -
setUri
@QtUninvokable public final void setUri(io.qt.core.QUrl newUri) -
uri
@QtUninvokable public final io.qt.core.QUrl uri() -
equals
Description copied from class:io.qt.QtObjectUsed 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.- Overrides:
equalsin classio.qt.QtObject- Parameters:
other- The object with which to compare- Returns:
- true if the native resources of the two objects are one and the same.
-
hashCode
@QtUninvokable public int hashCode() -
toString
-
clone
-