summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecomponent.h
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-04-29 05:39:47 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-04-29 05:42:49 (GMT)
commit96551e8af08c6f5eb506468a1a79070f23525bca (patch)
tree0de2ac37a5658ae57fe49d9a4b39b2280af26974 /src/declarative/qml/qdeclarativecomponent.h
parent9fb7035d59ffa582edabf53c5d617524ab92ae52 (diff)
downloadQt-96551e8af08c6f5eb506468a1a79070f23525bca.zip
Qt-96551e8af08c6f5eb506468a1a79070f23525bca.tar.gz
Qt-96551e8af08c6f5eb506468a1a79070f23525bca.tar.bz2
Remove Component's isReady, isLoading, isError and isNull properties.
The Component status enum covers all of these properties already and removing these also makes the API consistent with Image and Loader. Note this change only affects the QML Component API; the methods are still available for QDeclarativeComponent.
Diffstat (limited to 'src/declarative/qml/qdeclarativecomponent.h')
-rw-r--r--src/declarative/qml/qdeclarativecomponent.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/declarative/qml/qdeclarativecomponent.h b/src/declarative/qml/qdeclarativecomponent.h
index f3cfe3c..b078174 100644
--- a/src/declarative/qml/qdeclarativecomponent.h
+++ b/src/declarative/qml/qdeclarativecomponent.h
@@ -64,10 +64,7 @@ class Q_DECLARATIVE_EXPORT QDeclarativeComponent : public QObject
{
Q_OBJECT
Q_DECLARE_PRIVATE(QDeclarativeComponent)
- Q_PROPERTY(bool isNull READ isNull NOTIFY statusChanged)
- Q_PROPERTY(bool isReady READ isReady NOTIFY statusChanged)
- Q_PROPERTY(bool isError READ isError NOTIFY statusChanged)
- Q_PROPERTY(bool isLoading READ isLoading NOTIFY statusChanged)
+
Q_PROPERTY(qreal progress READ progress NOTIFY progressChanged)
Q_PROPERTY(Status status READ status NOTIFY statusChanged)
Q_PROPERTY(QUrl url READ url CONSTANT)