GpgFrontend Project A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.

FileReadThread.h
1
27 #ifndef GPGFRONTEND_FILEREADTHREAD_H
28 #define GPGFRONTEND_FILEREADTHREAD_H
29
30 #include "ui/GpgFrontendUI.h"
31
32 namespace GpgFrontend::UI {
33
38 class FileReadThread : public QThread {
39 Q_OBJECT
40
41 public:
47 explicit FileReadThread(std::string path);
48
49 signals:
50
56 void SignalSendReadBlock(const std::string& block);
57
62 void SignalReadDone();
63
64 protected:
69 void run() override;
70
71 private:
72 std::string path_;
73 };
74
75 } // namespace GpgFrontend::UI
76
77 #endif // GPGFRONTEND_FILEREADTHREAD_H
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
GpgFrontend::UI::FileReadThread
Definition: FileReadThread.h:38
GpgFrontend::UI::FileReadThread::SignalSendReadBlock
void SignalSendReadBlock(const std::string &block)
GpgFrontend::UI::FileReadThread::FileReadThread
FileReadThread(std::string path)
Construct a new File Read Thread object.
Definition: FileReadThread.cpp:34