diff options
author | Kai Koehne <kai.koehne@qt.io> | 2017-08-28 13:35:35 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2017-08-29 09:36:41 +0000 |
commit | 228184f93b4d39e1aca9e53fde8e576f71b90c93 (patch) | |
tree | b1563c03c57bc7c37f7068b2eae4c2bdf3ad86c4 /examples/webchannel/chatserver-cpp/chatserver.h | |
parent | 046040e4b08972018fcb10ef882a35f7162cb38c (diff) | |
download | qtwebchannel-228184f93b4d39e1aca9e53fde8e576f71b90c93.tar.gz |
Examples: Fix coding style issues
Change-Id: Ifdd0a9117bc354c342728949e45d1ac431495ef4
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Diffstat (limited to 'examples/webchannel/chatserver-cpp/chatserver.h')
-rw-r--r-- | examples/webchannel/chatserver-cpp/chatserver.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/webchannel/chatserver-cpp/chatserver.h b/examples/webchannel/chatserver-cpp/chatserver.h index 74b571d..9bc8026 100644 --- a/examples/webchannel/chatserver-cpp/chatserver.h +++ b/examples/webchannel/chatserver-cpp/chatserver.h @@ -70,17 +70,17 @@ public: public: //a user logs in with the given username - Q_INVOKABLE bool login(const QString& userName); + Q_INVOKABLE bool login(const QString &userName); //the user logs out, will be removed from userlist immediately - Q_INVOKABLE bool logout(const QString& userName); + Q_INVOKABLE bool logout(const QString &userName); //a user sends a message to all other users - Q_INVOKABLE bool sendMessage(const QString& user, const QString& msg); + Q_INVOKABLE bool sendMessage(const QString &user, const QString &msg); //response of the keep alive signal from a client. // This is used to detect disconnects. - Q_INVOKABLE void keepAliveResponse(const QString& user); + Q_INVOKABLE void keepAliveResponse(const QString &user); QStringList userList() const; @@ -97,7 +97,7 @@ signals: private: QStringList m_userList; QStringList m_stillAliveUsers; - QTimer* m_keepAliveCheckTimer; + QTimer *m_keepAliveCheckTimer; }; #endif // CHATSERVER_H |