summaryrefslogtreecommitdiffstats
path: root/src/client/util/room.h
diff options
context:
space:
mode:
authorChristian Klinger2016-09-29 15:40:18 +0200
committerChristian Klinger2016-09-29 15:40:18 +0200
commit3d82bfc698165bb20f3c38d42f2b77ab855c1edf (patch)
tree2c170bcdd5c89259bb0b530fa11fdfe701c99850 /src/client/util/room.h
parentadded an information dialog that displays ip and hostname. (diff)
downloadpvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.tar.gz
pvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.tar.xz
pvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.zip
astyle.
Diffstat (limited to 'src/client/util/room.h')
-rw-r--r--src/client/util/room.h29
1 files changed, 16 insertions, 13 deletions
diff --git a/src/client/util/room.h b/src/client/util/room.h
index bfc70d0..86939f7 100644
--- a/src/client/util/room.h
+++ b/src/client/util/room.h
@@ -2,22 +2,25 @@
#define ROOM_H
struct Room {
- QString mgr;
- QString name;
- int priority;
- Room (QString _name, QString _mgr, int _priority) {
- mgr = _mgr;
- name = _name;
- priority = _priority;
- };
+ QString mgr;
+ QString name;
+ int priority;
+ Room (QString _name, QString _mgr, int _priority)
+ {
+ mgr = _mgr;
+ name = _name;
+ priority = _priority;
+ };
};
-inline QDebug operator<<(QDebug debug, const Room& r) {
- debug << r.name << "{mgr=" << r.mgr << ",prio=" << r.priority << "}";
- return debug;
+inline QDebug operator<<(QDebug debug, const Room& r)
+{
+ debug << r.name << "{mgr=" << r.mgr << ",prio=" << r.priority << "}";
+ return debug;
}
-inline bool operator<(const Room& a, const Room& b) {
- return a.priority < b.priority;
+inline bool operator<(const Room& a, const Room& b)
+{
+ return a.priority < b.priority;
}
#endif