Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112899
matrix-room-member.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
793 B
Referenced Files
None
Subscribers
None
matrix-room-member.hpp
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2020-2024 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include
<kazv-defs.hpp>
#include
<QObject>
#include
<QQmlEngine>
#include
<lager/extra/qt.hpp>
#include
<base/event.hpp>
class
MatrixEvent
;
class
MatrixRoomMember
:
public
QObject
{
Q_OBJECT
QML_ELEMENT
QML_UNCREATABLE
(
""
)
lager
::
reader
<
Kazv
::
Event
>
m_memberEvent
;
public
:
explicit
MatrixRoomMember
(
lager
::
reader
<
Kazv
::
Event
>
memberEvent
,
QObject
*
parent
=
0
);
~
MatrixRoomMember
()
override
;
LAGER_QT_READER
(
QString
,
membership
);
LAGER_QT_READER
(
QString
,
userId
);
LAGER_QT_READER
(
QString
,
name
);
LAGER_QT_READER
(
QString
,
avatarMxcUri
);
Q_INVOKABLE
MatrixEvent
*
toEvent
()
const
;
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 24, 2:47 AM (19 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39277
Default Alt Text
matrix-room-member.hpp (793 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment