Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2697532
kazv-io-manager.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
985 B
Referenced Files
None
Subscribers
None
kazv-io-manager.hpp
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2022 nannanko <nannanko@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include
"kazv-io-job.hpp"
#include
"matrix-room.hpp"
#include
<QObject>
#include
<QtQml>
#include
<QUrl>
#include
<QString>
#include
<KIO/TransferJob>
#include
<QPointer>
#include
<memory>
struct
KazvIOManagerPrivate
;
class
KazvIOManager
:
public
QObject
{
Q_OBJECT
QML_ELEMENT
std
::
unique_ptr
<
KazvIOManagerPrivate
>
m_d
;
public
:
explicit
KazvIOManager
(
QObject
*
parent
=
0
);
~
KazvIOManager
()
override
;
Q_INVOKABLE
KazvIOBaseJob
*
startNewDownloadJob
(
const
QUrl
&
serverUrl
,
const
QUrl
&
localFileName
,
const
QString
&
jobId
);
Q_INVOKABLE
KazvIOBaseJob
*
startNewUploadJob
(
const
QUrl
&
serverUrl
,
const
QUrl
&
localFileName
,
const
QString
&
token
,
MatrixRoom
*
room
);
Q_INVOKABLE
KazvIOBaseJob
*
getDownloadJob
(
const
QString
&
jobId
);
Q_INVOKABLE
void
deleteDownloadJob
(
const
QString
&
jobId
);
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Fri, Jul 18, 6:51 AM (5 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
261369
Default Alt Text
kazv-io-manager.hpp (985 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment