Changeset View
Changeset View
Standalone View
Standalone View
src/core/user.h
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | |||||
73 | private: | 73 | private: | ||
74 | QString mStatus = QStringLiteral("offline"); | 74 | QString mStatus = QStringLiteral("offline"); | ||
75 | QString mUserId; | 75 | QString mUserId; | ||
76 | QString mName; | 76 | QString mName; | ||
77 | QString mUserName; | 77 | QString mUserName; | ||
78 | QString mStatusText; | 78 | QString mStatusText; | ||
79 | double mUtcOffset = 0.0; | 79 | double mUtcOffset = 0.0; | ||
80 | }; | 80 | }; | ||
81 | Q_DECLARE_METATYPE(User) | ||||
82 | Q_DECLARE_TYPEINFO(User, Q_MOVABLE_TYPE); | ||||
81 | LIBRUQOLACORE_EXPORT QDebug operator <<(QDebug d, const User &t); | 83 | LIBRUQOLACORE_EXPORT QDebug operator <<(QDebug d, const User &t); | ||
82 | 84 | | |||
83 | #endif // USER_H | 85 | #endif // USER_H |