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 class QSourceLocation
- Since:
- This class was introduced in Qt 4.4.
-
Constructor Summary
ConstructorDescriptionQSourceLocation
(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) QSourceLocation
(QSourceLocation other) QSourceLocation
(String uri) Overloaded constructor forQSourceLocation(java.lang.String, int, int)
QSourceLocation
(String uri, int line) Overloaded constructor forQSourceLocation(java.lang.String, int, int)
withcolumn = -1
.QSourceLocation
(String uri, int line, int column) Overloaded constructor forQSourceLocation(io.qt.core.QUrl, int, int)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Overloaded function forassign(io.qt.xmlpatterns.QSourceLocation)
.final void
assign
(QSourceLocation other) clone()
Creates and returns a copy of this object.final long
column()
final boolean
Overloaded function forequals(io.qt.xmlpatterns.QSourceLocation)
.final boolean
equals
(QSourceLocation other) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QSourceLocation)
.final boolean
isNull()
final long
line()
final void
setColumn
(long newColumn) final void
setLine
(long newLine) final void
final void
Overloaded function forsetUri(io.qt.core.QUrl)
.toString()
Seeoperator<<(QDebug,
QSourceLocation) final QUrl
uri()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSourceLocation
public QSourceLocation() -
QSourceLocation
- Parameters:
other
-
-
QSourceLocation
- Parameters:
uri
-line
-column
-
-
QSourceLocation
Overloaded constructor for
QSourceLocation(io.qt.core.QUrl, int, int)
withcolumn = -1
. -
QSourceLocation
-
QSourceLocation
Overloaded constructor for
QSourceLocation(java.lang.String, int, int)
withcolumn = -1
. -
QSourceLocation
-
QSourceLocation
Overloaded constructor for
QSourceLocation(io.qt.core.QUrl, int, int)
.
-
-
Method Details
-
column
- Returns:
-
isNull
- Returns:
-
line
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
setColumn
- Parameters:
newColumn
-
-
setLine
- Parameters:
newLine
-
-
setUri
- Parameters:
newUri
-
-
uri
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QSourceLocation)
. -
toString
See
operator<<(QDebug,
QSourceLocation) -
clone
Creates and returns a copy of this object.
-
assign
Overloaded function for
assign(io.qt.xmlpatterns.QSourceLocation)
. -
equals
Overloaded function for
equals(io.qt.xmlpatterns.QSourceLocation)
. -
setUri
Overloaded function for
setUri(io.qt.core.QUrl)
.
-