java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.sql.QSqlError
- All Implemented Interfaces:
io.qt.QtObjectInterface,Cloneable
SQL database error information
Java wrapper for Qt's class QSqlError
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.qt.QtObject
io.qt.QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionOverloaded constructor forQSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)protectedQSqlError(io.qt.QtObject.QPrivateConstructor p) 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, String errorCode) -
Method Summary
Modifier and TypeMethodDescriptionclone()final Stringfinal StringbooleanUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.inthashCode()final booleanisValid()final Stringfinal voidfinal Stringtext()toString()final QSqlError.ErrorTypetype()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.NoErrorerrorCode = (String)null
-
QSqlError
Overloaded constructor for
QSqlError(java.lang.String, java.lang.String, io.qt.sql.QSqlError.ErrorType, java.lang.String)with:
databaseText = (String)nulltype = io.qt.sql.QSqlError.ErrorType.NoErrorerrorCode = (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)nulldatabaseText = (String)nulltype = io.qt.sql.QSqlError.ErrorType.NoErrorerrorCode = (String)null
-
QSqlError
public QSqlError(String driverText, String databaseText, QSqlError.ErrorType type, String errorCode) -
QSqlError
protected QSqlError(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
databaseText
-
driverText
-
isValid
@QtUninvokable public final boolean isValid() -
nativeErrorCode
-
swap
-
text
-
type
-
equals
Description copied from class:io.qt.QtObjectUsed 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.- Overrides:
equalsin classio.qt.QtObject- Parameters:
other- The object with which to compare- Returns:
- true if the native resources of the two objects are one and the same.
-
hashCode
@QtUninvokable public int hashCode() -
toString
-
clone
-