Obsolete Members for QSqlQuery
クラスQSqlQuery の以下のメンバは非推奨である。これらは古いソース・コードの動作を維持するために提供されています。新しいコードでは使用しないことを強くお勧めします。
パブリック関数
(deprecated in 6.2) | QSqlQuery(const QSqlQuery &other) |
(deprecated in 6.2) QSqlQuery & | operator=(const QSqlQuery &other) |
メンバ関数ドキュメント
[deprecated in 6.2]
QSqlQuery::QSqlQuery(const QSqlQuery &other)
この関数は6.2から非推奨となった。新しいコードでは使用しないことを強くお勧めします。
other のコピーを構築します。
QSqlQuery は意味のあるコピーができないため、Qt 7 ではコピーできなくなります。データベースドライバによっては、プリペアドステートメントやバインド値などが正しく動作しません(例えば、コピーを変更するとオリジナルに影響します)。代わりに QSqlQuery を移動専用の型として扱ってください。
[deprecated in 6.2]
QSqlQuery &QSqlQuery::operator=(const QSqlQuery &other)
この関数は6.2から非推奨となった。新しいコードでは使用しないことを強くお勧めします。
このオブジェクトにother を割り当てます。
QSqlQuery は意味のあるコピーができないため、Qt 7 ではコピーできなくなります。データベースドライバによっては、プリペアドステートメントやバインドされた値などが正しく動作しません(例えば、コピーを変更するとオリジナルに影響します)。代わりに を移動専用の型として扱ってください。QSqlQuery
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.