java.lang.Object
io.qt.internal.NativeUtility.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
ModifierConstructorDescriptionQSourceLocation
(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
Constructor for internal use only.QSourceLocation
(QSourceLocation other) -
Method Summary
Modifier and TypeMethodDescriptionclone()
final long
column()
boolean
Used 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.int
hashCode()
final boolean
isNull()
final long
line()
final void
setColumn
(long newColumn) final void
setLine
(long newLine) final void
toString()
final QUrl
uri()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
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 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
-