Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2578039
matrix-event-list.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
775 B
Referenced Files
None
Subscribers
None
matrix-event-list.hpp
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2020-2023 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include
<kazv-defs.hpp>
#include
<QObject>
#include
<QQmlEngine>
#include
<QAbstractListModel>
#include
<lager/extra/qt.hpp>
#include
<base/types.hpp>
#include
"qt-json.hpp"
#include
"kazv-abstract-list-model.hpp"
Q_MOC_INCLUDE
(
"matrix-event.hpp"
)
class
MatrixEvent
;
class
MatrixEventList
:
public
KazvAbstractListModel
{
Q_OBJECT
QML_ELEMENT
QML_UNCREATABLE
(
""
)
lager
::
reader
<
Kazv
::
EventList
>
m_eventList
;
public
:
explicit
MatrixEventList
(
lager
::
reader
<
Kazv
::
EventList
>
eventList
,
QObject
*
parent
=
0
);
~
MatrixEventList
()
override
;
Q_INVOKABLE
MatrixEvent
*
at
(
int
index
)
const
;
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Tue, Jun 24, 7:36 PM (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
234993
Default Alt Text
matrix-event-list.hpp (775 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment