summaryrefslogtreecommitdiff
path: root/src/webchannel/qwebchannel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webchannel/qwebchannel.cpp')
-rw-r--r--src/webchannel/qwebchannel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/webchannel/qwebchannel.cpp b/src/webchannel/qwebchannel.cpp
index e4cf0d6..651de58 100644
--- a/src/webchannel/qwebchannel.cpp
+++ b/src/webchannel/qwebchannel.cpp
@@ -93,6 +93,11 @@ void QWebChannel::registerObjects(const QHash< QString, QObject * > &objects)
}
}
+QHash<QString, QObject *> QWebChannel::registeredObjects() const
+{
+ return d->publisher->registeredObjects;
+}
+
void QWebChannel::registerObject(const QString &id, QObject *object)
{
d->publisher->registerObject(id, object);