diff options
Diffstat (limited to 'src/webchannel/qwebchannel_p.h')
-rw-r--r-- | src/webchannel/qwebchannel_p.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/webchannel/qwebchannel_p.h b/src/webchannel/qwebchannel_p.h index fbdf2ef..62b2cd5 100644 --- a/src/webchannel/qwebchannel_p.h +++ b/src/webchannel/qwebchannel_p.h @@ -44,6 +44,7 @@ #include "qwebchannelglobal.h" +#include <private/qobject_p.h> #include <QVector> QT_BEGIN_NAMESPACE @@ -54,11 +55,15 @@ class QMetaObjectPublisher; Q_WEBCHANNEL_EXPORT QByteArray generateJSONMessage(const QJsonValue &id, const QJsonValue &data, bool response); -struct Q_WEBCHANNEL_EXPORT QWebChannelPrivate +class Q_WEBCHANNEL_EXPORT QWebChannelPrivate : public QObjectPrivate { + Q_DECLARE_PUBLIC(QWebChannel) +public: QVector<QWebChannelAbstractTransport*> transports; QMetaObjectPublisher *publisher; + void init(); + void _q_transportDestroyed(QObject* object); }; |