Obsolete Members for QQmlFile

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

パブリック型

(deprecated in 6.11) enum Status { Null, Ready, Error, Loading }

パブリック関数

(deprecated in 6.11) void clear()
(deprecated in 6.11) void clear(QObject *object)
(deprecated in 6.11) bool connectDownloadProgress(QObject *object, const char *method)
(deprecated in 6.11) bool connectDownloadProgress(QObject *object, int method)
(deprecated in 6.11) bool connectFinished(QObject *object, int method)
(deprecated in 6.11) const char *data() const
(deprecated in 6.11) QByteArray dataByteArray() const
(deprecated in 6.11) QString error() const
(deprecated in 6.11) void load(QQmlEngine *engine, const QString &url)
(deprecated in 6.11) void load(QQmlEngine *engine, const QUrl &url)
(deprecated in 6.11) qint64 size() const

メンバ型ドキュメント

[deprecated in 6.11] enum QQmlFile::Status

この列挙型は6.11以降非推奨となっている。新しいコードで使用しないことを強く勧めます。

定数
QQmlFile::Null0
QQmlFile::Ready1
QQmlFile::Error2
QQmlFile::Loading3

メンバ関数のドキュメント

[deprecated in 6.11] void QQmlFile::clear()

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

[deprecated in 6.11] void QQmlFile::clear(QObject *object)

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

他の clear() オーバーロードにリダイレクトされ、object は無視されます。

[deprecated in 6.11] bool QQmlFile::connectDownloadProgress(QObject *object, const char *method)

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

objectmethod を内部シグナルdownloadProgress に接続する。

[deprecated in 6.11] bool QQmlFile::connectDownloadProgress(QObject *object, int method)

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

objectmethod を内部シグナルdownloadProgress に接続する。

[deprecated in 6.11] bool QQmlFile::connectFinished(QObject *object, int method)

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

objectmethod を内部シグナルfinished に接続する。

[deprecated in 6.11] const char *QQmlFile::data() const

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

[deprecated in 6.11] QByteArray QQmlFile::dataByteArray() const

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

[deprecated in 6.11] QString QQmlFile::error() const

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

[deprecated in 6.11] void QQmlFile::load(QQmlEngine *engine, const QString &url)

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

engine を使ってurl でコンテンツをロードする。

[deprecated in 6.11] void QQmlFile::load(QQmlEngine *engine, const QUrl &url)

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

engine を使ってurl でコンテンツをロードする。

[deprecated in 6.11] qint64 QQmlFile::size() const

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

© 2026 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.