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.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/webchannel/qwebchannel.h b/src/webchannel/qwebchannel.h
index 46d77a3..7701751 100644
--- a/src/webchannel/qwebchannel.h
+++ b/src/webchannel/qwebchannel.h
@@ -62,32 +62,13 @@ public:
explicit QWebChannel(QObject *parent = 0);
~QWebChannel();
- /**
- * Register a map of string ID to QObject* objects.
- *
- * The properties, signals and public methods of the QObject are
- * published to the remote client, where an object with the given identifier
- * is constructed.
- *
- * TODO: This must be called, before clients are initialized.
- */
void registerObjects(const QHash<QString, QObject*> &objects);
QHash<QString, QObject*> registeredObjects() const;
Q_INVOKABLE void registerObject(const QString &id, QObject *object);
Q_INVOKABLE void deregisterObject(QObject *object);
- /**
- * @return true when property updates are blocked, false otherwise.
- */
bool blockUpdates() const;
- /**
- * Set whether property updates should be blocked or not.
- *
- * When they are blocked, the remote clients will not be notified about
- * property changes. The changes are recorded and sent to the clients once
- * setBlockUpdates(false) is called.
- */
void setBlockUpdates(bool block);
Q_SIGNALS: