java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.sql.QSqlError
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
SQL database error information
Java wrapper for Qt's class QSqlError
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)
protected
Constructor for internal use only.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) Deprecated.QSqlError
(String driverText, String databaseText, QSqlError.ErrorType type, String errorCode) -
Method Summary
Modifier and TypeMethodDescriptionclone()
final String
final String
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
final boolean
isValid()
final String
final int
number()
Deprecated.final void
setDatabaseText
(String databaseText) Deprecated.final void
setDriverText
(String driverText) Deprecated.final void
setNumber
(int number) Deprecated.final void
setType
(QSqlError.ErrorType type) Deprecated.final void
final String
text()
toString()
final QSqlError.ErrorType
type()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
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
-
QSqlError
public QSqlError(String driverText, String databaseText, QSqlError.ErrorType type, String errorCode) -
QSqlError
@Deprecated public QSqlError(String driverText, String databaseText, QSqlError.ErrorType type, int number) Deprecated. -
QSqlError
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
databaseText
-
driverText
-
isValid
-
nativeErrorCode
-
number
Deprecated. -
setDatabaseText
Deprecated. -
setDriverText
Deprecated. -
setNumber
Deprecated. -
setType
Deprecated. -
swap
-
text
-
type
-
equals
Description copied from class:QtObject
Used 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. -
hashCode
-
toString
-
clone
-