7#include <QtSql/qtsqlglobal.h>
8#include <QtCore/qshareddata.h>
9#include <QtCore/qstring.h>
33 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(
QSqlError)
43 ErrorType
type()
const;
44 QString nativeErrorCode()
const;
54#ifndef QT_NO_DEBUG_STREAM
The QSqlError class provides SQL database error information.
QSqlError(const QSqlError &other)
Creates a copy of other.
QSqlError(QSqlError &&other) noexcept=default
Move-constructs a QSqlError instance, making it point at the same object that other was pointing to.
QSqlError & operator=(const QSqlError &other)
Move-assigns other to this QSqlError instance.
~QSqlError()
Destroys the object and frees any allocated resources.
void swap(QSqlError &other) noexcept
Swaps error other with this error.
ErrorType
This enum type describes the context in which the error occurred, e.g., a connection error,...
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
constexpr bool operator!=(const timespec &t1, const timespec &t2)
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
#define QT_DECLARE_QESDP_SPECIALIZATION_DTOR_WITH_EXPORT(Class, ExportMacro)
Q_SQL_EXPORT QDebug operator<<(QDebug, const QSqlError &)