Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2578217
matrix-sdk.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
matrix-sdk.hpp
View Options
/*
* Copyright (C) 2020 Tusooa Zhu <tusooa@vista.aero>
*
* This file is part of kazv.
*
* kazv is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* kazv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with kazv. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include
<QObject>
#include
<QQmlEngine>
#include
<QString>
#include
<QScopedPointer>
#include
"meta-types.hpp"
struct
MatrixSdkPrivate
;
class
MatrixSdk
:
public
QObject
{
Q_OBJECT
Q_PROPERTY
(
QString
userId
READ
userId
)
Q_PROPERTY
(
QString
token
READ
token
)
QML_ELEMENT
public
:
explicit
MatrixSdk
(
QObject
*
parent
=
0
);
~
MatrixSdk
()
override
;
QString
userId
()
const
;
QString
token
()
const
;
Q_SIGNALS
:
void
trigger
(
Kazv
::
KazvEvent
e
);
public
Q_SLOTS
:
void
login
(
const
QString
&
userId
,
const
QString
&
password
);
private
:
QScopedPointer
<
MatrixSdkPrivate
>
m_d
;
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Tue, Jun 24, 11:10 PM (13 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
235055
Default Alt Text
matrix-sdk.hpp (1 KB)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment