diff options
author | Robert <krzmbrzl@gmail.com> | 2020-09-11 19:29:33 +0300 |
---|---|---|
committer | Robert <krzmbrzl@gmail.com> | 2020-09-11 19:29:33 +0300 |
commit | af7dac72f4063dd8d4dac71973ea51c25896089a (patch) | |
tree | 35558695aea94d48fd9e77d164d63fd8b7c76e90 /src/User.h | |
parent | 40b28b03c150b453e00c6bc4f8d6957caea59c51 (diff) |
FORMAT: Run clang-format 10 on all C/CXX source-files
Diffstat (limited to 'src/User.h')
-rw-r--r-- | src/User.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/User.h b/src/User.h index b1c61b181..469cc8d45 100644 --- a/src/User.h +++ b/src/User.h @@ -7,46 +7,46 @@ #define MUMBLE_USER_H_ #ifndef Q_MOC_RUN -# include <boost/optional.hpp> +# include <boost/optional.hpp> #endif #include <QtCore/QByteArray> #include <QtCore/QDateTime> -#include <QtCore/QString> #include <QtCore/QList> +#include <QtCore/QString> class Channel; class User { - private: - Q_DISABLE_COPY(User) - - public: - unsigned int uiSession; - int iId; - QString qsName; - QString qsComment; - QByteArray qbaCommentHash; - QString qsHash; - bool bMute, bDeaf, bSuppress; - bool bSelfMute, bSelfDeaf; - bool bPrioritySpeaker; - bool bRecording; - Channel *cChannel; - QByteArray qbaTexture; - QByteArray qbaTextureHash; - - User(); - virtual ~User() {}; - - static bool lessThan(const User *, const User *); +private: + Q_DISABLE_COPY(User) + +public: + unsigned int uiSession; + int iId; + QString qsName; + QString qsComment; + QByteArray qbaCommentHash; + QString qsHash; + bool bMute, bDeaf, bSuppress; + bool bSelfMute, bSelfDeaf; + bool bPrioritySpeaker; + bool bRecording; + Channel *cChannel; + QByteArray qbaTexture; + QByteArray qbaTextureHash; + + User(); + virtual ~User(){}; + + static bool lessThan(const User *, const User *); }; // for last seen struct UserInfo { int user_id; QString name; - boost::optional<int> last_channel; + boost::optional< int > last_channel; QDateTime last_active; UserInfo() : user_id(-1) {} |