- 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, 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 void
final String
text()
toString()
Seeoperator<<(QDebug,
QSqlError) final QSqlError.ErrorType
type()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSqlError
- Parameters:
other
-
-
QSqlError
public QSqlError(String driverText, String databaseText, QSqlError.ErrorType type, String errorCode) - Parameters:
driverText
-databaseText
-type
-errorCode
-
-
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
- Returns:
-
driverText
- Returns:
-
isValid
- Returns:
-
nativeErrorCode
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
swap
- Parameters:
other
-
-
text
- Returns:
-
type
- Returns:
-
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)
.
-