- All Implemented Interfaces:
QtObjectInterface
,Cloneable
SQL database error information
Java wrapper for Qt class QSqlError
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
Overloaded constructor forQSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
Overloaded constructor forQSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
QSqlError
(String driverText, String databaseText, QSqlError.ErrorType type) Overloaded constructor forQSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
witherrorCode = (String)null
.QSqlError
(String driverText, String databaseText, QSqlError.ErrorType type, int number) QSqlError
(String driverText, String databaseText, QSqlError.ErrorType type, String errorCode) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final void
Overloaded function forassign(io.qt.sql.QSqlError)
.clone()
Creates and returns a copy of this object.final String
final String
final boolean
final boolean
Overloaded function forequals(io.qt.sql.QSqlError)
.boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QSqlError)
.final boolean
isValid()
final String
final int
number()
final void
setDatabaseText
(String databaseText) final void
setDriverText
(String driverText) final void
setNumber
(int number) final void
setType
(QSqlError.ErrorType type) final void
final String
text()
toString()
Seeoperator<<(QDebug,
QSqlError) final QSqlError.ErrorType
type()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSqlError
-
QSqlError
public QSqlError(String driverText, String databaseText, QSqlError.ErrorType type, String errorCode) -
QSqlError
-
QSqlError
Overloaded constructor for
QSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
witherrorCode = (String)null
. -
QSqlError
Overloaded constructor for
QSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
with:
type = io.qt.sql.QSqlError.ErrorType.NoError
errorCode = (String)null
-
QSqlError
Overloaded constructor for
QSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
with:
databaseText = (String)null
type = io.qt.sql.QSqlError.ErrorType.NoError
errorCode = (String)null
-
QSqlError
public QSqlError()Overloaded constructor for
QSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
with:
driverText = (String)null
databaseText = (String)null
type = io.qt.sql.QSqlError.ErrorType.NoError
errorCode = (String)null
-
-
Method Details
-
databaseText
-
driverText
-
isValid
-
nativeErrorCode
-
number
-
assign
-
equals
-
setDatabaseText
-
setDriverText
-
setNumber
-
setType
-
swap
-
text
-
type
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QSqlError)
. -
toString
See
operator<<(QDebug,
QSqlError) -
clone
Creates and returns a copy of this object.
-
assign
Overloaded function for
assign(io.qt.sql.QSqlError)
. -
equals
Overloaded function for
equals(io.qt.sql.QSqlError)
.
-