diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2013-12-28 19:20:58 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-08 15:59:28 +0100 |
commit | 66c0d916131c1e9e896705971f20385c75e753a2 (patch) | |
tree | 59b25cd7b9bc1ff688ff46c2b4f4c21fa60019cf /src/webchannel/signalhandler_p.h | |
parent | 318576f0cc0ebef78c5b27106b1a8429eb54fac8 (diff) | |
download | qtwebchannel-66c0d916131c1e9e896705971f20385c75e753a2.tar.gz |
Simplify usage of QWebChannel on the server side.
This is achieved by hiding the MetaObjectPublisher completely as
private API. The QWebChannel is the only publisher API and now handles
both the socket as well as the publisher internally.
This now allows us to create a proper QML api in the new QmlWebChannel.
Change-Id: I3096364af8485353ca9bc19df4a81a8e4552c3d7
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/webchannel/signalhandler_p.h')
-rw-r--r-- | src/webchannel/signalhandler_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webchannel/signalhandler_p.h b/src/webchannel/signalhandler_p.h index 66bdb28..8c49346 100644 --- a/src/webchannel/signalhandler_p.h +++ b/src/webchannel/signalhandler_p.h @@ -141,7 +141,7 @@ SignalHandler<Receiver>::SignalHandler(Receiver *receiver, QObject *parent) * * The return value is also verified to ensure it is a signal. */ -QMetaMethod findSignal(const QMetaObject *metaObject, const int signalIndex) +inline QMetaMethod findSignal(const QMetaObject *metaObject, const int signalIndex) { QMetaMethod signal = metaObject->method(signalIndex); if (!signal.isValid()) { |