summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlview.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-02-23 06:46:44 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-02-23 06:46:44 (GMT)
commit5ffd6c0fba0ecc709551e414ed0649de15ac3754 (patch)
tree7db7006ef6349b48a75729766362e44d06999442 /src/declarative/util/qmlview.h
parent113e350e36c0ff31824bc238160094814dc3fb4f (diff)
downloadQt-5ffd6c0fba0ecc709551e414ed0649de15ac3754.zip
Qt-5ffd6c0fba0ecc709551e414ed0649de15ac3754.tar.gz
Qt-5ffd6c0fba0ecc709551e414ed0649de15ac3754.tar.bz2
Remove QmlView::execute(). QmlView::setSource() does it all now.
Task-number: QT-2538
Diffstat (limited to 'src/declarative/util/qmlview.h')
-rw-r--r--src/declarative/util/qmlview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/util/qmlview.h b/src/declarative/util/qmlview.h
index 1d6ef1c..5f72781 100644
--- a/src/declarative/util/qmlview.h
+++ b/src/declarative/util/qmlview.h
@@ -67,6 +67,7 @@ class Q_DECLARATIVE_EXPORT QmlView : public QGraphicsView
public:
explicit QmlView(QWidget *parent = 0);
+ QmlView(const QUrl &source, QWidget *parent = 0);
virtual ~QmlView();
QUrl source() const;
@@ -74,7 +75,6 @@ public:
QmlEngine* engine();
QmlContext* rootContext();
- void execute();
QGraphicsObject *rootObject() const;
@@ -102,6 +102,7 @@ protected:
virtual void paintEvent(QPaintEvent *event);
void timerEvent(QTimerEvent*);
+ friend class QmlViewPrivate;
QmlViewPrivate *d;
};