aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecomponent.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2011-05-20 11:37:06 +1000
committerMartin Jones <martin.jones@nokia.com>2011-05-20 11:37:58 +1000
commit9bf28fbf0ee26dfde7d6060b10186cfccdcfcd67 (patch)
treec323360bf73f2cf5d4ef1e14b4d26e97366a007e /src/declarative/qml/qdeclarativecomponent.h
parent1ffe4f1b24ca1b75761259da0c9ceefb567f5cf8 (diff)
Some of the QML C++ methods should be slots.
Diffstat (limited to 'src/declarative/qml/qdeclarativecomponent.h')
-rw-r--r--src/declarative/qml/qdeclarativecomponent.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/declarative/qml/qdeclarativecomponent.h b/src/declarative/qml/qdeclarativecomponent.h
index 72e77dab85..6c05881f52 100644
--- a/src/declarative/qml/qdeclarativecomponent.h
+++ b/src/declarative/qml/qdeclarativecomponent.h
@@ -96,13 +96,14 @@ public:
virtual QObject *beginCreate(QDeclarativeContext *);
virtual void completeCreate();
- void loadUrl(const QUrl &url);
- void setData(const QByteArray &, const QUrl &baseUrl);
-
QDeclarativeContext *creationContext() const;
static QDeclarativeComponentAttached *qmlAttachedProperties(QObject *);
+public Q_SLOTS:
+ void loadUrl(const QUrl &url);
+ void setData(const QByteArray &, const QUrl &baseUrl);
+
Q_SIGNALS:
void statusChanged(QDeclarativeComponent::Status);
void progressChanged(qreal);