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부터 더 이상 사용되지 않습니다. 새 코드에서는 사용하지 않는 것이 좋습니다.

ConstantValue
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부터 더 이상 사용되지 않습니다. 새 코드에서 이 함수를 사용하지 않는 것이 좋습니다.

object 을 무시하고 다른 clear() 오버로드로 리디렉션합니다.

[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.