Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F140384
qt-job.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
658 B
Referenced Files
None
Subscribers
None
qt-job.hpp
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2022 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include
<kazv-defs.hpp>
#include
<memory>
#include
<QObject>
#include
<QNetworkAccessManager>
#include
<jobinterface.hpp>
using
namespace
Kazv
;
class
QtJob
:
public
QObject
{
Q_OBJECT
public
:
QtJob
(
QObject
*
parent
,
QNetworkAccessManager
*
manager
,
BaseJob
job
,
std
::
function
<
void
(
Response
)
>
callback
);
~
QtJob
()
override
;
Q_SIGNALS
:
void
finished
();
public
Q_SLOTS
:
void
injectData
();
void
callCallback
();
private
:
struct
Private
;
std
::
unique_ptr
<
Private
>
m_d
;
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Jan 19, 7:06 PM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
55404
Default Alt Text
qt-job.hpp (658 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment