// Copyright (C) 2022 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #define QT_SQL_BUILD_REMOVED_API #include "qtsqlglobal.h" QT_USE_NAMESPACE #if QT_SQL_REMOVED_SINCE(6, 4) // #include // // implement removed functions from qotherheader.h // order sections alphabetically to reduce chances of merge conflicts #endif // QT_SQL_REMOVED_SINCE(6, 4) #if QT_SQL_REMOVED_SINCE(6, 5) #if QT_CONFIG(sqlmodel) #include "qsqlquerymodel.h" #include "qsqlquery.h" QSqlQuery QSqlQueryModel::query() const { QT_IGNORE_DEPRECATIONS(return query(QT6_CALL_NEW_OVERLOAD);) } #include "qsqltablemodel.h" void QSqlTableModel::setQuery(const QSqlQuery &query) { QT_IGNORE_DEPRECATIONS(QSqlQueryModel::setQuery(query);) } #endif // QT_CONFIG(sqlmodel) // #include // // implement removed functions from qotherheader.h // order sections alphabetically to reduce chances of merge conflicts #endif // QT_SQL_REMOVED_SINCE(6, 5)