summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativecontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qdeclarativecontext.h')
-rw-r--r--src/declarative/qml/qdeclarativecontext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativecontext.h b/src/declarative/qml/qdeclarativecontext.h
index a349628..959af8b 100644
--- a/src/declarative/qml/qdeclarativecontext.h
+++ b/src/declarative/qml/qdeclarativecontext.h
@@ -85,6 +85,8 @@ public:
void setBaseUrl(const QUrl &);
QUrl baseUrl() const;
+ bool isSafeOrigin(const QUrl &src) const;
+
private:
friend class QDeclarativeVME;
friend class QDeclarativeEngine;