Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F325675
matrix-event-list.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
652 B
Referenced Files
None
Subscribers
None
matrix-event-list.cpp
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2020-2023 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#include
<kazv-defs.hpp>
#include
"matrix-event.hpp"
#include
"helper.hpp"
#include
"matrix-event-list.hpp"
using
namespace
Kazv
;
MatrixEventList
::
MatrixEventList
(
lager
::
reader
<
EventList
>
eventList
,
QObject
*
parent
)
:
KazvAbstractListModel
(
eventList
.
xform
(
containerSize
),
InitNow
,
parent
)
,
m_eventList
(
eventList
)
{
}
MatrixEventList
::~
MatrixEventList
()
=
default
;
MatrixEvent
*
MatrixEventList::at
(
int
index
)
const
{
return
new
MatrixEvent
(
m_eventList
[
index
][
lager
::
lenses
::
or_default
]);
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Thu, Apr 24, 4:19 AM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
101206
Default Alt Text
matrix-event-list.cpp (652 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment