summaryrefslogtreecommitdiff
path: root/src/webchannel/qwebchannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webchannel/qwebchannel.h')
-rw-r--r--src/webchannel/qwebchannel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webchannel/qwebchannel.h b/src/webchannel/qwebchannel.h
index 22d87a7..4f464b3 100644
--- a/src/webchannel/qwebchannel.h
+++ b/src/webchannel/qwebchannel.h
@@ -77,7 +77,8 @@ public:
* TODO: This must be called, before clients are initialized.
*/
void registerObjects(const QHash<QString, QObject*> &objects);
- void registerObject(const QString &id, QObject *object);
+ Q_INVOKABLE void registerObject(const QString &id, QObject *object);
+ Q_INVOKABLE void deregisterObject(QObject *object);
/**
* @return true when property updates are blocked, false otherwise.