aboutsummaryrefslogtreecommitdiff
path: root/lib/events/typingevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/typingevent.h')
-rw-r--r--lib/events/typingevent.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/events/typingevent.h b/lib/events/typingevent.h
index 27b668b4..241359b4 100644
--- a/lib/events/typingevent.h
+++ b/lib/events/typingevent.h
@@ -13,7 +13,7 @@
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#pragma once
@@ -22,18 +22,18 @@
namespace QMatrixClient
{
- class TypingEvent: public Event
- {
- public:
- DEFINE_EVENT_TYPEID("m.typing", TypingEvent)
+class TypingEvent : public Event
+{
+public:
+ DEFINE_EVENT_TYPEID("m.typing", TypingEvent)
- TypingEvent(const QJsonObject& obj);
+ TypingEvent(const QJsonObject& obj);
- const QStringList& users() const { return _users; }
+ const QStringList& users() const { return _users; }
- private:
- QStringList _users;
- };
- REGISTER_EVENT_TYPE(TypingEvent)
- DEFINE_EVENTTYPE_ALIAS(Typing, TypingEvent)
-} // namespace QMatrixClient
+private:
+ QStringList _users;
+};
+REGISTER_EVENT_TYPE(TypingEvent)
+DEFINE_EVENTTYPE_ALIAS(Typing, TypingEvent)
+} // namespace QMatrixClient