GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
g
i
k
l
p
r
s
t
u
w
Functions
a
b
c
d
g
i
l
p
r
s
t
u
w
Variables
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
z
Files
File List
▼
GpgFrontend Project
GpgFrontend Develop Document Main Page
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
src
▼
core
►
function
►
log
►
model
►
module
▼
thread
FileReadTask.h
Task.h
TaskRunner.h
TaskRunnerGetter.h
ThreadingModel.h
►
typedef
►
utils
GpgConstants.h
GpgCoreInit.h
GpgFrontendCore.h
GpgModel.h
►
module
►
pinentry
►
test
►
ui
app.h
cmd.h
GpgFrontendContext.h
init.h
main.h
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Pages
FileReadTask.h
1
29
#pragma once
30
31
#include "core/GpgFrontendCore.h"
32
#include "core/thread/Task.h"
33
34
namespace
GpgFrontend::UI
{
35
40
class
GPGFRONTEND_CORE_EXPORT
FileReadTask
:
public
GpgFrontend::Thread::Task
{
41
Q_OBJECT
42
public
:
43
explicit
FileReadTask
(QString path);
44
45
virtual
~
FileReadTask
()
override
;
46
47
int
Run()
override
;
48
49
signals:
50
void
SignalFileBytesRead(QByteArray bytes);
51
void
SignalFileBytesReadEnd();
52
void
SignalFileBytesReadNext();
53
54
private
:
55
QString read_file_path_;
56
QFile target_file_;
57
QEventLoop looper;
58
59
private
slots:
60
void
slot_read_bytes();
61
};
62
63
}
// namespace GpgFrontend::UI
GpgFrontend::Thread::Task
Definition:
Task.h:39
GpgFrontend::UI::FileReadTask
Definition:
FileReadTask.h:40
GpgFrontend::UI
Definition:
FileReadTask.cpp:31
src
core
thread
FileReadTask.h
Generated by
1.9.1