Obsolete Members for QSqlQuery

クラスQSqlQuery の以下のメンバーは非推奨です。これらは古いソース・コードの動作を維持するために提供されています。新しいコードでは使用しないことを強くお勧めします。

パブリック関数

(deprecated) QSqlQuery(const QSqlQuery &other)
(deprecated) QSqlQuery &operator=(const QSqlQuery &other)

メンバ関数ドキュメント

[deprecated] QSqlQuery::QSqlQuery(const QSqlQuery &other)

この関数は非推奨である。新しいコードでは使用しないことを強く推奨する。

other のコピーを構築します。

QSqlQuery は意味のあるコピーはできません。データベースドライバによっては、プリペアドステートメント、バインド値などが正しく動作しません(例えば、コピーを変更するとオリジナルに影響します)。QSqlQuery を移動専用の型として扱ってください。

[deprecated] QSqlQuery &QSqlQuery::operator=(const QSqlQuery &other)

この関数は非推奨である。新しいコードでは使用しないことを強くお勧めします。

このオブジェクトにother を割り当てます。

QSqlQuery をコピーすることはできません。データベースドライバによっては、プリペアドステートメントやバインドされた値などが正しく動作しません(例えば、コピーを変更するとオリジナルに影響します)。代わりに を移動専用型として扱ってください。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.