diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2014-02-01 13:44:03 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-21 11:11:10 +0100 |
commit | 2e6607507719a396c941a13e2429647901f60917 (patch) | |
tree | c1c1bda52b9fb8aae6c49f2c2e387c40411f5987 /src/imports | |
parent | 03f0255474270579fe0c5c4b0856e5aef5c2eae1 (diff) | |
download | qtwebchannel-2e6607507719a396c941a13e2429647901f60917.tar.gz |
Fix minor coding style issues.
Add space between type name and & or *.
Change-Id: I64bfe20510cb43ee0a0b6e08bd433fc657e925a0
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/webchannel/qmlwebchannel.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/imports/webchannel/qmlwebchannel.h b/src/imports/webchannel/qmlwebchannel.h index 00fd4e6..d5adf1d 100644 --- a/src/imports/webchannel/qmlwebchannel.h +++ b/src/imports/webchannel/qmlwebchannel.h @@ -65,7 +65,7 @@ public: explicit QmlWebChannel(QObject *parent = 0); virtual ~QmlWebChannel(); - Q_INVOKABLE void registerObjects(const QVariantMap& objects); + Q_INVOKABLE void registerObjects(const QVariantMap &objects); QQmlListProperty<QObject> registeredObjects(); QQmlListProperty<QWebChannelTransportInterface> transports(); @@ -73,7 +73,7 @@ public: // TODO: remove this by replacing QML with C++ tests Q_INVOKABLE bool test_clientIsIdle() const; - static QmlWebChannelAttached* qmlAttachedProperties(QObject *obj); + static QmlWebChannelAttached *qmlAttachedProperties(QObject *obj); Q_INVOKABLE void connectTo(QObject *transport); Q_INVOKABLE void disconnectFrom(QObject *transport); @@ -83,12 +83,12 @@ private slots: void transportDestroyed(QObject *transport); private: - static void registeredObjects_append(QQmlListProperty<QObject> *prop, QObject* item); + static void registeredObjects_append(QQmlListProperty<QObject> *prop, QObject *item); static int registeredObjects_count(QQmlListProperty<QObject> *prop); static QObject *registeredObjects_at(QQmlListProperty<QObject> *prop, int index); static void registeredObjects_clear(QQmlListProperty<QObject> *prop); - static void transports_append(QQmlListProperty<QWebChannelTransportInterface> *prop, QWebChannelTransportInterface* item); + static void transports_append(QQmlListProperty<QWebChannelTransportInterface> *prop, QWebChannelTransportInterface *item); static int transports_count(QQmlListProperty<QWebChannelTransportInterface> *prop); static QWebChannelTransportInterface *transports_at(QQmlListProperty<QWebChannelTransportInterface> *prop, int index); static void transports_clear(QQmlListProperty<QWebChannelTransportInterface> *prop); |