diff --git a/docs/html/AboutDialog_8h_source.html b/docs/html/AboutDialog_8h_source.html index 0491a606..1249e47e 100644 --- a/docs/html/AboutDialog_8h_source.html +++ b/docs/html/AboutDialog_8h_source.html @@ -150,25 +150,25 @@ $(document).ready(function(){initNavTree('AboutDialog_8h_source.html',''); initR
145 #endif // __ABOUTDIALOG_H__
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::UI::VersionCheckTask::SignalUpgradeVersion
void SignalUpgradeVersion(SoftwareVersion version)
GpgFrontend::UI::TranslatorsTab
Class containing the translator tab of about dialog.
Definition: AboutDialog.h:58
-
GpgFrontend::UI::UpdateTab::getLatestVersion
void getLatestVersion()
Get the Latest Version object.
Definition: AboutDialog.cpp:196
-
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::UI::UpdateTab::getLatestVersion
void getLatestVersion()
Get the Latest Version object.
Definition: AboutDialog.cpp:197
+
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::UI::SoftwareVersion
Definition: SoftwareVersion.h:39
GpgFrontend::UI::InfoTab
Class containing the main tab of about dialog.
Definition: AboutDialog.h:42
-
GpgFrontend::GlobalSettingStation::GetResourceDir
std::filesystem::path GetResourceDir() const
Get the Resource Dir object.
Definition: GlobalSettingStation.h:130
-
GpgFrontend::UI::AboutDialog::AboutDialog
AboutDialog(int defaultIndex, QWidget *parent)
Construct a new About Dialog object.
Definition: AboutDialog.cpp:37
-
GpgFrontend::UI::VersionCheckThread::SignalUpgradeVersion
void SignalUpgradeVersion(SoftwareVersion version)
-
GpgFrontend::UI::SoftwareVersion::VersionWithDrawn
bool VersionWithDrawn() const
Definition: SoftwareVersion.h:68
-
GpgFrontend::UI::SoftwareVersion::CurrentVersionReleased
bool CurrentVersionReleased() const
Definition: SoftwareVersion.h:79
-
GpgFrontend::UI::AboutDialog::showEvent
void showEvent(QShowEvent *ev) override
Definition: AboutDialog.cpp:69
-
GpgFrontend::UI::TranslatorsTab::TranslatorsTab
TranslatorsTab(QWidget *parent=nullptr)
Construct a new Translators Tab object.
Definition: AboutDialog.cpp:112
-
GpgFrontend::UI::UpdateTab::UpdateTab
UpdateTab(QWidget *parent=nullptr)
Construct a new Update Tab object.
Definition: AboutDialog.cpp:144
-
GpgFrontend::UI::VersionCheckThread
Definition: VersionCheckThread.h:41
-
GpgFrontend::UI::InfoTab::InfoTab
InfoTab(QWidget *parent=nullptr)
Construct a new Info Tab object.
Definition: AboutDialog.cpp:74
-
GpgFrontend::UI::UpdateTab::slot_show_version_status
void slot_show_version_status(const SoftwareVersion &version)
Definition: AboutDialog.cpp:211
+
GpgFrontend::GlobalSettingStation::GetResourceDir
std::filesystem::path GetResourceDir() const
Get the Resource Dir object.
Definition: GlobalSettingStation.h:125
+
GpgFrontend::UI::AboutDialog::AboutDialog
AboutDialog(int defaultIndex, QWidget *parent)
Construct a new About Dialog object.
Definition: AboutDialog.cpp:38
+
GpgFrontend::UI::SoftwareVersion::VersionWithDrawn
bool VersionWithDrawn() const
Definition: SoftwareVersion.h:76
+
GpgFrontend::UI::SoftwareVersion::CurrentVersionReleased
bool CurrentVersionReleased() const
Definition: SoftwareVersion.h:87
+
GpgFrontend::UI::AboutDialog::showEvent
void showEvent(QShowEvent *ev) override
Definition: AboutDialog.cpp:70
+
GpgFrontend::UI::TranslatorsTab::TranslatorsTab
TranslatorsTab(QWidget *parent=nullptr)
Construct a new Translators Tab object.
Definition: AboutDialog.cpp:113
+
GpgFrontend::UI::UpdateTab::UpdateTab
UpdateTab(QWidget *parent=nullptr)
Construct a new Update Tab object.
Definition: AboutDialog.cpp:145
+
GpgFrontend::UI::InfoTab::InfoTab
InfoTab(QWidget *parent=nullptr)
Construct a new Info Tab object.
Definition: AboutDialog.cpp:75
+
GpgFrontend::UI::UpdateTab::slot_show_version_status
void slot_show_version_status(const SoftwareVersion &version)
Definition: AboutDialog.cpp:212
GpgFrontend::UI::AboutDialog
Class for handling the about dialog.
Definition: AboutDialog.h:119
-
GpgFrontend::UI::SoftwareVersion::NeedUpgrade
bool NeedUpgrade() const
Definition: SoftwareVersion.h:57
+
GpgFrontend::UI::SoftwareVersion::NeedUpgrade
bool NeedUpgrade() const
Definition: SoftwareVersion.h:65
+
GpgFrontend::UI::VersionCheckTask
Definition: VersionCheckTask.h:45
GpgFrontend::UI::UpdateTab
Class containing the main tab of about dialog.
Definition: AboutDialog.h:74
GpgFrontend::UI::UpdateTab::SignalReplyFromUpdateServer
void SignalReplyFromUpdateServer(QByteArray data)
diff --git a/docs/html/CharsetOperator_8h_source.html b/docs/html/CharsetOperator_8h_source.html new file mode 100644 index 00000000..65012979 --- /dev/null +++ b/docs/html/CharsetOperator_8h_source.html @@ -0,0 +1,124 @@ + + + + + + + +GpgFrontend Project: src/core/function/CharsetOperator.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
GpgFrontend Project +
+
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
CharsetOperator.h
+
+
+
1 
+
29 #ifndef GPGFRONTEND_CHARSETDETECTOR_H
+
30 #define GPGFRONTEND_CHARSETDETECTOR_H
+
31 
+
32 #include "core/GpgFrontendCore.h"
+
33 
+
34 namespace GpgFrontend {
+
35 
+
36 class GPGFRONTEND_CORE_EXPORT CharsetOperator {
+
37  public:
+
38  using CharsetInfo = std::tuple<std::string, std::string, int>;
+
39 
+
40  static CharsetInfo Detect(const std::string &buffer);
+
41 
+
42  static bool Convert2Utf8(const std::string &buffer, std::string &out_buffer,
+
43  std::string from_charset_name);
+
44 };
+
45 } // namespace GpgFrontend
+
46 
+
47 #endif // GPGFRONTEND_CHARSETDETECTOR_H
+
+
+
GpgFrontend
Definition: CoreCommonUtil.cpp:29
+
GpgFrontend::CharsetOperator::Detect
static CharsetInfo Detect(const std::string &buffer)
Definition: CharsetOperator.cpp:42
+
GpgFrontend::CharsetOperator
Definition: CharsetOperator.h:36
+ + + + diff --git a/docs/html/CtxCheckThread_8h_source.html b/docs/html/CtxCheckTask_8h_source.html similarity index 62% rename from docs/html/CtxCheckThread_8h_source.html rename to docs/html/CtxCheckTask_8h_source.html index ce6429f4..af2e7540 100644 --- a/docs/html/CtxCheckThread_8h_source.html +++ b/docs/html/CtxCheckTask_8h_source.html @@ -5,7 +5,7 @@ -GpgFrontend Project: src/core/thread/CtxCheckThread.h Source File +GpgFrontend Project: src/core/thread/CtxCheckTask.h Source File @@ -63,7 +63,7 @@ $(function() {
@@ -83,7 +83,7 @@ $(document).ready(function(){initNavTree('CtxCheckThread_8h_source.html',''); in
-
CtxCheckThread.h
+
CtxCheckTask.h
1 
@@ -91,35 +91,37 @@ $(document).ready(function(){initNavTree('CtxCheckThread_8h_source.html',''); in
28 #define GPGFRONTEND_CTXCHECKTRHEAD_H
29 
30 #include "core/GpgFrontendCore.h"
-
31 
-
32 namespace GpgFrontend {
-
37 class GPGFRONTEND_CORE_EXPORT CtxCheckThread : public QThread {
-
38  Q_OBJECT
-
39  public:
- -
45 
-
46  signals:
-
51  void SignalGnupgNotInstall();
-
52 
-
53  protected:
-
58  void run() override;
-
59 };
-
60 } // namespace GpgFrontend
-
61 
-
62 #endif // GPGFRONTEND_CTXCHECKTRHEAD_H
+
31 #include "core/thread/Task.h"
+
32 
+ +
38 class GPGFRONTEND_CORE_EXPORT CtxCheckTask : public Task {
+
39  Q_OBJECT
+
40  public:
+
45  CtxCheckTask();
+
46 
+
47  signals:
+
52  void SignalGnupgNotInstall();
+
53 
+
54  protected:
+
59  void Run() override;
+
60 };
+
61 } // namespace GpgFrontend::Thread
+
62 
+
63 #endif // GPGFRONTEND_CTXCHECKTRHEAD_H
GpgFrontend::CoreCommonUtil::GetInstance
static CoreCommonUtil * GetInstance()
Construct a new Core Common Util object.
Definition: CoreCommonUtil.cpp:33
-
GpgFrontend::init_logging
void init_logging()
setup logging system and do proper initialization
Definition: GpgCoreInit.cpp:43
-
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::CtxCheckThread
Definition: CtxCheckThread.h:37
-
GpgFrontend::GpgKeyGetter::FetchKey
KeyLinkListPtr FetchKey()
Definition: GpgKeyGetter.cpp:58
-
GpgFrontend::CtxCheckThread::CtxCheckThread
CtxCheckThread()
Construct a new Ctx Check Thread object.
Definition: CtxCheckThread.cpp:34
+
GpgFrontend::Thread::CtxCheckTask::CtxCheckTask
CtxCheckTask()
Construct a new Ctx Check Thread object.
Definition: CtxCheckTask.cpp:34
+
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::GpgKeyGetter::FlushKeyCache
void FlushKeyCache()
flush the keys in the cache
Definition: GpgKeyGetter.cpp:101
+
GpgFrontend::Thread
Definition: CtxCheckTask.h:33
+
GpgFrontend::Thread::CtxCheckTask
Definition: CtxCheckTask.h:38
+
GpgFrontend::Thread::Task
Definition: Task.h:45
+
GpgFrontend::Thread::CtxCheckTask::Run
void Run() override
Run - run the task.
Definition: CtxCheckTask.cpp:40
-
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:49
+
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:148
GpgFrontend::FileOperator::WriteFileStd
static bool WriteFileStd(const std::filesystem::path &file_name, const std::string &data)
write file content using std struct
Definition: FileOperator.cpp:67
-
GpgFrontend::DataObjectOperator::rd_
std::random_device rd_
Random device.
Definition: DataObjectOperator.h:76
+
GpgFrontend::DataObjectOperator::rd_
std::random_device rd_
Random device.
Definition: DataObjectOperator.h:74
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject< PassphraseGenerator >::GetInstance
static PassphraseGenerator & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::DataObjectOperator::app_secure_path_
std::filesystem::path app_secure_path_
Where sensitive information is stored.
Definition: DataObjectOperator.h:66
-
GpgFrontend::DataObjectOperator::app_secure_key_path_
std::filesystem::path app_secure_key_path_
Where the key of data object is stored.
Definition: DataObjectOperator.h:69
+
GpgFrontend::SingletonFunctionObject< PassphraseGenerator >::GetInstance
static PassphraseGenerator & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::DataObjectOperator::app_secure_path_
std::filesystem::path app_secure_path_
Where sensitive information is stored.
Definition: DataObjectOperator.h:64
+
GpgFrontend::DataObjectOperator::app_secure_key_path_
std::filesystem::path app_secure_key_path_
Where the key of data object is stored.
Definition: DataObjectOperator.h:67
GpgFrontend::DataObjectOperator::DataObjectOperator
DataObjectOperator(int channel=SingletonFunctionObject::GetDefaultChannel())
DataObjectOperator constructor.
Definition: DataObjectOperator.cpp:46
-
GpgFrontend::DataObjectOperator::hash_key_
QByteArray hash_key_
Hash key.
Definition: DataObjectOperator.h:78
-
GpgFrontend::GlobalSettingStation
Definition: GlobalSettingStation.h:47
-
GpgFrontend::DataObjectOperator::app_data_objs_path_
std::filesystem::path app_data_objs_path_
Definition: DataObjectOperator.h:71
-
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:127
+
GpgFrontend::DataObjectOperator::hash_key_
QByteArray hash_key_
Hash key.
Definition: DataObjectOperator.h:76
+
GpgFrontend::GlobalSettingStation
Definition: GlobalSettingStation.h:42
+
GpgFrontend::DataObjectOperator::app_data_objs_path_
std::filesystem::path app_data_objs_path_
Definition: DataObjectOperator.h:69
+
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:232
GpgFrontend::FileOperator::ReadFileStd
static bool ReadFileStd(const std::filesystem::path &file_name, std::string &data)
read file content using std struct
Definition: FileOperator.cpp:55
-
GpgFrontend::DataObjectOperator
Definition: DataObjectOperator.h:40
+
GpgFrontend::DataObjectOperator
Definition: DataObjectOperator.h:38
GpgFrontend::DataObjectOperator::init_app_secure_key
void init_app_secure_key()
init the secure key of application data object
Definition: DataObjectOperator.cpp:37
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::ExportKeyPackageDialog
Definition: ExportKeyPackageDialog.h:42
GpgFrontend::KeyPackageOperator::GenerateKeyPackageName
static std::string GenerateKeyPackageName()
generate the name of the key package
Definition: KeyPackageOperator.cpp:116
-
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::KeyPackageOperator::GenerateKeyPackage
static bool GenerateKeyPackage(const std::filesystem::path &key_package_path, const std::string &key_package_name, KeyIdArgsListPtr &key_ids, std::string &phrase, bool secret)
generate key package
Definition: KeyPackageOperator.cpp:46
GpgFrontend::UI::ExportKeyPackageDialog::ExportKeyPackageDialog
ExportKeyPackageDialog(KeyIdArgsListPtr key_ids, QWidget *parent)
Construct a new Export Key Package Dialog object.
Definition: ExportKeyPackageDialog.cpp:37
-
GpgFrontend::GpgKeyGetter::GetKeys
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:83
+
GpgFrontend::GpgKeyGetter::GetKeys
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:148
-
GpgFrontend::UI::FilePage::slot_file_tree_view_item_double_clicked
void slot_file_tree_view_item_double_clicked(const QModelIndex &index)
Definition: FilePage.cpp:173
+
GpgFrontend::UI::FilePage::slot_file_tree_view_item_double_clicked
void slot_file_tree_view_item_double_clicked(const QModelIndex &index)
Definition: FilePage.cpp:176
GpgFrontend::UI::FilePage::slot_file_tree_view_item_clicked
void slot_file_tree_view_item_clicked(const QModelIndex &index)
Definition: FilePage.cpp:101
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::FilePage::SignalPathChanged
void SignalPathChanged(const QString &path)
-
GpgFrontend::UI::FilePage::onCustomContextMenu
void onCustomContextMenu(const QPoint &point)
Definition: FilePage.cpp:289
+
GpgFrontend::UI::FilePage::onCustomContextMenu
void onCustomContextMenu(const QPoint &point)
Definition: FilePage.cpp:292
GpgFrontend::FileOperator::CalculateHash
static std::string CalculateHash(const std::filesystem::path &file_path)
Definition: FileOperator.cpp:72
-
GpgFrontend::UI::FilePage::keyPressEvent
void keyPressEvent(QKeyEvent *event) override
Definition: FilePage.cpp:438
+
GpgFrontend::UI::FilePage::keyPressEvent
void keyPressEvent(QKeyEvent *event) override
Definition: FilePage.cpp:443
GpgFrontend::UI::FilePage
Definition: FilePage.h:45
GpgFrontend::UI::InfoBoardStatus
InfoBoardStatus
Definition: InfoBoardWidget.h:43
-
GpgFrontend::UI::FilePage::slot_compress_files
void slot_compress_files()
compress directory into gpg-zip
Definition: FilePage.cpp:452
+
GpgFrontend::UI::FilePage::slot_compress_files
void slot_compress_files()
compress directory into gpg-zip
Definition: FilePage.cpp:457
GpgFrontend::UI::SignalStation::SignalRefreshInfoBoard
void SignalRefreshInfoBoard(const QString &text, InfoBoardStatus verify_label_status)
GpgFrontend::UI::FilePage::FilePage
FilePage(QWidget *parent=nullptr)
Construct a new File Page object.
Definition: FilePage.cpp:41
-
GpgFrontend::UI::FilePage::GetSelected
QString GetSelected() const
Get the Selected object.
Definition: FilePage.cpp:184
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
+
GpgFrontend::UI::FilePage::GetSelected
QString GetSelected() const
Get the Selected object.
Definition: FilePage.cpp:187
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
GpgFrontend::UI::FilePage::SignalRefreshInfoBoard
void SignalRefreshInfoBoard(const QString &text, InfoBoardStatus verify_label_status)
-
GpgFrontend::UI::FilePage::create_popup_menu
void create_popup_menu()
Create a popup menu object.
Definition: FilePage.cpp:219
+
GpgFrontend::UI::FilePage::create_popup_menu
void create_popup_menu()
Create a popup menu object.
Definition: FilePage.cpp:222
@@ -83,49 +83,56 @@ $(document).ready(function(){initNavTree('FileReadThread_8h_source.html',''); in
-
FileReadThread.h
+
FileReadTask.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 
+
30 #include "core/GpgFrontendCore.h"
+
31 #include "core/thread/Task.h"
+
32 
+
33 namespace GpgFrontend::UI {
+
34 
+
39 class GPGFRONTEND_CORE_EXPORT FileReadTask : public GpgFrontend::Thread::Task {
+
40  Q_OBJECT
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
+
42  explicit FileReadTask(std::string path);
+
43 
+
44  virtual ~FileReadTask() override;
+
45 
+
46  void Run() override;
+
47 
+
48  signals:
+
49  void SignalFileBytesRead(QByteArray bytes);
+
50  void SignalFileBytesReadEnd();
+
51  void SignalFileBytesReadNext();
+
52 
+
53  private:
+
54  std::filesystem::path read_file_path_;
+
55  QFile target_file_;
+
56  const size_t buffer_size_ = 4096;
+
57  QEventLoop looper;
+
58 
+
59  private slots:
+
60  void read_bytes();
+
61 };
+
62 
+
63 } // namespace GpgFrontend::UI
+
64 
+
65 #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
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::UI::FileReadTask
Definition: FileReadTask.h:39
+
GpgFrontend::Thread::Task
Definition: Task.h:45
+
GpgFrontend::Thread::Task::SetFinishAfterRun
void SetFinishAfterRun(bool finish_after_run)
Set the Finish After Run object.
Definition: Task.cpp:73
+
GpgFrontend::UI::FileReadTask::Run
void Run() override
Run - run the task.
Definition: FileReadTask.cpp:47
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::FindWidget::find_edit_
QLineEdit * find_edit_
Label holding the text shown in infoBoard.
Definition: FindWidget.h:68
-
GpgFrontend::UI::PlainTextEditorPage
Class for handling a single tab of the tabwidget.
Definition: PlainTextEditorPage.h:43
+
GpgFrontend::UI::PlainTextEditorPage
Class for handling a single tab of the tabwidget.
Definition: PlainTextEditorPage.h:45
GpgFrontend::UI::FindWidget::keyPressEvent
void keyPressEvent(QKeyEvent *e) override
Definition: FindWidget.cpp:145
-
GpgFrontend::UI::PlainTextEditorPage::GetTextPage
QPlainTextEdit * GetTextPage()
Definition: PlainTextEditorPage.cpp:76
+
GpgFrontend::UI::PlainTextEditorPage::GetTextPage
QPlainTextEdit * GetTextPage()
Definition: PlainTextEditorPage.cpp:81
GpgFrontend::UI::FindWidget
Class for handling the find widget shown at buttom of a textedit-page.
Definition: FindWidget.h:40
GpgFrontend::UI::FindWidget::FindWidget
FindWidget(QWidget *parent, PlainTextEditorPage *edit)
Definition: FindWidget.cpp:33
GpgFrontend::UI::FindWidget::set_background
void set_background()
Definition: FindWidget.cpp:61
diff --git a/docs/html/GlobalSettingStation_8h_source.html b/docs/html/GlobalSettingStation_8h_source.html index 051274d8..12fd06b4 100644 --- a/docs/html/GlobalSettingStation_8h_source.html +++ b/docs/html/GlobalSettingStation_8h_source.html @@ -90,136 +90,131 @@ $(document).ready(function(){initNavTree('GlobalSettingStation_8h_source.html','
29 #ifndef GPGFRONTEND_GLOBALSETTINGSTATION_H
30 #define GPGFRONTEND_GLOBALSETTINGSTATION_H
31 
-
32 #include <openssl/x509.h>
-
33 
-
34 #include <boost/filesystem/operations.hpp>
-
35 #include <boost/filesystem/path.hpp>
-
36 
-
37 #include "GpgFrontendBuildInstallInfo.h"
-
38 #include "core/GpgFrontendCore.h"
-
39 #include "core/GpgFunctionObject.h"
-
40 
-
41 namespace GpgFrontend {
-
42 
-
47 class GPGFRONTEND_CORE_EXPORT GlobalSettingStation
-
48  : public SingletonFunctionObject<GlobalSettingStation> {
-
49  public:
-
54  explicit GlobalSettingStation(
-
55  int channel = SingletonFunctionObject::GetDefaultChannel()) noexcept;
-
56 
-
61  ~GlobalSettingStation() noexcept override;
-
62 
-
68  libconfig::Setting &GetUISettings() noexcept { return ui_cfg_.getRoot(); }
-
69 
-
75  [[nodiscard]] std::filesystem::path GetAppDir() const { return app_path_; }
-
76 
-
77  [[nodiscard]] std::filesystem::path GetAppDataPath() const {
-
78  return app_data_path_;
-
79  }
-
80 
-
86  [[nodiscard]] std::filesystem::path GetLogDir() const {
-
87  return app_log_path_;
-
88  }
-
89 
-
95  [[nodiscard]] std::filesystem::path GetStandaloneDatabaseDir() const {
-
96  auto db_path = app_configure_path_ / "db";
-
97  if (!std::filesystem::exists(db_path)) {
-
98  std::filesystem::create_directory(db_path);
-
99  }
-
100  return db_path;
-
101  }
-
102 
-
103  [[nodiscard]] std::filesystem::path GetAppConfigPath() const {
-
104  return app_configure_path_;
-
105  }
-
106 
-
112  [[nodiscard]] std::filesystem::path GetStandaloneGpgBinDir() const {
-
113  return app_resource_path_ / "gpg1.4" / "gpg";
-
114  }
-
115 
-
121  [[nodiscard]] std::filesystem::path GetLocaleDir() const {
-
122  return app_locale_path_;
-
123  }
-
124 
-
130  [[nodiscard]] std::filesystem::path GetResourceDir() const {
-
131  return app_resource_path_;
-
132  }
-
133 
-
139  [[nodiscard]] std::filesystem::path GetCertsDir() const {
-
140  return app_resource_path_ / "certs";
-
141  }
-
142 
-
147  void SyncSettings() noexcept;
-
148 
-
149  private:
-
150  std::filesystem::path app_path_ =
-
151  qApp->applicationDirPath().toStdString();
-
152  std::filesystem::path app_data_path_ =
-
153  QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation)
-
154  .toStdString();
-
155  std::filesystem::path app_log_path_ =
-
156  app_data_path_ / "logs";
-
157  std::filesystem::path app_data_objs_path_ =
-
158  app_data_path_ / "objs";
-
159 
-
160 #ifdef LINUX_INSTALL_BUILD
-
161  std::filesystem::path app_resource_path_ =
-
162  std::filesystem::path(APP_LOCALSTATE_PATH) /
-
163  "gpgfrontend";
-
164 #else
-
165  std::filesystem::path app_resource_path_ =
-
166  RESOURCE_DIR_BOOST_PATH(app_path_);
-
167 #endif
-
168 
-
169 #ifdef LINUX_INSTALL_BUILD
-
170  std::filesystem::path app_locale_path_ =
-
171  std::string(APP_LOCALE_PATH);
-
172 #else
-
173  std::filesystem::path app_locale_path_ =
-
174  app_resource_path_ / "locales";
-
175 #endif
-
176 
-
177  std::filesystem::path app_configure_path_ =
-
178  QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation)
-
179  .toStdString();
-
180  std::filesystem::path ui_config_dir_path_ =
-
181  app_configure_path_ /
-
182  "UserInterface";
-
183  std::filesystem::path ui_config_path_ =
-
184  ui_config_dir_path_ / "ui.cfg";
-
185 
-
186  libconfig::Config ui_cfg_;
-
187 
-
192  void init_app_secure_key();
-
193 };
-
194 } // namespace GpgFrontend
-
195 
-
196 #endif // GPGFRONTEND_GLOBALSETTINGSTATION_H
+
32 #include "GpgFrontendBuildInstallInfo.h"
+
33 #include "core/GpgFrontendCore.h"
+
34 #include "core/GpgFunctionObject.h"
+
35 
+
36 namespace GpgFrontend {
+
37 
+
42 class GPGFRONTEND_CORE_EXPORT GlobalSettingStation
+
43  : public SingletonFunctionObject<GlobalSettingStation> {
+
44  public:
+
49  explicit GlobalSettingStation(
+
50  int channel = SingletonFunctionObject::GetDefaultChannel()) noexcept;
+
51 
+
56  ~GlobalSettingStation() noexcept override;
+
57 
+
63  libconfig::Setting &GetUISettings() noexcept { return ui_cfg_.getRoot(); }
+
64 
+
70  [[nodiscard]] std::filesystem::path GetAppDir() const { return app_path_; }
+
71 
+
72  [[nodiscard]] std::filesystem::path GetAppDataPath() const {
+
73  return app_data_path_;
+
74  }
+
75 
+
81  [[nodiscard]] std::filesystem::path GetLogDir() const {
+
82  return app_log_path_;
+
83  }
+
84 
+
90  [[nodiscard]] std::filesystem::path GetStandaloneDatabaseDir() const {
+
91  auto db_path = app_configure_path_ / "db";
+
92  if (!std::filesystem::exists(db_path)) {
+
93  std::filesystem::create_directory(db_path);
+
94  }
+
95  return db_path;
+
96  }
+
97 
+
98  [[nodiscard]] std::filesystem::path GetAppConfigPath() const {
+
99  return app_configure_path_;
+
100  }
+
101 
+
107  [[nodiscard]] std::filesystem::path GetStandaloneGpgBinDir() const {
+
108  return app_resource_path_ / "gpg1.4" / "gpg";
+
109  }
+
110 
+
116  [[nodiscard]] std::filesystem::path GetLocaleDir() const {
+
117  return app_locale_path_;
+
118  }
+
119 
+
125  [[nodiscard]] std::filesystem::path GetResourceDir() const {
+
126  return app_resource_path_;
+
127  }
+
128 
+
134  [[nodiscard]] std::filesystem::path GetCertsDir() const {
+
135  return app_resource_path_ / "certs";
+
136  }
+
137 
+
142  void SyncSettings() noexcept;
+
143 
+
144  private:
+
145  std::filesystem::path app_path_ =
+
146  QCoreApplication::applicationDirPath().toStdString();
+
147  std::filesystem::path app_data_path_ =
+
148  QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation)
+
149  .toStdString();
+
150  std::filesystem::path app_log_path_ =
+
151  app_data_path_ / "logs";
+
152  std::filesystem::path app_data_objs_path_ =
+
153  app_data_path_ / "objs";
+
154 
+
155 #ifdef LINUX_INSTALL_BUILD
+
156  std::filesystem::path app_resource_path_ =
+
157  std::filesystem::path(APP_LOCALSTATE_PATH) /
+
158  "gpgfrontend";
+
159 #else
+
160  std::filesystem::path app_resource_path_ =
+
161  RESOURCE_DIR_BOOST_PATH(app_path_);
+
162 #endif
+
163 
+
164 #ifdef LINUX_INSTALL_BUILD
+
165  std::filesystem::path app_locale_path_ =
+
166  std::string(APP_LOCALE_PATH);
+
167 #else
+
168  std::filesystem::path app_locale_path_ =
+
169  app_resource_path_ / "locales";
+
170 #endif
+
171 
+
172  std::filesystem::path app_configure_path_ =
+
173  QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation)
+
174  .toStdString();
+
175  std::filesystem::path ui_config_dir_path_ =
+
176  app_configure_path_ /
+
177  "UserInterface";
+
178  std::filesystem::path ui_config_path_ =
+
179  ui_config_dir_path_ / "ui.cfg";
+
180 
+
181  libconfig::Config ui_cfg_;
+
182 
+
187  void init_app_secure_key();
+
188 };
+
189 } // namespace GpgFrontend
+
190 
+
191 #endif // GPGFRONTEND_GLOBALSETTINGSTATION_H
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >
GpgFrontend::GlobalSettingStation::SyncSettings
void SyncSettings() noexcept
sync the settings to the file
Definition: GlobalSettingStation.cpp:33
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::GlobalSettingStation::app_log_path_
std::filesystem::path app_log_path_
Program Data Location.
Definition: GlobalSettingStation.h:155
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
GpgFrontend::GlobalSettingStation::ui_config_path_
std::filesystem::path ui_config_path_
UI Configure File Location.
Definition: GlobalSettingStation.h:183
-
GpgFrontend::GlobalSettingStation::GetCertsDir
std::filesystem::path GetCertsDir() const
Get the Certs Dir object.
Definition: GlobalSettingStation.h:139
-
GpgFrontend::GlobalSettingStation::GetLocaleDir
std::filesystem::path GetLocaleDir() const
Get the Locale Dir object.
Definition: GlobalSettingStation.h:121
-
GpgFrontend::GlobalSettingStation::GetResourceDir
std::filesystem::path GetResourceDir() const
Get the Resource Dir object.
Definition: GlobalSettingStation.h:130
-
GpgFrontend::GlobalSettingStation::GetStandaloneDatabaseDir
std::filesystem::path GetStandaloneDatabaseDir() const
Get the Standalone Database Dir object.
Definition: GlobalSettingStation.h:95
-
GpgFrontend::GlobalSettingStation::app_data_path_
std::filesystem::path app_data_path_
Program Data Location.
Definition: GlobalSettingStation.h:152
-
GpgFrontend::GlobalSettingStation::ui_config_dir_path_
std::filesystem::path ui_config_dir_path_
Configure File Directory Location.
Definition: GlobalSettingStation.h:180
-
GpgFrontend::GlobalSettingStation::app_path_
std::filesystem::path app_path_
Program Location.
Definition: GlobalSettingStation.h:150
-
GpgFrontend::GlobalSettingStation::app_locale_path_
std::filesystem::path app_locale_path_
Program Data Location.
Definition: GlobalSettingStation.h:173
-
GpgFrontend::GlobalSettingStation
Definition: GlobalSettingStation.h:47
+
GpgFrontend::GlobalSettingStation::app_log_path_
std::filesystem::path app_log_path_
Program Data Location.
Definition: GlobalSettingStation.h:150
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
+
GpgFrontend::GlobalSettingStation::ui_config_path_
std::filesystem::path ui_config_path_
UI Configure File Location.
Definition: GlobalSettingStation.h:178
+
GpgFrontend::GlobalSettingStation::GetCertsDir
std::filesystem::path GetCertsDir() const
Get the Certs Dir object.
Definition: GlobalSettingStation.h:134
+
GpgFrontend::GlobalSettingStation::GetLocaleDir
std::filesystem::path GetLocaleDir() const
Get the Locale Dir object.
Definition: GlobalSettingStation.h:116
+
GpgFrontend::GlobalSettingStation::GetResourceDir
std::filesystem::path GetResourceDir() const
Get the Resource Dir object.
Definition: GlobalSettingStation.h:125
+
GpgFrontend::GlobalSettingStation::GetStandaloneDatabaseDir
std::filesystem::path GetStandaloneDatabaseDir() const
Get the Standalone Database Dir object.
Definition: GlobalSettingStation.h:90
+
GpgFrontend::GlobalSettingStation::app_data_path_
std::filesystem::path app_data_path_
Program Data Location.
Definition: GlobalSettingStation.h:147
+
GpgFrontend::GlobalSettingStation::ui_config_dir_path_
std::filesystem::path ui_config_dir_path_
Configure File Directory Location.
Definition: GlobalSettingStation.h:175
+
GpgFrontend::GlobalSettingStation::app_path_
std::filesystem::path app_path_
Program Location.
Definition: GlobalSettingStation.h:145
+
GpgFrontend::GlobalSettingStation::app_locale_path_
std::filesystem::path app_locale_path_
Program Data Location.
Definition: GlobalSettingStation.h:168
+
GpgFrontend::GlobalSettingStation
Definition: GlobalSettingStation.h:42
GpgFrontend::GlobalSettingStation::~GlobalSettingStation
~GlobalSettingStation() noexcept override
Destroy the Global Setting Station object.
GpgFrontend::GlobalSettingStation::GlobalSettingStation
GlobalSettingStation(int channel=SingletonFunctionObject::GetDefaultChannel()) noexcept
Construct a new Global Setting Station object.
Definition: GlobalSettingStation.cpp:46
-
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:127
-
GpgFrontend::GlobalSettingStation::app_configure_path_
std::filesystem::path app_configure_path_
Program Configure Location.
Definition: GlobalSettingStation.h:177
-
GpgFrontend::GlobalSettingStation::GetStandaloneGpgBinDir
std::filesystem::path GetStandaloneGpgBinDir() const
Get the Standalone Gpg Bin Dir object.
Definition: GlobalSettingStation.h:112
-
GpgFrontend::GlobalSettingStation::GetLogDir
std::filesystem::path GetLogDir() const
Get the Log Dir object.
Definition: GlobalSettingStation.h:86
-
GpgFrontend::GlobalSettingStation::ui_cfg_
libconfig::Config ui_cfg_
UI Configure File.
Definition: GlobalSettingStation.h:186
-
GpgFrontend::GlobalSettingStation::GetAppDir
std::filesystem::path GetAppDir() const
Get the App Dir object.
Definition: GlobalSettingStation.h:75
+
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:232
+
GpgFrontend::GlobalSettingStation::app_configure_path_
std::filesystem::path app_configure_path_
Program Configure Location.
Definition: GlobalSettingStation.h:172
+
GpgFrontend::GlobalSettingStation::GetStandaloneGpgBinDir
std::filesystem::path GetStandaloneGpgBinDir() const
Get the Standalone Gpg Bin Dir object.
Definition: GlobalSettingStation.h:107
+
GpgFrontend::GlobalSettingStation::GetLogDir
std::filesystem::path GetLogDir() const
Get the Log Dir object.
Definition: GlobalSettingStation.h:81
+
GpgFrontend::GlobalSettingStation::ui_cfg_
libconfig::Config ui_cfg_
UI Configure File.
Definition: GlobalSettingStation.h:181
+
GpgFrontend::GlobalSettingStation::GetAppDir
std::filesystem::path GetAppDir() const
Get the App Dir object.
Definition: GlobalSettingStation.h:70
GpgFrontend::GpgBasicOperator
Basic operation collection.
Definition: GpgBasicOperator.h:43
-
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:49
+
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:148
GpgFrontend::GpgBasicOperator::Decrypt
gpgme_error_t Decrypt(BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgDecrResult &result)
Call the interface provided by gpgme for decryption operation.
Definition: GpgBasicOperator.cpp:64
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::GpgBasicOperator::DecryptVerify
gpgme_error_t DecryptVerify(BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgDecrResult &decrypt_result, GpgVerifyResult &verify_result)
Call the interface provided by gpgme to perform decryption and verification operations at the same ti...
Definition: GpgBasicOperator.cpp:123
-
GpgFrontend::check_gpg_error
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
-
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
+
GpgFrontend::check_gpg_error
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:54
+
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
GpgFrontend::GpgBasicOperator::GetSigners
std::unique_ptr< KeyArgsList > GetSigners()
Get a global signature private keys that has been set.
Definition: GpgBasicOperator.cpp:193
GpgFrontend::GpgData
Definition: GpgData.h:39
GpgFrontend::GpgBasicOperator::Verify
gpgme_error_t Verify(BypeArrayRef in_buffer, ByteArrayPtr &sig_buffer, GpgVerifyResult &result) const
Call the interface provided by gpgme for verification operation.
Definition: GpgBasicOperator.cpp:81
@@ -158,11 +158,11 @@ $(document).ready(function(){initNavTree('GpgBasicOperator_8h_source.html','');
GpgFrontend::GpgBasicOperator::GpgBasicOperator
GpgBasicOperator(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Basic Operator object.
Definition: GpgBasicOperator.cpp:35
GpgFrontend::GpgBasicOperator::EncryptSymmetric
gpg_error_t EncryptSymmetric(BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgEncrResult &result)
Call the interface provided by GPGME to symmetrical encryption.
Definition: GpgBasicOperator.cpp:203
GpgFrontend::GpgBasicOperator::EncryptSign
gpgme_error_t EncryptSign(KeyListPtr keys, KeyListPtr signers, BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgEncrResult &encr_result, GpgSignResult &sign_result)
Call the interface provided by gpgme to perform encryption and signature operations at the same time.
Definition: GpgBasicOperator.cpp:144
-
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:127
+
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:232
GpgFrontend::GpgData::Read2Buffer
ByteArrayPtr Read2Buffer()
Definition: GpgData.cpp:55
GpgFrontend::GpgBasicOperator::Encrypt
gpg_error_t Encrypt(KeyListPtr keys, BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgEncrResult &result)
Call the interface provided by gpgme for encryption operation.
Definition: GpgBasicOperator.cpp:38
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
-
GpgFrontend::_new_result
GPGFRONTEND_CORE_EXPORT GpgEncrResult _new_result(gpgme_encrypt_result_t &&result)
Definition: GpgConstants.cpp:191
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
+
GpgFrontend::_new_result
GPGFRONTEND_CORE_EXPORT GpgEncrResult _new_result(gpgme_encrypt_result_t &&result)
Definition: GpgConstants.cpp:173
-
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:49
+
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:148
GpgFrontend::GpgCommandExecutor
Extra commands related to GPG.
Definition: GpgCommandExecutor.h:45
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
+
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
GpgFrontend::GpgContext
Definition: GpgContext.h:59
GpgFrontend::GpgCommandExecutor::GpgCommandExecutor
GpgCommandExecutor(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Gpg Command Executor object.
Definition: GpgCommandExecutor.cpp:30
-
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:127
+
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:232
GpgFrontend::GpgCommandExecutor::Execute
void Execute(StringArgsRef arguments, const std::function< void(boost::process::async_pipe &in, boost::process::async_pipe &out)> &interact_func)
Excuting an order.
Definition: GpgCommandExecutor.cpp:41
-
GpgFrontend::beautify_fingerprint
GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:85
-
GpgFrontend::get_file_extension
std::string get_file_extension(const std::string &path)
Get the file extension object.
Definition: GpgConstants.cpp:151
-
GpgFrontend::write_buffer_to_file
GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &path, const std::string &out_buffer)
Definition: GpgConstants.cpp:135
+
GpgFrontend::beautify_fingerprint
GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:90
+
GpgFrontend::get_file_extension
std::string get_file_extension(const std::string &path)
Get the file extension object.
Definition: GpgConstants.cpp:133
+
GpgFrontend::write_buffer_to_file
GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &path, const std::string &out_buffer)
Definition: GpgConstants.cpp:128
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::text_is_signed
int text_is_signed(BypeArrayRef text)
Definition: GpgConstants.cpp:176
-
GpgFrontend::check_gpg_error
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
-
GpgFrontend::get_only_file_name_with_path
std::string get_only_file_name_with_path(const std::string &path)
Get the only file name with path object.
Definition: GpgConstants.cpp:164
-
GpgFrontend::_result_ref_deletor
Result Deleter.
Definition: GpgConstants.h:59
-
GpgFrontend::read_all_data_in_file
std::string read_all_data_in_file(const std::string &path)
Definition: GpgConstants.cpp:117
-
GpgFrontend::GpgConstants::PGP_CRYPT_BEGIN
static const char * PGP_CRYPT_BEGIN
Definition: GpgConstants.h:213
-
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
-
GpgFrontend::GpgConstants
Definition: GpgConstants.h:211
-
GpgFrontend::_new_result
GPGFRONTEND_CORE_EXPORT GpgEncrResult _new_result(gpgme_encrypt_result_t &&result)
Definition: GpgConstants.cpp:191
+
GpgFrontend::text_is_signed
int text_is_signed(BypeArrayRef text)
Definition: GpgConstants.cpp:158
+
GpgFrontend::check_gpg_error
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:54
+
GpgFrontend::get_only_file_name_with_path
std::string get_only_file_name_with_path(const std::string &path)
Get the only file name with path object.
Definition: GpgConstants.cpp:146
+
GpgFrontend::_result_ref_deletor
Result Deleter.
Definition: GpgConstants.h:52
+
GpgFrontend::read_all_data_in_file
std::string read_all_data_in_file(const std::string &path)
Definition: GpgConstants.cpp:122
+
GpgFrontend::GpgConstants::PGP_CRYPT_BEGIN
static const char * PGP_CRYPT_BEGIN
Definition: GpgConstants.h:206
+
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:63
+
GpgFrontend::GpgConstants
Definition: GpgConstants.h:204
+
GpgFrontend::_new_result
GPGFRONTEND_CORE_EXPORT GpgEncrResult _new_result(gpgme_encrypt_result_t &&result)
Definition: GpgConstants.cpp:173
GpgFrontend::GpgContext::init_ctx
void init_ctx()
Definition: GpgContext.cpp:145
-
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:49
+
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:148
GpgFrontend
Definition: CoreCommonUtil.cpp:29
GpgFrontend::GpgInfo::AppPath
std::string AppPath
executable binary path of gnupg
Definition: GpgInfo.h:41
-
GpgFrontend::check_gpg_error
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
+
GpgFrontend::check_gpg_error
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:54
GpgFrontend::GpgContext::GetInfo
const GpgInfo & GetInfo() const
Get the Info object.
Definition: GpgContext.h:95
GpgFrontend::GpgContext
Definition: GpgContext.h:59
GpgFrontend::GpgContext::SetPassphraseCb
void SetPassphraseCb(gpgme_passphrase_cb_t func) const
Set the Passphrase Cb object.
Definition: GpgContext.cpp:193
@@ -168,7 +166,7 @@ $(document).ready(function(){initNavTree('GpgContext_8h_source.html',''); initRe
GpgFrontend::GpgContext::GpgContext
GpgContext(const GpgContextInitArgs &args={})
Construct a new Gpg Context object.
Definition: GpgContext.cpp:53
GpgFrontend::GpgContext::_ctx_ref_deleter
Definition: GpgContext.h:118
GpgFrontend::GpgContextInitArgs
Definition: GpgContext.h:43
-
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:63
GpgFrontend::GpgContext::test_status_cb
static gpgme_error_t test_status_cb(void *hook, const char *keyword, const char *args)
Definition: GpgContext.cpp:221
GpgFrontend::GpgContext::test_passphrase_cb
static gpgme_error_t test_passphrase_cb(void *opaque, const char *uid_hint, const char *passphrase_info, int last_was_bad, int fd)
Definition: GpgContext.cpp:204
GpgFrontend::GpgContext::good
bool good() const
Definition: GpgContext.cpp:191
diff --git a/docs/html/GpgCoreInit_8h_source.html b/docs/html/GpgCoreInit_8h_source.html index 96b4c51d..68ca3f4b 100644 --- a/docs/html/GpgCoreInit_8h_source.html +++ b/docs/html/GpgCoreInit_8h_source.html @@ -94,7 +94,7 @@ $(document).ready(function(){initNavTree('GpgCoreInit_8h_source.html',''); initR
33 
34 namespace GpgFrontend {
35 
-
40 void init_logging();
+
40 void GPGFRONTEND_CORE_EXPORT InitLoggingSystem();
41 
46 void init_gpgfrontend_core();
47 
@@ -106,13 +106,14 @@ $(document).ready(function(){initNavTree('GpgCoreInit_8h_source.html',''); initR
58 #endif // GPGFRONTEND_GPGCOREINIT_H
-
GpgFrontend::init_logging
void init_logging()
setup logging system and do proper initialization
Definition: GpgCoreInit.cpp:43
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::GpgContext
Definition: GpgContext.h:59
GpgFrontend::GpgContextInitArgs
Definition: GpgContext.h:43
-
GpgFrontend::new_default_settings_channel
void new_default_settings_channel(int channel)
Definition: GpgCoreInit.cpp:89
-
GpgFrontend::SingletonFunctionObject< GpgContext >::CreateInstance
static GpgContext & CreateInstance(int channel, std::function< std::unique_ptr< GpgContext >(void)> factory)
Create a Instance object.
Definition: GpgFunctionObject.h:76
-
GpgFrontend::GlobalSettingStation::GetLogDir
std::filesystem::path GetLogDir() const
Get the Log Dir object.
Definition: GlobalSettingStation.h:86
+
GpgFrontend::InitLoggingSystem
void InitLoggingSystem()
setup logging system and do proper initialization
Definition: GpgCoreInit.cpp:44
+
GpgFrontend::SingletonFunctionObject< GpgContext >::CreateInstance
static GpgContext & CreateInstance(int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
Create a Instance object.
Definition: GpgFunctionObject.h:196
+
GpgFrontend::new_default_settings_channel
void new_default_settings_channel(int channel)
Definition: GpgCoreInit.cpp:97
+
GpgFrontend::GlobalSettingStation::GetLogDir
std::filesystem::path GetLogDir() const
Get the Log Dir object.
Definition: GlobalSettingStation.h:81
GpgFrontend::GpgDecryptResultAnalyse::print_recipient
void print_recipient(std::stringstream &stream, gpgme_recipient_t recipient)
Definition: GpgDecryptResultAnalyse.cpp:75
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::GpgDecryptResultAnalyse::GpgDecryptResultAnalyse
GpgDecryptResultAnalyse(GpgError m_error, GpgDecrResult m_result)
Construct a new Decrypt Result Analyse object.
Definition: GpgDecryptResultAnalyse.cpp:33
+
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
GpgFrontend::GpgResultAnalyse
Definition: GpgResultAnalyse.h:37
-
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &fpr)
Get the Key object.
Definition: GpgKeyGetter.cpp:38
GpgFrontend::GpgDecryptResultAnalyse
Definition: GpgDecryptResultAnalyse.h:41
GpgFrontend::GpgKey::GetName
std::string GetName() const
Definition: GpgKey.cpp:58
diff --git a/docs/html/GpgFileOpera_8h_source.html b/docs/html/GpgFileOpera_8h_source.html index da392526..71feba13 100644 --- a/docs/html/GpgFileOpera_8h_source.html +++ b/docs/html/GpgFileOpera_8h_source.html @@ -144,11 +144,11 @@ $(document).ready(function(){initNavTree('GpgFileOpera_8h_source.html',''); init
GpgFrontend::GpgFileOpera::SignFile
static GpgError SignFile(KeyListPtr keys, const std::string &in_path, const std::string &out_path, GpgSignResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)
Definition: GpgFileOpera.cpp:103
-
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:49
+
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:148
GpgFrontend::FileOperator::WriteFileStd
static bool WriteFileStd(const std::filesystem::path &file_name, const std::string &data)
write file content using std struct
Definition: FileOperator.cpp:67
GpgFrontend::GpgBasicOperator::Decrypt
gpgme_error_t Decrypt(BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgDecrResult &result)
Call the interface provided by gpgme for decryption operation.
Definition: GpgBasicOperator.cpp:64
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject< GpgBasicOperator >::GetInstance
static GpgBasicOperator & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgBasicOperator >::GetInstance
static GpgBasicOperator & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::GpgBasicOperator::DecryptVerify
gpgme_error_t DecryptVerify(BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgDecrResult &decrypt_result, GpgVerifyResult &verify_result)
Call the interface provided by gpgme to perform decryption and verification operations at the same ti...
Definition: GpgBasicOperator.cpp:123
GpgFrontend::GpgFileOpera::EncryptFile
static unsigned int EncryptFile(KeyListPtr keys, const std::string &in_path, const std::string &out_path, GpgEncrResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)
Encrypted file.
Definition: GpgFileOpera.cpp:40
GpgFrontend::GpgFileOpera
Definition: GpgFileOpera.h:43
@@ -157,9 +157,9 @@ $(document).ready(function(){initNavTree('GpgFileOpera_8h_source.html',''); init
GpgFrontend::GpgBasicOperator::EncryptSymmetric
gpg_error_t EncryptSymmetric(BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgEncrResult &result)
Call the interface provided by GPGME to symmetrical encryption.
Definition: GpgBasicOperator.cpp:203
GpgFrontend::GpgBasicOperator::EncryptSign
gpgme_error_t EncryptSign(KeyListPtr keys, KeyListPtr signers, BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgEncrResult &encr_result, GpgSignResult &sign_result)
Call the interface provided by gpgme to perform encryption and signature operations at the same time.
Definition: GpgBasicOperator.cpp:144
GpgFrontend::GpgFileOpera::GpgFileOpera
GpgFileOpera(int channel=SingletonFunctionObject::GetDefaultChannel())
Definition: GpgFileOpera.cpp:37
-
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:127
+
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:232
GpgFrontend::FileOperator::ReadFileStd
static bool ReadFileStd(const std::filesystem::path &file_name, std::string &data)
read file content using std struct
Definition: FileOperator.cpp:55
-
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:63
GpgFrontend::GpgFileOpera::DecryptVerifyFile
static GpgError DecryptVerifyFile(const std::string &in_path, const std::string &out_path, GpgDecrResult &decr_res, GpgVerifyResult &verify_res)
Definition: GpgFileOpera.cpp:197
GpgFrontend::GpgFileOpera::VerifyFile
static GpgError VerifyFile(const std::string &data_path, const std::string &sign_path, GpgVerifyResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)
Definition: GpgFileOpera.cpp:135
GpgFrontend::GpgFileOpera::EncryptSignFile
static GpgError EncryptSignFile(KeyListPtr keys, KeyListPtr signer_keys, const std::string &in_path, const std::string &out_path, GpgEncrResult &encr_res, GpgSignResult &sign_res, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)
Definition: GpgFileOpera.cpp:165
diff --git a/docs/html/VersionCheckThread_8h_source.html b/docs/html/GpgFrontendApplication_8h_source.html similarity index 55% rename from docs/html/VersionCheckThread_8h_source.html rename to docs/html/GpgFrontendApplication_8h_source.html index 18c9eb61..7a17ffff 100644 --- a/docs/html/VersionCheckThread_8h_source.html +++ b/docs/html/GpgFrontendApplication_8h_source.html @@ -5,7 +5,7 @@ -GpgFrontend Project: src/ui/thread/VersionCheckThread.h Source File +GpgFrontend Project: src/ui/GpgFrontendApplication.h Source File @@ -63,7 +63,7 @@ $(function() {
@@ -83,50 +83,46 @@ $(document).ready(function(){initNavTree('VersionCheckThread_8h_source.html','')
-
VersionCheckThread.h
+
GpgFrontendApplication.h
1 
-
29 #ifndef GPGFRONTEND_VERSIONCHECKTHREAD_H
-
30 #define GPGFRONTEND_VERSIONCHECKTHREAD_H
+
27 #include "ui/GpgFrontendUI.h"
+
28 
+
29 #ifndef GPGFRONTEND_GPGFRONTENDAPPLICATION_H
+
30 #define GPGFRONTEND_GPGFRONTENDAPPLICATION_H
31 
-
32 #include "ui/GpgFrontendUI.h"
-
33 #include "ui/struct/SoftwareVersion.h"
-
34 
-
35 namespace GpgFrontend::UI {
-
36 
-
41 class VersionCheckThread : public QThread {
-
42  Q_OBJECT
-
43 
-
44  public:
-
49  explicit VersionCheckThread();
+
32 namespace GpgFrontend::UI {
+
33 
+
34 class GPGFRONTEND_UI_EXPORT GpgFrontendApplication : public QApplication {
+
35  Q_OBJECT
+
36  public:
+
43  explicit GpgFrontendApplication(int &argc, char **argv);
+
44 
+
49  ~GpgFrontendApplication() override = default;
50 
-
51  signals:
-
52 
- +
56  static GpgFrontendApplication *GetInstance(int argc = 0,
+
57  char *argv[] = nullptr,
+
58  bool new_instance = false);
59 
60  protected:
-
66  void run() override;
-
67 
-
68  private:
-
69  QByteArray latest_reply_bytes_;
-
70  QByteArray current_reply_bytes_;
-
71 };
-
72 
-
73 } // namespace GpgFrontend::UI
-
74 
-
75 #endif // GPGFRONTEND_VERSIONCHECKTHREAD_H
+
67  bool notify(QObject *receiver, QEvent *event) override;
+
68 };
+
69 
+
70 } // namespace GpgFrontend::UI
+
71 
+
72 #endif // GPGFRONTEND_GPGFRONTENDAPPLICATION_H
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::UI::SoftwareVersion
Definition: SoftwareVersion.h:39
-
GpgFrontend::UI::VersionCheckThread::SignalUpgradeVersion
void SignalUpgradeVersion(SoftwareVersion version)
-
GpgFrontend::UI::VersionCheckThread
Definition: VersionCheckThread.h:41
-
GpgFrontend::UI::VersionCheckThread::VersionCheckThread
VersionCheckThread()
Construct a new Version Check Thread object.
Definition: VersionCheckThread.cpp:125
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::UI::GpgFrontendApplication::GpgFrontendApplication
GpgFrontendApplication(int &argc, char **argv)
Construct a new GpgFrontend Application object.
Definition: GpgFrontendApplication.cpp:33
+
GpgFrontend::UI::GpgFrontendApplication
Definition: GpgFrontendApplication.h:34
+
GpgFrontend::UI::GpgFrontendApplication::notify
bool notify(QObject *receiver, QEvent *event) override
Definition: GpgFrontendApplication.cpp:70
+
GpgFrontend::UI::GpgFrontendApplication::GetInstance
static GpgFrontendApplication * GetInstance(int argc=0, char *argv[]=nullptr, bool new_instance=false)
Get the GpgFrontend Application object.
Definition: GpgFrontendApplication.cpp:56
diff --git a/docs/html/GpgFrontendUIInit_8h_source.html b/docs/html/GpgFrontendUIInit_8h_source.html index 86b7cd67..fbb51185 100644 --- a/docs/html/GpgFrontendUIInit_8h_source.html +++ b/docs/html/GpgFrontendUIInit_8h_source.html @@ -94,17 +94,29 @@ $(document).ready(function(){initNavTree('GpgFrontendUIInit_8h_source.html','');
33 
34 namespace GpgFrontend::UI {
35 
-
39 void init_logging();
-
40 
-
41 }; // namespace GpgFrontend::UI
-
42 
-
43 #endif // GPGFRONTEND_GPGFRONTENDUIINIT_H
+
40 void GPGFRONTEND_UI_EXPORT InitGpgFrontendUI(QApplication *);
+
41 
+
45 int GPGFRONTEND_UI_EXPORT RunGpgFrontendUI(QApplication *);
+
46 
+
47 }; // namespace GpgFrontend::UI
+
48 
+
49 #endif // GPGFRONTEND_GPGFRONTENDUIINIT_H
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::init_logging
void init_logging()
setup logging system and do proper initialization
Definition: GpgCoreInit.cpp:43
-
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::GlobalSettingStation::GetLogDir
std::filesystem::path GetLogDir() const
Get the Log Dir object.
Definition: GlobalSettingStation.h:86
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::GlobalSettingStation::SyncSettings
void SyncSettings() noexcept
sync the settings to the file
Definition: GlobalSettingStation.cpp:33
+
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
+
GpgFrontend::GlobalSettingStation::GetLocaleDir
std::filesystem::path GetLocaleDir() const
Get the Locale Dir object.
Definition: GlobalSettingStation.h:116
+
GpgFrontend::GlobalSettingStation::GetResourceDir
std::filesystem::path GetResourceDir() const
Get the Resource Dir object.
Definition: GlobalSettingStation.h:125
+
GpgFrontend::UI::RunGpgFrontendUI
int RunGpgFrontendUI(QApplication *app)
run main window
Definition: GpgFrontendUIInit.cpp:122
+
GpgFrontend::UI::init_logging_system
void init_logging_system()
initialize the logging system.
Definition: GpgFrontendUIInit.cpp:132
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
+
GpgFrontend::UI::init_locale
void init_locale()
setup the locale and load the translations
Definition: GpgFrontendUIInit.cpp:172
+
GpgFrontend::Thread::CtxCheckTask
Definition: CtxCheckTask.h:38
+
GpgFrontend::UI::InitGpgFrontendUI
void InitGpgFrontendUI(QApplication *app)
init the UI library
Definition: GpgFrontendUIInit.cpp:50
+
GpgFrontend::GlobalSettingStation::GetLogDir
std::filesystem::path GetLogDir() const
Get the Log Dir object.
Definition: GlobalSettingStation.h:81
+
GpgFrontend::UI::CommonUtils::GetInstance
static CommonUtils * GetInstance()
Get the Instance object.
Definition: UserInterfaceUtils.cpp:143
diff --git a/docs/html/GpgFunctionObject_8h_source.html b/docs/html/GpgFunctionObject_8h_source.html index b3ae8a21..80081c3b 100644 --- a/docs/html/GpgFunctionObject_8h_source.html +++ b/docs/html/GpgFunctionObject_8h_source.html @@ -90,154 +90,163 @@ $(document).ready(function(){initNavTree('GpgFunctionObject_8h_source.html','');
29 #ifndef GPGFRONTEND_ZH_CN_TS_FUNCTIONOBJECT_H
30 #define GPGFRONTEND_ZH_CN_TS_FUNCTIONOBJECT_H
31 
-
32 #include <map>
-
33 #include <memory>
-
34 #include <mutex>
-
35 #include <shared_mutex>
-
36 #include <stdexcept>
-
37 #include <string>
-
38 
-
39 #include "GpgConstants.h"
-
40 
-
41 namespace GpgFrontend {
-
42 
-
48 template <typename T>
-
49 class SingletonFunctionObject {
-
50  public:
-
57  static T& GetInstance(
-
58  int channel = GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL) {
-
59  static_assert(std::is_base_of<SingletonFunctionObject<T>, T>::value,
-
60  "T not derived from SingletonFunctionObject<T>");
+
32 #include "GpgConstants.h"
+
33 
+
34 namespace GpgFrontend {
+
35 
+
40 class GPGFRONTEND_CORE_EXPORT ChannelObject {
+
41  public:
+
46  ChannelObject() noexcept;
+
47 
+
53  ChannelObject(int channel);
+
54 
+
60  static int GetDefaultChannel();
61 
-
62  auto _p_pbj = find_object_in_channel(channel);
-
63  if (_p_pbj == nullptr)
-
64  return *set_object_in_channel(channel, std::make_unique<T>(channel));
-
65  else
-
66  return *_p_pbj;
-
67  }
+
67  [[nodiscard]] int GetChannel() const;
68 
-
76  static T& CreateInstance(int channel,
-
77  std::function<std::unique_ptr<T>(void)> factory) {
-
78  static_assert(std::is_base_of<SingletonFunctionObject<T>, T>::value,
-
79  "T not derived from SingletonFunctionObject<T>");
+
74  void SetChannel(int channel);
+
75 
+
76  private:
+
77  int channel_ = _default_channel;
+
78  static constexpr int _default_channel = 0;
+
79 };
80 
-
81  auto _p_pbj = find_object_in_channel(channel);
-
82  if (_p_pbj == nullptr)
-
83  return *set_object_in_channel(channel, std::move(factory()));
-
84  else
-
85  return *_p_pbj;
-
86  }
-
87 
-
95  static T& CreateInstance(int channel, std::unique_ptr<T> p_obj = nullptr) {
-
96  static_assert(std::is_base_of<SingletonFunctionObject<T>, T>::value,
-
97  "T not derived from SingletonFunctionObject<T>");
-
98 
-
99  auto _p_pbj = find_object_in_channel(channel);
-
100  if (_p_pbj == nullptr)
-
101  return *set_object_in_channel(channel, std::move(p_obj));
-
102  else
-
103  return *_p_pbj;
-
104  }
-
105 
-
112  static T& ReleaseChannel(int channel) {
-
113  decltype(_instances_map.end()) _it;
-
114  {
-
115  std::shared_lock lock(_instances_mutex);
-
116  _it = _instances_map.find(channel);
-
117  }
-
118  if (_it != _instances_map.end()) _instances_map.erase(_it);
-
119  DLOG(INFO) << "channel" << channel << "released";
-
120  }
-
121 
-
127  static int GetDefaultChannel() { return _default_channel; }
-
128 
-
134  [[nodiscard]] int GetChannel() const { return channel_; }
-
135 
-
140  SingletonFunctionObject(T&&) = delete;
-
141 
-
146  SingletonFunctionObject(const T&) = delete;
-
147 
-
152  void operator=(const T&) = delete;
-
153 
-
154  protected:
-
159  SingletonFunctionObject() = default;
-
160 
-
166  explicit SingletonFunctionObject(int channel) : channel_(channel) {}
-
167 
-
172  virtual ~SingletonFunctionObject() = default;
-
173 
-
179  void SetChannel(int channel) { this->channel_ = channel; }
+
81 class GPGFRONTEND_CORE_EXPORT SingletonStorage {
+
82  public:
+
88  void ReleaseChannel(int channel);
+
89 
+
96  ChannelObject* FindObjectInChannel(int channel);
+
97 
+
103  std::vector<int> GetAllChannelId();
+
104 
+
112  ChannelObject* SetObjectInChannel(int channel,
+
113  std::unique_ptr<ChannelObject> p_obj);
+
114 
+
115  private:
+
116  std::shared_mutex instances_mutex_;
+
117  std::map<int, std::unique_ptr<ChannelObject>>
+
118  instances_map_;
+
119 };
+
120 
+
121 class GPGFRONTEND_CORE_EXPORT SingletonStorageCollection {
+
122  public:
+
128  static SingletonStorageCollection* GetInstance();
+
129 
+
136  SingletonStorage* GetSingletonStorage(const std::type_info&);
+
137 
+
138  private:
+
139  std::shared_mutex storages_mutex_;
+
140  std::map<size_t, std::unique_ptr<SingletonStorage>> storages_map_;
+
141 };
+
147 template <typename T>
+
148 class SingletonFunctionObject : public ChannelObject {
+
149  public:
+
154  SingletonFunctionObject(const SingletonFunctionObject<T>&) = delete;
+
155 
+
161  SingletonFunctionObject& operator=(const SingletonFunctionObject<T>&) =
+
162  delete;
+
163 
+
170  static T& GetInstance(
+
171  int channel = GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL) {
+
172  static_assert(std::is_base_of<SingletonFunctionObject<T>, T>::value,
+
173  "T not derived from SingletonFunctionObject<T>");
+
174 
+
175  auto p_storage =
+
176  SingletonStorageCollection::GetInstance()->GetSingletonStorage(
+
177  typeid(T));
+
178 
+
179  auto* _p_pbj = (T*)(p_storage->FindObjectInChannel(channel));
180 
-
181  private:
-
182  int channel_ = _default_channel;
-
183  static int _default_channel;
-
184  static std::mutex _instance_mutex;
-
185  static std::shared_mutex _instances_mutex;
-
186  static std::unique_ptr<T> _instance;
-
187  static std::map<int, std::unique_ptr<T>> _instances_map;
+
181  if (_p_pbj == nullptr) {
+
182  auto new_obj = std::unique_ptr<ChannelObject>(new T(channel));
+
183  return *(T*)(p_storage->SetObjectInChannel(channel, std::move(new_obj)));
+
184  } else {
+
185  return *_p_pbj;
+
186  }
+
187  }
188 
-
195  static T* find_object_in_channel(int channel) {
-
196  // read _instances_map
-
197  decltype(_instances_map.end()) _it;
-
198  {
-
199  std::shared_lock lock(_instances_mutex);
-
200  _it = _instances_map.find(channel);
-
201  if (_it == _instances_map.end())
-
202  return nullptr;
-
203  else
-
204  return _it->second.get();
-
205  }
-
206  }
+
196  static T& CreateInstance(
+
197  int channel,
+
198  std::function<std::unique_ptr<ChannelObject>(void)> factory) {
+
199  static_assert(std::is_base_of<SingletonFunctionObject<T>, T>::value,
+
200  "T not derived from SingletonFunctionObject<T>");
+
201 
+
202  auto p_storage =
+
203  SingletonStorageCollection::GetInstance()->GetSingletonStorage(
+
204  typeid(T));
+
205 
+
206  auto _p_pbj = (T*)(p_storage->FindObjectInChannel(channel));
207 
-
215  static T* set_object_in_channel(int channel, std::unique_ptr<T> p_obj) {
-
216  {
-
217  if (p_obj == nullptr) p_obj = std::make_unique<T>();
-
218  T* obj = p_obj.get();
-
219  obj->SetChannel(channel);
-
220  {
-
221  std::unique_lock lock(_instances_mutex);
-
222  _instances_map.insert({channel, std::move(p_obj)});
-
223  }
-
224  return obj;
-
225  }
-
226  }
-
227 };
-
228 
-
229 template <typename T>
-
230 int SingletonFunctionObject<T>::_default_channel =
-
231  GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL;
-
232 
-
233 template <typename T>
-
234 std::mutex SingletonFunctionObject<T>::_instance_mutex;
-
235 
-
236 template <typename T>
-
237 std::shared_mutex SingletonFunctionObject<T>::_instances_mutex;
-
238 
-
239 template <typename T>
-
240 std::unique_ptr<T> SingletonFunctionObject<T>::_instance = nullptr;
-
241 
-
242 template <typename T>
-
243 std::map<int, std::unique_ptr<T>> SingletonFunctionObject<T>::_instances_map;
-
244 
-
245 } // namespace GpgFrontend
-
246 
-
247 #endif // GPGFRONTEND_ZH_CN_TS_FUNCTIONOBJECT_H
+
208  if (_p_pbj == nullptr) {
+
209  return *(
+
210  T*)(p_storage->SetObjectInChannel(channel, std::move(factory())));
+
211  } else
+
212  return *_p_pbj;
+
213  }
+
214 
+
221  static void ReleaseChannel(int channel) {
+
222  SingletonStorageCollection::GetInstance()
+
223  ->GetSingletonStorage(typeid(T))
+
224  ->ReleaseChannel(channel);
+
225  }
+
226 
+
232  static int GetDefaultChannel() { return ChannelObject::GetDefaultChannel(); }
+
233 
+
239  [[nodiscard]] int GetChannel() const { return ChannelObject::GetChannel(); }
+
240 
+
246  static std::vector<int> GetAllChannelId() {
+
247  return SingletonStorageCollection::GetInstance()
+
248  ->GetSingletonStorage(typeid(T))
+
249  ->GetAllChannelId();
+
250  }
+
251 
+
256  SingletonFunctionObject(T&&) = delete;
+
257 
+
262  SingletonFunctionObject(const T&) = delete;
+
263 
+
268  void operator=(const T&) = delete;
+
269 
+
270  protected:
+
275  SingletonFunctionObject() = default;
+
276 
+
282  explicit SingletonFunctionObject(int channel) : ChannelObject(channel) {}
+
283 
+
288  virtual ~SingletonFunctionObject() = default;
+
289 };
+
290 } // namespace GpgFrontend
+
291 
+
292 #endif // GPGFRONTEND_ZH_CN_TS_FUNCTIONOBJECT_H
-
GpgFrontend::SingletonFunctionObject::ReleaseChannel
static T & ReleaseChannel(int channel)
Definition: GpgFunctionObject.h:112
-
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:49
-
GpgFrontend::SingletonFunctionObject::SetChannel
void SetChannel(int channel)
Set the Channel object.
Definition: GpgFunctionObject.h:179
+
GpgFrontend::ChannelObject::channel_
int channel_
The channel id.
Definition: GpgFunctionObject.h:77
+
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:148
+
GpgFrontend::ChannelObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.cpp:43
+
GpgFrontend::SingletonStorageCollection::GetSingletonStorage
SingletonStorage * GetSingletonStorage(const std::type_info &)
Get the Singleton Storage object.
Definition: GpgFunctionObject.cpp:99
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject::GetInstance
static T & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::SingletonFunctionObject::SingletonFunctionObject
SingletonFunctionObject(int channel)
Construct a new Singleton Function Object object.
Definition: GpgFunctionObject.h:166
-
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
+
GpgFrontend::SingletonFunctionObject::GetInstance
static T & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::SingletonFunctionObject::SingletonFunctionObject
SingletonFunctionObject(int channel)
Construct a new Singleton Function Object object.
Definition: GpgFunctionObject.h:282
+
GpgFrontend::SingletonFunctionObject::operator=
SingletonFunctionObject & operator=(const SingletonFunctionObject< T > &)=delete
prohibit copy
+
GpgFrontend::ChannelObject::SetChannel
void SetChannel(int channel)
Set the Channel object.
Definition: GpgFunctionObject.cpp:39
+
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
GpgFrontend::SingletonFunctionObject::~SingletonFunctionObject
virtual ~SingletonFunctionObject()=default
Destroy the Singleton Function Object object.
-
GpgFrontend::SingletonFunctionObject::CreateInstance
static T & CreateInstance(int channel, std::unique_ptr< T > p_obj=nullptr)
Create a Instance object.
Definition: GpgFunctionObject.h:95
-
GpgFrontend::SingletonFunctionObject::set_object_in_channel
static T * set_object_in_channel(int channel, std::unique_ptr< T > p_obj)
Set the object in channel object.
Definition: GpgFunctionObject.h:215
+
GpgFrontend::SingletonStorage::SetObjectInChannel
ChannelObject * SetObjectInChannel(int channel, std::unique_ptr< ChannelObject > p_obj)
Set a new object in channel object.
Definition: GpgFunctionObject.cpp:79
+
GpgFrontend::SingletonStorage::instances_map_
std::map< int, std::unique_ptr< ChannelObject > > instances_map_
map of singleton instances
Definition: GpgFunctionObject.h:118
+
GpgFrontend::SingletonStorageCollection::storages_mutex_
std::shared_mutex storages_mutex_
mutex for storages_map_
Definition: GpgFunctionObject.h:139
+
GpgFrontend::SingletonStorageCollection
Definition: GpgFunctionObject.h:121
+
GpgFrontend::SingletonStorage::FindObjectInChannel
ChannelObject * FindObjectInChannel(int channel)
Definition: GpgFunctionObject.cpp:56
+
GpgFrontend::SingletonStorageCollection::GetInstance
static SingletonStorageCollection * GetInstance()
Get the Instance object.
Definition: GpgFunctionObject.cpp:125
+
GpgFrontend::SingletonFunctionObject::GetAllChannelId
static std::vector< int > GetAllChannelId()
Get all the channel ids.
Definition: GpgFunctionObject.h:246
+
GpgFrontend::ChannelObject::ChannelObject
ChannelObject() noexcept
Construct a new Default Channel Object object.
+
GpgFrontend::SingletonFunctionObject::CreateInstance
static T & CreateInstance(int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
Create a Instance object.
Definition: GpgFunctionObject.h:196
+
GpgFrontend::ChannelObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.cpp:45
+
GpgFrontend::ChannelObject
object which in channel system
Definition: GpgFunctionObject.h:40
GpgFrontend::SingletonFunctionObject::SingletonFunctionObject
SingletonFunctionObject()=default
Construct a new Singleton Function Object object.
-
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:127
-
GpgFrontend::SingletonFunctionObject::find_object_in_channel
static T * find_object_in_channel(int channel)
Definition: GpgFunctionObject.h:195
-
GpgFrontend::SingletonFunctionObject::CreateInstance
static T & CreateInstance(int channel, std::function< std::unique_ptr< T >(void)> factory)
Create a Instance object.
Definition: GpgFunctionObject.h:76
+
GpgFrontend::SingletonStorage::ReleaseChannel
void ReleaseChannel(int channel)
Definition: GpgFunctionObject.cpp:47
+
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:232
+
GpgFrontend::SingletonStorage
Definition: GpgFunctionObject.h:81
+
GpgFrontend::SingletonStorage::instances_mutex_
std::shared_mutex instances_mutex_
mutex for _instances_map
Definition: GpgFunctionObject.h:116
+
GpgFrontend::SingletonStorage::GetAllChannelId
std::vector< int > GetAllChannelId()
Get all the channel ids.
Definition: GpgFunctionObject.cpp:71
+
GpgFrontend::SingletonFunctionObject::ReleaseChannel
static void ReleaseChannel(int channel)
Definition: GpgFunctionObject.h:221
-
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:49
-
GpgFrontend::GpgKeyGetter::GpgKeyGetter
GpgKeyGetter(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Gpg Key Getter object.
Definition: GpgKeyGetter.cpp:35
-
GpgFrontend::GpgKeyGetter::GetKeysCopy
static KeyListPtr GetKeysCopy(const KeyListPtr &keys)
Get the Keys Copy object.
Definition: GpgKeyGetter.cpp:97
+
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:148
+
GpgFrontend::GpgKeyGetter::GpgKeyGetter
GpgKeyGetter(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Gpg Key Getter object.
Definition: GpgKeyGetter.cpp:41
+
GpgFrontend::GpgKeyGetter::GetKeysCopy
KeyListPtr GetKeysCopy(const KeyListPtr &keys)
Get the Keys Copy object.
Definition: GpgKeyGetter.cpp:164
+
GpgFrontend::GpgKeyGetter::keys_cache_mutex_
std::mutex keys_cache_mutex_
shared mutex for the keys cache
Definition: GpgKeyGetter.h:133
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:42
-
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
-
GpgFrontend::GpgKeyGetter::FetchKey
KeyLinkListPtr FetchKey()
Definition: GpgKeyGetter.cpp:58
+
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::GpgKeyGetter::get_key_in_cache
GpgKey get_key_in_cache(const std::string &id)
Get the Key object.
Definition: GpgKeyGetter.cpp:173
+
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:45
+
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
+
GpgFrontend::GpgKeyGetter::FetchKey
KeyLinkListPtr FetchKey()
Get all the keys by receiving a linked list.
Definition: GpgKeyGetter.cpp:82
GpgFrontend::GpgContext
Definition: GpgContext.h:59
-
GpgFrontend::GpgKeyGetter::GetPubkey
GpgKey GetPubkey(const std::string &fpr)
Get the Pubkey object.
Definition: GpgKeyGetter.cpp:49
-
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:127
-
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
-
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &fpr)
Get the Key object.
Definition: GpgKeyGetter.cpp:38
-
GpgFrontend::GpgKeyGetter::GetKeys
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:83
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKeyGetter::FlushKeyCache
void FlushKeyCache()
flush the keys in the cache
Definition: GpgKeyGetter.cpp:101
+
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
+
GpgFrontend::GpgKeyGetter::GetPubkey
GpgKey GetPubkey(const std::string &id, bool use_cache=true)
Get the Pubkey object.
Definition: GpgKeyGetter.cpp:67
+
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:232
+
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:63
+
GpgFrontend::GpgKeyGetter::keys_cache_
std::map< std::string, GpgKey > keys_cache_
cache the keys with key id
Definition: GpgKeyGetter.h:127
+
GpgFrontend::GpgKeyGetter::GetKeys
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:148
+
GpgFrontend::GpgKeyGetter::ctx_mutex_
std::mutex ctx_mutex_
shared mutex for the keys cache
Definition: GpgKeyGetter.h:121
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
-
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:49
+
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:148
GpgFrontend::GpgKeyImportExporter::ExportKeys
bool ExportKeys(KeyIdArgsListPtr &uid_list, ByteArrayPtr &out_buffer, bool secret=false) const
Definition: GpgKeyImportExporter.cpp:71
GpgFrontend::GpgKey::GetId
std::string GetId() const
Definition: GpgKey.cpp:54
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::check_gpg_error
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
+
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::check_gpg_error
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:54
GpgFrontend::GpgKeyImportExporter::GpgKeyImportExporter
GpgKeyImportExporter(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Gpg Key Import Exporter object.
Definition: GpgKeyImportExporter.cpp:34
-
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
+
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
GpgFrontend::GpgData
Definition: GpgData.h:39
GpgFrontend::GpgContext
Definition: GpgContext.h:59
GpgFrontend::GpgImportedKey
Definition: GpgKeyImportExporter.h:45
-
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:127
-
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:232
+
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:63
GpgFrontend::GpgData::Read2Buffer
ByteArrayPtr Read2Buffer()
Definition: GpgData.cpp:55
GpgFrontend::GpgKeyImportExporter::ImportKey
GpgImportInformation ImportKey(StdBypeArrayPtr inBuffer)
Definition: GpgKeyImportExporter.cpp:42
GpgFrontend::GpgKeyImportExporter::ExportKeyOpenSSH
bool ExportKeyOpenSSH(const GpgKey &key, ByteArrayPtr &out_buffer) const
Definition: GpgKeyImportExporter.cpp:155
GpgFrontend::GpgKeyImportExporter::ExportSecretKey
bool ExportSecretKey(const GpgKey &key, ByteArrayPtr &outBuffer) const
Definition: GpgKeyImportExporter.cpp:124
GpgFrontend::GpgKeyImportExporter::ExportSecretKeyShortest
bool ExportSecretKeyShortest(const GpgKey &key, ByteArrayPtr &outBuffer) const
Definition: GpgKeyImportExporter.cpp:169
-
GpgFrontend::GpgKeyGetter::GetKeys
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:83
+
GpgFrontend::GpgKeyGetter::GetKeys
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:148
GpgFrontend::GpgImportInformation
Definition: GpgKeyImportExporter.h:57
GpgFrontend::GpgKeyImportExporter
Definition: GpgKeyImportExporter.h:89
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
GpgFrontend::GpgKeyImportExporter::ExportKey
bool ExportKey(const GpgKey &key, ByteArrayPtr &out_buffer) const
Definition: GpgKeyImportExporter.cpp:141
-
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:49
+
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:148
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject< GpgBasicOperator >::GetInstance
static GpgBasicOperator & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgBasicOperator >::GetInstance
static GpgBasicOperator & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::GpgKeyManager::SetExpire
bool SetExpire(const GpgKey &key, std::unique_ptr< GpgSubKey > &subkey, std::unique_ptr< boost::posix_time::ptime > &expires)
Set the Expire object.
Definition: GpgKeyManager.cpp:78
-
GpgFrontend::check_gpg_error
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
-
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
+
GpgFrontend::check_gpg_error
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:54
+
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
GpgFrontend::GpgBasicOperator::SetSigners
void SetSigners(KeyArgsList &signers)
Set the private key for signatures, this operation is a global operation.
Definition: GpgBasicOperator.cpp:178
GpgFrontend::GpgContext
Definition: GpgContext.h:59
GpgFrontend::GpgKeyManager::SignKey
bool SignKey(const GpgKey &target, KeyArgsList &keys, const std::string &uid, const std::unique_ptr< boost::posix_time::ptime > &expires)
Sign a key pair(actually a certain uid)
Definition: GpgKeyManager.cpp:40
-
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:127
-
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:232
+
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:63
GpgFrontend::GpgKeyManager::GpgKeyManager
GpgKeyManager(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Gpg Key Manager object.
Definition: GpgKeyManager.cpp:37
GpgFrontend::GpgKeyManager
Definition: GpgKeyManager.h:42
GpgFrontend::GpgKeyManager::RevSign
bool RevSign(const GpgFrontend::GpgKey &key, const GpgFrontend::SignIdArgsListPtr &signature_id)
Definition: GpgKeyManager.cpp:62
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
GpgFrontend::GenKeyInfo::GetUserid
std::string GetUserid() const
Get the Userid object.
Definition: GpgGenKeyInfo.h:114
-
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:49
+
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:148
GpgFrontend::GpgKeyOpera::GenerateRevokeCert
static void GenerateRevokeCert(const GpgKey &key, const std::string &output_file_name)
Definition: GpgKeyOpera.cpp:106
GpgFrontend::GenKeyInfo::GetAlgo
const std::string & GetAlgo() const
Get the Algo object.
Definition: GpgGenKeyInfo.h:167
GpgFrontend::GpgKey::GetId
std::string GetId() const
Definition: GpgKey.cpp:54
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::check_gpg_error
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
+
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::check_gpg_error
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:54
GpgFrontend::GpgKeyOpera
Definition: GpgKeyOpera.h:47
-
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
+
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
GpgFrontend::GpgKeyOpera::GenerateSubkey
GpgFrontend::GpgError GenerateSubkey(const GpgKey &key, const std::unique_ptr< GenKeyInfo > &params)
Definition: GpgKeyOpera.cpp:245
GpgFrontend::GpgKeyOpera::SetExpire
GpgError SetExpire(const GpgKey &key, const SubkeyId &subkey_fpr, std::unique_ptr< boost::posix_time::ptime > &expires)
Set the Expire object.
Definition: GpgKeyOpera.cpp:76
GpgFrontend::GpgContext
Definition: GpgContext.h:59
GpgFrontend::GpgKeyOpera::GenerateKey
GpgFrontend::GpgError GenerateKey(const std::unique_ptr< GenKeyInfo > &params, GpgGenKeyResult &result)
Definition: GpgKeyOpera.cpp:166
+
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
GpgFrontend::GpgKeyOpera::ModifyPassword
GpgFrontend::GpgError ModifyPassword(const GpgKey &key)
Definition: GpgKeyOpera.cpp:276
-
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:127
-
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:232
+
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:63
GpgFrontend::GenKeyInfo::GetKeySizeStr
std::string GetKeySizeStr() const
Get the Key Size Str object.
Definition: GpgGenKeyInfo.cpp:154
GpgFrontend::GenKeyInfo::IsSubKey
bool IsSubKey() const
Definition: GpgGenKeyInfo.h:100
GpgFrontend::GpgKeyOpera::GpgKeyOpera
GpgKeyOpera(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Gpg Key Opera object.
Definition: GpgKeyOpera.cpp:44
-
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &fpr)
Get the Key object.
Definition: GpgKeyGetter.cpp:38
GpgFrontend::GpgCommandExecutor::Execute
void Execute(StringArgsRef arguments, const std::function< void(boost::process::async_pipe &in, boost::process::async_pipe &out)> &interact_func)
Excuting an order.
Definition: GpgCommandExecutor.cpp:41
GpgFrontend::GpgKeyOpera::ModifyTOFUPolicy
GpgFrontend::GpgError ModifyTOFUPolicy(const GpgKey &key, gpgme_tofu_policy_t tofu_policy)
Definition: GpgKeyOpera.cpp:285
GpgFrontend::GpgKey::GetFingerprint
std::string GetFingerprint() const
Definition: GpgKey.cpp:70
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
-
GpgFrontend::_new_result
GPGFRONTEND_CORE_EXPORT GpgEncrResult _new_result(gpgme_encrypt_result_t &&result)
Definition: GpgConstants.cpp:191
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
+
GpgFrontend::_new_result
GPGFRONTEND_CORE_EXPORT GpgEncrResult _new_result(gpgme_encrypt_result_t &&result)
Definition: GpgConstants.cpp:173
GpgFrontend::GpgKeyOpera::DeleteKey
void DeleteKey(const KeyId &key_id)
Definition: GpgKeyOpera.cpp:295
GpgFrontend::GpgKeyOpera::DeleteKeys
void DeleteKeys(KeyIdArgsListPtr key_ids)
Definition: GpgKeyOpera.cpp:52
diff --git a/docs/html/GpgKey_8h_source.html b/docs/html/GpgKey_8h_source.html index fe36bec6..5666b05b 100644 --- a/docs/html/GpgKey_8h_source.html +++ b/docs/html/GpgKey_8h_source.html @@ -90,110 +90,107 @@ $(document).ready(function(){initNavTree('GpgKey_8h_source.html',''); initResiza
29 #ifndef GPGFRONTEND_GPGKEY_H
30 #define GPGFRONTEND_GPGKEY_H
31 
-
32 #include <boost/date_time.hpp>
-
33 #include <boost/date_time/posix_time/conversion.hpp>
+
32 #include "GpgSubKey.h"
+
33 #include "GpgUID.h"
34 
-
35 #include "GpgSubKey.h"
-
36 #include "GpgUID.h"
-
37 
-
38 namespace GpgFrontend {
-
39 
-
44 class GPGFRONTEND_CORE_EXPORT GpgKey {
-
45  public:
-
52  [[nodiscard]] bool IsGood() const;
-
53 
-
59  [[nodiscard]] std::string GetId() const;
-
60 
-
66  [[nodiscard]] std::string GetName() const;
-
67 
-
73  [[nodiscard]] std::string GetEmail() const;
-
74 
-
80  [[nodiscard]] std::string GetComment() const;
-
81 
-
87  [[nodiscard]] std::string GetFingerprint() const;
-
88 
-
94  [[nodiscard]] std::string GetProtocol() const;
-
95 
-
101  [[nodiscard]] std::string GetOwnerTrust() const;
-
102 
-
108  [[nodiscard]] std::string GetPublicKeyAlgo() const;
-
109 
-
115  [[nodiscard]] boost::posix_time::ptime GetLastUpdateTime() const;
-
116 
-
122  [[nodiscard]] boost::posix_time::ptime GetExpireTime() const;
-
123 
-
129  [[nodiscard]] boost::posix_time::ptime GetCreateTime() const;
-
130 
-
136  [[nodiscard]] unsigned int GetPrimaryKeyLength() const;
-
137 
-
144  [[nodiscard]] bool IsHasEncryptionCapability() const;
-
145 
-
153  [[nodiscard]] bool IsHasActualEncryptionCapability() const;
-
154 
-
161  [[nodiscard]] bool IsHasSigningCapability() const;
-
162 
-
169  [[nodiscard]] bool IsHasActualSigningCapability() const;
-
170 
-
177  [[nodiscard]] bool IsHasCertificationCapability() const;
-
178 
-
185  [[nodiscard]] bool IsHasActualCertificationCapability() const;
-
186 
-
193  [[nodiscard]] bool IsHasAuthenticationCapability() const;
-
194 
-
201  [[nodiscard]] bool IsHasActualAuthenticationCapability() const;
-
202 
-
209  [[nodiscard]] bool IsHasCardKey() const;
-
210 
-
217  [[nodiscard]] bool IsPrivateKey() const;
-
218 
-
225  [[nodiscard]] bool IsExpired() const;
-
226 
-
233  [[nodiscard]] bool IsRevoked() const;
-
234 
-
241  [[nodiscard]] bool IsDisabled() const;
-
242 
-
249  [[nodiscard]] bool IsHasMasterKey() const;
-
250 
-
256  [[nodiscard]] std::unique_ptr<std::vector<GpgSubKey>> GetSubKeys() const;
-
257 
-
263  [[nodiscard]] std::unique_ptr<std::vector<GpgUID>> GetUIDs() const;
-
264 
-
269  GpgKey() = default;
-
270 
-
276  explicit GpgKey(gpgme_key_t&& key);
-
277 
-
282  ~GpgKey() = default;
-
283 
-
289  GpgKey(const gpgme_key_t& key) = delete;
-
290 
-
296  GpgKey(GpgKey&& k) noexcept;
-
297 
-
304  GpgKey& operator=(GpgKey&& k) noexcept;
-
305 
-
312  GpgKey& operator=(const gpgme_key_t& key) = delete;
-
313 
-
321  bool operator==(const GpgKey& o) const;
-
322 
-
330  bool operator<=(const GpgKey& o) const;
-
331 
-
337  explicit operator gpgme_key_t() const;
-
338 
-
344  [[nodiscard]] GpgKey Copy() const;
-
345 
-
346  private:
-
351  struct GPGFRONTEND_CORE_EXPORT _key_ref_deleter {
-
352  void operator()(gpgme_key_t _key);
-
353  };
+
35 namespace GpgFrontend {
+
36 
+
41 class GPGFRONTEND_CORE_EXPORT GpgKey {
+
42  public:
+
49  [[nodiscard]] bool IsGood() const;
+
50 
+
56  [[nodiscard]] std::string GetId() const;
+
57 
+
63  [[nodiscard]] std::string GetName() const;
+
64 
+
70  [[nodiscard]] std::string GetEmail() const;
+
71 
+
77  [[nodiscard]] std::string GetComment() const;
+
78 
+
84  [[nodiscard]] std::string GetFingerprint() const;
+
85 
+
91  [[nodiscard]] std::string GetProtocol() const;
+
92 
+
98  [[nodiscard]] std::string GetOwnerTrust() const;
+
99 
+
105  [[nodiscard]] std::string GetPublicKeyAlgo() const;
+
106 
+
112  [[nodiscard]] boost::posix_time::ptime GetLastUpdateTime() const;
+
113 
+
119  [[nodiscard]] boost::posix_time::ptime GetExpireTime() const;
+
120 
+
126  [[nodiscard]] boost::posix_time::ptime GetCreateTime() const;
+
127 
+
133  [[nodiscard]] unsigned int GetPrimaryKeyLength() const;
+
134 
+
141  [[nodiscard]] bool IsHasEncryptionCapability() const;
+
142 
+
150  [[nodiscard]] bool IsHasActualEncryptionCapability() const;
+
151 
+
158  [[nodiscard]] bool IsHasSigningCapability() const;
+
159 
+
166  [[nodiscard]] bool IsHasActualSigningCapability() const;
+
167 
+
174  [[nodiscard]] bool IsHasCertificationCapability() const;
+
175 
+
182  [[nodiscard]] bool IsHasActualCertificationCapability() const;
+
183 
+
190  [[nodiscard]] bool IsHasAuthenticationCapability() const;
+
191 
+
198  [[nodiscard]] bool IsHasActualAuthenticationCapability() const;
+
199 
+
206  [[nodiscard]] bool IsHasCardKey() const;
+
207 
+
214  [[nodiscard]] bool IsPrivateKey() const;
+
215 
+
222  [[nodiscard]] bool IsExpired() const;
+
223 
+
230  [[nodiscard]] bool IsRevoked() const;
+
231 
+
238  [[nodiscard]] bool IsDisabled() const;
+
239 
+
246  [[nodiscard]] bool IsHasMasterKey() const;
+
247 
+
253  [[nodiscard]] std::unique_ptr<std::vector<GpgSubKey>> GetSubKeys() const;
+
254 
+
260  [[nodiscard]] std::unique_ptr<std::vector<GpgUID>> GetUIDs() const;
+
261 
+
266  GpgKey() = default;
+
267 
+
273  explicit GpgKey(gpgme_key_t&& key);
+
274 
+
279  ~GpgKey() = default;
+
280 
+
286  GpgKey(const gpgme_key_t& key) = delete;
+
287 
+
293  GpgKey(GpgKey&& k) noexcept;
+
294 
+
301  GpgKey& operator=(GpgKey&& k) noexcept;
+
302 
+
309  GpgKey& operator=(const gpgme_key_t& key) = delete;
+
310 
+
318  bool operator==(const GpgKey& o) const;
+
319 
+
327  bool operator<=(const GpgKey& o) const;
+
328 
+
334  explicit operator gpgme_key_t() const;
+
335 
+
341  [[nodiscard]] GpgKey Copy() const;
+
342 
+
343  private:
+
348  struct GPGFRONTEND_CORE_EXPORT _key_ref_deleter {
+
349  void operator()(gpgme_key_t _key);
+
350  };
+
351 
+
352  using KeyRefHandler =
+
353  std::unique_ptr<struct _gpgme_key, _key_ref_deleter>;
354 
-
355  using KeyRefHandler =
-
356  std::unique_ptr<struct _gpgme_key, _key_ref_deleter>;
+
355  KeyRefHandler key_ref_ = nullptr;
+
356 };
357 
-
358  KeyRefHandler key_ref_ = nullptr;
-
359 };
-
360 
-
361 } // namespace GpgFrontend
-
362 
-
363 #endif // GPGFRONTEND_GPGKEY_H
+
358 } // namespace GpgFrontend
+
359 
+
360 #endif // GPGFRONTEND_GPGKEY_H
GpgFrontend::GpgKey::IsHasCardKey
bool IsHasCardKey() const
Definition: GpgKey.cpp:133
@@ -203,7 +200,7 @@ $(document).ready(function(){initNavTree('GpgKey_8h_source.html',''); initResiza
GpgFrontend::GpgKey::IsHasSigningCapability
bool IsHasSigningCapability() const
Definition: GpgKey.cpp:121
GpgFrontend
Definition: CoreCommonUtil.cpp:29
GpgFrontend::GpgKey::IsHasActualCertificationCapability
bool IsHasActualCertificationCapability() const
Definition: GpgKey.cpp:207
-
GpgFrontend::GpgKey::_key_ref_deleter
Definition: GpgKey.h:351
+
GpgFrontend::GpgKey::_key_ref_deleter
Definition: GpgKey.h:348
GpgFrontend::GpgKey::Copy
GpgKey Copy() const
Definition: GpgKey.cpp:230
GpgFrontend::GpgKey::GetComment
std::string GetComment() const
Definition: GpgKey.cpp:66
GpgFrontend::GpgKey::operator<=
bool operator<=(const GpgKey &o) const
Definition: GpgKey.cpp:44
@@ -233,7 +230,7 @@ $(document).ready(function(){initNavTree('GpgKey_8h_source.html',''); initResiza
GpgFrontend::GpgKey::IsHasMasterKey
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
GpgFrontend::GpgKey::GetLastUpdateTime
boost::posix_time::ptime GetLastUpdateTime() const
Definition: GpgKey.cpp:100
GpgFrontend::GpgKey::GetFingerprint
std::string GetFingerprint() const
Definition: GpgKey.cpp:70
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
GpgFrontend::GpgKey::GetName
std::string GetName() const
Definition: GpgKey.cpp:58
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
GpgFrontend::GpgResultAnalyse
Definition: GpgResultAnalyse.h:37
GpgFrontend::GpgSignResultAnalyse::GpgSignResultAnalyse
GpgSignResultAnalyse(GpgError error, GpgSignResult result)
Construct a new Sign Result Analyse object.
Definition: GpgSignResultAnalyse.cpp:33
-
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &fpr)
Get the Key object.
Definition: GpgKeyGetter.cpp:38
GpgFrontend::GpgKey::GetUIDs
std::unique_ptr< std::vector< GpgUID > > GetUIDs() const
Definition: GpgKey.cpp:163
GpgFrontend::GpgSignResultAnalyse
Definition: GpgSignResultAnalyse.h:40
diff --git a/docs/html/GpgUIDOperator_8h_source.html b/docs/html/GpgUIDOperator_8h_source.html index 85acfd2c..7d731eda 100644 --- a/docs/html/GpgUIDOperator_8h_source.html +++ b/docs/html/GpgUIDOperator_8h_source.html @@ -119,20 +119,20 @@ $(document).ready(function(){initNavTree('GpgUIDOperator_8h_source.html',''); in
93 #endif // GPGFRONTEND_ZH_CN_TS_UIDOPERATOR_H
-
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:49
+
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:148
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::GpgUIDOperator::SetPrimaryUID
bool SetPrimaryUID(const GpgKey &key, const std::string &uid)
Definition: GpgUIDOperator.cpp:55
-
GpgFrontend::check_gpg_error
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:55
-
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
+
GpgFrontend::check_gpg_error
GPGFRONTEND_CORE_EXPORT GpgError check_gpg_error(GpgError err)
Definition: GpgConstants.cpp:54
+
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
GpgFrontend::GpgContext
Definition: GpgContext.h:59
GpgFrontend::GpgUIDOperator::GpgUIDOperator
GpgUIDOperator(int channel=SingletonFunctionObject::GetDefaultChannel())
Construct a new Gpg UID Opera object.
Definition: GpgUIDOperator.cpp:33
GpgFrontend::GpgUIDOperator::RevUID
bool RevUID(const GpgKey &key, const std::string &uid)
Definition: GpgUIDOperator.cpp:45
GpgFrontend::GpgUIDOperator::AddUID
bool AddUID(const GpgKey &key, const std::string &uid)
Definition: GpgUIDOperator.cpp:36
-
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:127
-
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:232
+
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:63
GpgFrontend::GpgUIDOperator
Definition: GpgUIDOperator.h:40
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
-
GpgFrontend::beautify_fingerprint
GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:85
+
GpgFrontend::beautify_fingerprint
GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:90
GpgFrontend::GpgVerifyResultAnalyse::GpgVerifyResultAnalyse
GpgVerifyResultAnalyse(GpgError error, GpgVerifyResult result)
Construct a new Verify Result Analyse object.
Definition: GpgVerifyResultAnalyse.cpp:37
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::GpgVerifyResultAnalyse
Definition: GpgVerifyResultAnalyse.h:40
+
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
GpgFrontend::GpgResultAnalyse
Definition: GpgResultAnalyse.h:37
-
GpgFrontend::GpgVerifyResultAnalyse::print_signer
bool print_signer(std::stringstream &stream, gpgme_signature_t sign)
Definition: GpgVerifyResultAnalyse.cpp:175
-
GpgFrontend::GpgVerifyResultAnalyse::GetSignatures
gpgme_signature_t GetSignatures() const
Get the Signatures object.
Definition: GpgVerifyResultAnalyse.cpp:205
-
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &fpr)
Get the Key object.
Definition: GpgKeyGetter.cpp:38
-
GpgFrontend::GpgVerifyResultAnalyse::TakeChargeOfResult
GpgVerifyResult TakeChargeOfResult()
Definition: GpgVerifyResultAnalyse.cpp:212
+
GpgFrontend::GpgVerifyResultAnalyse::print_signer
bool print_signer(std::stringstream &stream, gpgme_signature_t sign)
Definition: GpgVerifyResultAnalyse.cpp:176
+
GpgFrontend::GpgVerifyResultAnalyse::GetSignatures
gpgme_signature_t GetSignatures() const
Get the Signatures object.
Definition: GpgVerifyResultAnalyse.cpp:206
+
GpgFrontend::GpgVerifyResultAnalyse::TakeChargeOfResult
GpgVerifyResult TakeChargeOfResult()
Definition: GpgVerifyResultAnalyse.cpp:213
GpgFrontend::UI::HelpPage::localized_help
QUrl localized_help(const QUrl &path)
HelpPage::localized_help check if the requested file is also available with the locale,...
Definition: HelpPage.cpp:62
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::HelpPage
Definition: HelpPage.h:40
GpgFrontend::UI::HelpPage::HelpPage
HelpPage(const QString &path, QWidget *parent=nullptr)
Construct a new Help Page object.
Definition: HelpPage.cpp:35
GpgFrontend::UI::HelpPage::GetBrowser
QTextBrowser * GetBrowser()
Get the Browser object.
Definition: HelpPage.cpp:85
diff --git a/docs/html/InfoBoardWidget_8h_source.html b/docs/html/InfoBoardWidget_8h_source.html index 1a81bcd0..9f566172 100644 --- a/docs/html/InfoBoardWidget_8h_source.html +++ b/docs/html/InfoBoardWidget_8h_source.html @@ -150,7 +150,7 @@ $(document).ready(function(){initNavTree('InfoBoardWidget_8h_source.html',''); i
148 #endif // __VERIFYNOTIFICATION_H__
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::InfoBoardWidget::SetInfoBoard
void SetInfoBoard(const QString &text, GpgFrontend::UI::InfoBoardStatus verify_label_status)
Definition: InfoBoardWidget.cpp:58
GpgFrontend::UI::InfoBoardWidget::InfoBoardWidget
InfoBoardWidget(QWidget *parent)
Definition: InfoBoardWidget.cpp:38
GpgFrontend::UI::InfoBoardWidget::AddOptionalAction
void AddOptionalAction(const QString &name, const std::function< void()> &action)
Definition: InfoBoardWidget.cpp:113
@@ -163,7 +163,7 @@ $(document).ready(function(){initNavTree('InfoBoardWidget_8h_source.html',''); i
GpgFrontend::UI::InfoBoardWidget::delete_widgets_in_layout
void delete_widgets_in_layout(QLayout *layout, int start_index=0)
Definition: InfoBoardWidget.cpp:143
GpgFrontend::UI::InfoBoardWidget::AssociateTabWidget
void AssociateTabWidget(QTabWidget *tab)
Definition: InfoBoardWidget.cpp:103
GpgFrontend::UI::SignalStation::SignalRefreshInfoBoard
void SignalRefreshInfoBoard(const QString &text, InfoBoardStatus verify_label_status)
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
GpgFrontend::UI::InfoBoardWidget::m_text_page_
QTextEdit * m_text_page_
TextEdit associated to the notification.
Definition: InfoBoardWidget.h:133
GpgFrontend::UI::InfoBoardWidget
Class for handling the verify label shown at bottom of a textedit-page.
Definition: InfoBoardWidget.h:53
diff --git a/docs/html/KeyDetailsDialog_8h_source.html b/docs/html/KeyDetailsDialog_8h_source.html index d50f1dcc..6af12384 100644 --- a/docs/html/KeyDetailsDialog_8h_source.html +++ b/docs/html/KeyDetailsDialog_8h_source.html @@ -109,9 +109,9 @@ $(document).ready(function(){initNavTree('KeyDetailsDialog_8h_source.html','');
48 #endif // __KEYDETAILSDIALOG_H__
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::KeyDetailsDialog
Definition: KeyDetailsDialog.h:37
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::KeyImportDetailDialog::get_status_string
static QString get_status_string(int keyStatus)
Get the status string object.
Definition: KeyImportDetailDialog.cpp:166
-
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::GpgKey::GetEmail
std::string GetEmail() const
Definition: GpgKey.cpp:62
GpgFrontend::UI::KeyImportDetailDialog::KeyImportDetailDialog
KeyImportDetailDialog(GpgImportInformation result, bool automatic, QWidget *parent=nullptr)
Construct a new Key Import Detail Dialog object.
Definition: KeyImportDetailDialog.cpp:34
GpgFrontend::UI::KeyImportDetailDialog
Definition: KeyImportDetailDialog.h:42
GpgFrontend::GpgKey::IsGood
bool IsGood() const
Definition: GpgKey.cpp:52
GpgFrontend::UI::KeyImportDetailDialog::create_keys_table
void create_keys_table()
Create a keys table object.
Definition: KeyImportDetailDialog.cpp:130
+
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
GpgFrontend::UI::KeyImportDetailDialog::create_button_box
void create_button_box()
Create a button box object.
Definition: KeyImportDetailDialog.cpp:198
GpgFrontend::UI::KeyImportDetailDialog::create_general_info_box
void create_general_info_box()
Create a general info box object.
Definition: KeyImportDetailDialog.cpp:76
-
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &fpr)
Get the Key object.
Definition: GpgKeyGetter.cpp:38
GpgFrontend::GpgImportInformation
Definition: GpgKeyImportExporter.h:57
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
GpgFrontend::GpgKey::GetName
std::string GetName() const
Definition: GpgKey.cpp:58
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::UI::KeyList::KeyList
KeyList(KeyMenuAbility::AbilityType menu_ability, QWidget *parent=nullptr)
Construct a new Key List object.
Definition: KeyList.cpp:43
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::UI::KeyList::KeyList
KeyList(KeyMenuAbility::AbilityType menu_ability, QWidget *parent=nullptr)
Construct a new Key List object.
Definition: KeyList.cpp:44
GpgFrontend::UI::KeyTable::KeyTable
KeyTable(QTableWidget *_key_list, KeyListRow::KeyType _select_type, KeyListColumn::InfoType _info_type, std::function< bool(const GpgKey &)> _filter=[](const GpgKey &) -> bool { return true;})
Construct a new Key Table object.
Definition: KeyList.h:103
GpgFrontend::GlobalSettingStation::SyncSettings
void SyncSettings() noexcept
sync the settings to the file
Definition: GlobalSettingStation.cpp:33
-
GpgFrontend::GpgKeyGetter::GetKeysCopy
static KeyListPtr GetKeysCopy(const KeyListPtr &keys)
Get the Keys Copy object.
Definition: GpgKeyGetter.cpp:97
-
GpgFrontend::UI::KeyList::dragEnterEvent
void dragEnterEvent(QDragEnterEvent *event) override
Definition: KeyList.cpp:375
-
GpgFrontend::UI::KeyList::SetColumnWidth
void SetColumnWidth(int row, int size)
Set the Column Width object.
Definition: KeyList.cpp:283
-
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::UI::KeyList::GetSelectedKey
std::string GetSelectedKey()
Get the Selected Key object.
Definition: KeyList.cpp:409
+
GpgFrontend::UI::KeyList::dragEnterEvent
void dragEnterEvent(QDragEnterEvent *event) override
Definition: KeyList.cpp:374
+
GpgFrontend::UI::KeyList::SetColumnWidth
void SetColumnWidth(int row, int size)
Set the Column Width object.
Definition: KeyList.cpp:282
+
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::UI::KeyList::GetSelectedKey
std::string GetSelectedKey()
Get the Selected Key object.
Definition: KeyList.cpp:408
GpgFrontend::UI::KeyTable
Definition: KeyList.h:87
-
GpgFrontend::UI::KeyList::dropEvent
void dropEvent(QDropEvent *event) override
Definition: KeyList.cpp:303
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
GpgFrontend::UI::KeyList::SetChecked
void SetChecked(KeyIdArgsListPtr key_ids)
Set the Checked object.
Definition: KeyList.cpp:240
-
GpgFrontend::UI::KeyList::AddListGroupTab
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:95
-
GpgFrontend::UI::KeyTable::SetChecked
void SetChecked(KeyIdArgsListPtr key_ids)
Set the Checked object.
Definition: KeyList.cpp:513
-
GpgFrontend::UI::KeyList::slot_double_clicked
void slot_double_clicked(const QModelIndex &index)
Definition: KeyList.cpp:393
+
GpgFrontend::UI::KeyList::dropEvent
void dropEvent(QDropEvent *event) override
Definition: KeyList.cpp:302
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
+
GpgFrontend::UI::KeyList::SetChecked
void SetChecked(KeyIdArgsListPtr key_ids)
Set the Checked object.
Definition: KeyList.cpp:239
+
GpgFrontend::UI::KeyList::AddListGroupTab
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:99
+
GpgFrontend::UI::KeyTable::SetChecked
void SetChecked(KeyIdArgsListPtr key_ids)
Set the Checked object.
Definition: KeyList.cpp:514
+
GpgFrontend::UI::KeyList::slot_double_clicked
void slot_double_clicked(const QModelIndex &index)
Definition: KeyList.cpp:392
GpgFrontend::UI::KeyListRow
Definition: KeyList.h:45
-
GpgFrontend::UI::KeyList::GetAllPrivateKeys
KeyIdArgsListPtr GetAllPrivateKeys()
Get the All Private Keys object.
Definition: KeyList.cpp:196
-
GpgFrontend::UI::KeyList::GetChecked
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:182
-
GpgFrontend::UI::KeyTable::Refresh
void Refresh(KeyLinkListPtr m_keys=nullptr)
Definition: KeyList.cpp:518
-
GpgFrontend::GpgKeyGetter::FetchKey
KeyLinkListPtr FetchKey()
Definition: GpgKeyGetter.cpp:58
-
GpgFrontend::UI::KeyList::AddMenuAction
void AddMenuAction(QAction *act)
Definition: KeyList.cpp:301
-
GpgFrontend::UI::KeyList::import_keys
void import_keys(const QByteArray &inBuffer)
Definition: KeyList.cpp:386
+
GpgFrontend::UI::KeyList::GetAllPrivateKeys
KeyIdArgsListPtr GetAllPrivateKeys()
Get the All Private Keys object.
Definition: KeyList.cpp:195
+
GpgFrontend::UI::KeyList::GetChecked
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:181
+
GpgFrontend::UI::KeyTable::Refresh
void Refresh(KeyLinkListPtr m_keys=nullptr)
Definition: KeyList.cpp:519
+
GpgFrontend::GpgKeyGetter::FetchKey
KeyLinkListPtr FetchKey()
Get all the keys by receiving a linked list.
Definition: GpgKeyGetter.cpp:82
+
GpgFrontend::UI::KeyList::AddMenuAction
void AddMenuAction(QAction *act)
Definition: KeyList.cpp:300
+
GpgFrontend::UI::KeyList::import_keys
void import_keys(const QByteArray &inBuffer)
Definition: KeyList.cpp:385
GpgFrontend::UI::KeyImportDetailDialog
Definition: KeyImportDetailDialog.h:42
GpgFrontend::UI::KeyTable::GetChecked
KeyIdArgsListPtr & GetChecked()
Get the Checked object.
Definition: KeyList.cpp:498
-
GpgFrontend::UI::KeyList::ContainsPrivateKeys
bool ContainsPrivateKeys()
Definition: KeyList.cpp:271
-
GpgFrontend::UI::KeyList::GetSelected
KeyIdArgsListPtr GetSelected()
Get the Selected object.
Definition: KeyList.cpp:254
-
GpgFrontend::UI::KeyList::GetPrivateChecked
KeyIdArgsListPtr GetPrivateChecked()
Get the Private Checked object.
Definition: KeyList.cpp:210
-
GpgFrontend::UI::KeyList::SetDoubleClickedAction
void SetDoubleClickedAction(std::function< void(const GpgKey &, QWidget *)> action)
Set the Double Clicked Action object.
Definition: KeyList.cpp:404
-
GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer
void SlotImportKeyFromKeyServer(QWidget *parent)
Definition: UserInterfaceUtils.cpp:172
+
GpgFrontend::UI::KeyList::ContainsPrivateKeys
bool ContainsPrivateKeys()
Definition: KeyList.cpp:270
+
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
+
GpgFrontend::UI::KeyList::GetSelected
KeyIdArgsListPtr GetSelected()
Get the Selected object.
Definition: KeyList.cpp:253
+
GpgFrontend::UI::KeyList::GetPrivateChecked
KeyIdArgsListPtr GetPrivateChecked()
Get the Private Checked object.
Definition: KeyList.cpp:209
+
GpgFrontend::UI::KeyList::SetDoubleClickedAction
void SetDoubleClickedAction(std::function< void(const GpgKey &, QWidget *)> action)
Set the Double Clicked Action object.
Definition: KeyList.cpp:403
+
GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer
void SlotImportKeyFromKeyServer(QWidget *parent)
Definition: UserInterfaceUtils.cpp:204
GpgFrontend::UI::KeyList
Definition: KeyList.h:152
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
GpgFrontend::UI::KeyList::SignalRefreshStatusBar
void SignalRefreshStatusBar(const QString &message, int timeout)
GpgFrontend::GpgKeyImportExporter::ImportKey
GpgImportInformation ImportKey(StdBypeArrayPtr inBuffer)
Definition: GpgKeyImportExporter.cpp:42
-
GpgFrontend::UI::KeyList::MarkKeys
static void MarkKeys(QStringList *keyIds)
Definition: KeyList.cpp:382
-
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &fpr)
Get the Key object.
Definition: GpgKeyGetter.cpp:38
+
GpgFrontend::UI::KeyList::MarkKeys
static void MarkKeys(QStringList *keyIds)
Definition: KeyList.cpp:381
GpgFrontend::UI::KeyListColumn
Definition: KeyList.h:56
GpgFrontend::GpgKey::GetUIDs
std::unique_ptr< std::vector< GpgUID > > GetUIDs() const
Definition: GpgKey.cpp:163
GpgFrontend::UI::KeyMenuAbility
Definition: KeyList.h:72
GpgFrontend::GpgImportInformation
Definition: GpgKeyImportExporter.h:57
-
GpgFrontend::UI::KeyList::contextMenuEvent
void contextMenuEvent(QContextMenuEvent *event) override
Definition: KeyList.cpp:290
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::UI::KeyList::contextMenuEvent
void contextMenuEvent(QContextMenuEvent *event) override
Definition: KeyList.cpp:289
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
GpgFrontend::UI::SignalStation::SignalRefreshStatusBar
void SignalRefreshStatusBar(const QString &message, int timeout)
GpgFrontend::UI::KeyMgmt::KeyMgmt
KeyMgmt(QWidget *parent=nullptr)
Construct a new Key Mgmt object.
Definition: KeyMgmt.cpp:46
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::KeyMgmt::create_menus
void create_menus()
Create a menus object.
Definition: KeyMgmt.cpp:265
GpgFrontend::UI::KeyMgmt::create_actions
void create_actions()
Create a actions object.
Definition: KeyMgmt.cpp:169
GpgFrontend::KeyPackageOperator::ImportKeyPackage
static bool ImportKeyPackage(const std::filesystem::path &key_package_path, const std::filesystem::path &phrase_path, GpgFrontend::GpgImportInformation &import_info)
import key package
Definition: KeyPackageOperator.cpp:71
-
GpgFrontend::write_buffer_to_file
GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &path, const std::string &out_buffer)
Definition: GpgConstants.cpp:135
+
GpgFrontend::write_buffer_to_file
GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &path, const std::string &out_buffer)
Definition: GpgConstants.cpp:128
GpgFrontend::GlobalSettingStation::SyncSettings
void SyncSettings() noexcept
sync the settings to the file
Definition: GlobalSettingStation.cpp:33
-
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
GpgFrontend::UI::KeyList::AddListGroupTab
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:95
+
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
+
GpgFrontend::UI::KeyList::AddListGroupTab
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:99
GpgFrontend::UI::KeyMgmt::closeEvent
void closeEvent(QCloseEvent *event) override
Definition: KeyMgmt.cpp:409
-
GpgFrontend::UI::KeyList::GetChecked
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:182
+
GpgFrontend::UI::KeyList::GetChecked
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:181
GpgFrontend::UI::KeyMgmt
Definition: KeyMgmt.h:45
-
GpgFrontend::UI::KeyList::AddMenuAction
void AddMenuAction(QAction *act)
Definition: KeyList.cpp:301
+
GpgFrontend::UI::KeyList::AddMenuAction
void AddMenuAction(QAction *act)
Definition: KeyList.cpp:300
GpgFrontend::UI::KeyServerImportDialog
Definition: KeyServerImportDialog.h:43
GpgFrontend::UI::KeyDetailsDialog
Definition: KeyDetailsDialog.h:37
-
GpgFrontend::UI::KeyList::GetSelected
KeyIdArgsListPtr GetSelected()
Get the Selected object.
Definition: KeyList.cpp:254
-
GpgFrontend::UI::CommonUtils::SlotImportKeyFromFile
void SlotImportKeyFromFile(QWidget *parent)
Definition: UserInterfaceUtils.cpp:156
+
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
+
GpgFrontend::UI::KeyList::GetSelected
KeyIdArgsListPtr GetSelected()
Get the Selected object.
Definition: KeyList.cpp:253
+
GpgFrontend::UI::CommonUtils::SlotImportKeyFromFile
void SlotImportKeyFromFile(QWidget *parent)
Definition: UserInterfaceUtils.cpp:188
GpgFrontend::UI::KeyMgmt::create_tool_bars
void create_tool_bars()
Create a tool bars object.
Definition: KeyMgmt.cpp:288
GpgFrontend::GpgKey::IsPrivateKey
bool IsPrivateKey() const
Definition: GpgKey.cpp:140
-
GpgFrontend::UI::KeyList::SetDoubleClickedAction
void SetDoubleClickedAction(std::function< void(const GpgKey &, QWidget *)> action)
Set the Double Clicked Action object.
Definition: KeyList.cpp:404
+
GpgFrontend::UI::KeyList::SetDoubleClickedAction
void SetDoubleClickedAction(std::function< void(const GpgKey &, QWidget *)> action)
Set the Double Clicked Action object.
Definition: KeyList.cpp:403
GpgFrontend::UI::KeyMgmt::delete_keys_with_warning
void delete_keys_with_warning(GpgFrontend::KeyIdArgsListPtr uidList)
Definition: KeyMgmt.cpp:328
-
GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer
void SlotImportKeyFromKeyServer(QWidget *parent)
Definition: UserInterfaceUtils.cpp:172
+
GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer
void SlotImportKeyFromKeyServer(QWidget *parent)
Definition: UserInterfaceUtils.cpp:204
GpgFrontend::UI::KeyList
Definition: KeyList.h:152
GpgFrontend::GpgKey::IsExpired
bool IsExpired() const
Definition: GpgKey.cpp:142
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
-
GpgFrontend::UI::CommonUtils::SlotImportKeyFromClipboard
void SlotImportKeyFromClipboard(QWidget *parent)
Definition: UserInterfaceUtils.cpp:177
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
+
GpgFrontend::UI::CommonUtils::SlotImportKeyFromClipboard
void SlotImportKeyFromClipboard(QWidget *parent)
Definition: UserInterfaceUtils.cpp:209
GpgFrontend::GpgKey::IsRevoked
bool IsRevoked() const
Definition: GpgKey.cpp:144
-
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &fpr)
Get the Key object.
Definition: GpgKeyGetter.cpp:38
GpgFrontend::GpgKey::IsDisabled
bool IsDisabled() const
Definition: GpgKey.cpp:146
GpgFrontend::GpgKey::IsHasMasterKey
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
-
GpgFrontend::UI::CommonUtils::GetInstance
static CommonUtils * GetInstance()
Get the Instance object.
Definition: UserInterfaceUtils.cpp:124
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::UI::CommonUtils::GetInstance
static CommonUtils * GetInstance()
Get the Instance object.
Definition: UserInterfaceUtils.cpp:143
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
GpgFrontend::GpgKeyOpera::DeleteKeys
void DeleteKeys(KeyIdArgsListPtr key_ids)
Definition: GpgKeyOpera.cpp:52
GpgFrontend::UI::SignalStation::SignalRefreshStatusBar
void SignalRefreshStatusBar(const QString &message, int timeout)
diff --git a/docs/html/KeyNewUIDDialog_8h_source.html b/docs/html/KeyNewUIDDialog_8h_source.html index 4a7acc65..9a907fb1 100644 --- a/docs/html/KeyNewUIDDialog_8h_source.html +++ b/docs/html/KeyNewUIDDialog_8h_source.html @@ -129,14 +129,14 @@ $(document).ready(function(){initNavTree('KeyNewUIDDialog_8h_source.html',''); i
87 #endif // GPGFRONTEND_KEYNEWUIDDIALOG_H
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::SingletonFunctionObject< GpgUIDOperator >::GetInstance
static GpgUIDOperator & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:42
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::SingletonFunctionObject< GpgUIDOperator >::GetInstance
static GpgUIDOperator & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:45
GpgFrontend::UI::KeyNewUIDDialog::slot_create_new_uid
void slot_create_new_uid()
Definition: KeyNewUIDDialog.cpp:72
GpgFrontend::UI::KeyNewUIDDialog::KeyNewUIDDialog
KeyNewUIDDialog(const KeyId &key, QWidget *parent=nullptr)
Construct a new Key New U I D Dialog object.
Definition: KeyNewUIDDialog.cpp:34
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
GpgFrontend::UI::KeyNewUIDDialog
Definition: KeyNewUIDDialog.h:34
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
GpgFrontend::UI::KeyNewUIDDialog::check_email_address
bool check_email_address(const QString &str)
Definition: KeyNewUIDDialog.cpp:109
-
GpgFrontend::beautify_fingerprint
GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:85
+
GpgFrontend::beautify_fingerprint
GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:90
GpgFrontend::UI::KeyPairDetailTab::expire_var_label_
QLabel * expire_var_label_
Label containing the keys expiration date.
Definition: KeyPairDetailTab.h:73
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::KeyPairDetailTab::fingerprint_box_
QGroupBox * fingerprint_box_
Groupbox containing fingerprint information.
Definition: KeyPairDetailTab.h:65
GpgFrontend::GpgKey::GetId
std::string GetId() const
Definition: GpgKey.cpp:54
GpgFrontend::GpgKey::IsHasSigningCapability
bool IsHasSigningCapability() const
Definition: GpgKey.cpp:121
GpgFrontend::UI::KeyPairDetailTab::owner_box_
QGroupBox * owner_box_
Groupbox containing owner information.
Definition: KeyPairDetailTab.h:63
-
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::GpgKey::IsHasActualCertificationCapability
bool IsHasActualCertificationCapability() const
Definition: GpgKey.cpp:207
-
GpgFrontend::UI::KeyPairDetailTab::slot_copy_fingerprint
void slot_copy_fingerprint()
Definition: KeyPairDetailTab.cpp:163
+
GpgFrontend::UI::KeyPairDetailTab::slot_copy_fingerprint
void slot_copy_fingerprint()
Definition: KeyPairDetailTab.cpp:164
GpgFrontend::UI::KeyPairDetailTab::email_var_label_
QLabel * email_var_label_
Label containing the keys email.
Definition: KeyPairDetailTab.h:70
GpgFrontend::UI::KeyPairDetailTab::additional_uid_box_
QGroupBox * additional_uid_box_
Definition: KeyPairDetailTab.h:66
-
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:42
+
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:45
GpgFrontend::UI::KeyPairDetailTab::key_size_var_label_
QLabel * key_size_var_label_
Label containing the keys key size.
Definition: KeyPairDetailTab.h:72
GpgFrontend::GpgKey::GetComment
std::string GetComment() const
Definition: GpgKey.cpp:66
GpgFrontend::UI::KeyPairDetailTab::key_id_var_label
QLabel * key_id_var_label
Label containing the keys keyid.
Definition: KeyPairDetailTab.h:77
@@ -167,6 +167,7 @@ $(document).ready(function(){initNavTree('KeyPairDetailTab_8h_source.html','');
GpgFrontend::GpgKey::GetCreateTime
boost::posix_time::ptime GetCreateTime() const
Create a time object.
Definition: GpgKey.cpp:109
GpgFrontend::UI::KeyPairDetailTab::KeyPairDetailTab
KeyPairDetailTab(const std::string &key_id, QWidget *parent=nullptr)
Construct a new Key Pair Detail Tab object.
Definition: KeyPairDetailTab.cpp:35
GpgFrontend::GpgKey::IsHasActualEncryptionCapability
bool IsHasActualEncryptionCapability() const
Definition: GpgKey.cpp:216
+
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
GpgFrontend::GpgKey::IsHasActualSigningCapability
bool IsHasActualSigningCapability() const
Definition: GpgKey.cpp:174
GpgFrontend::GpgKey::IsHasActualAuthenticationCapability
bool IsHasActualAuthenticationCapability() const
Definition: GpgKey.cpp:188
GpgFrontend::GpgKey::IsPrivateKey
bool IsPrivateKey() const
Definition: GpgKey.cpp:140
@@ -177,18 +178,17 @@ $(document).ready(function(){initNavTree('KeyPairDetailTab_8h_source.html','');
GpgFrontend::UI::KeyPairDetailTab::name_var_label_
QLabel * name_var_label_
Label containing the keys name.
Definition: KeyPairDetailTab.h:69
GpgFrontend::GpgKey::IsHasAuthenticationCapability
bool IsHasAuthenticationCapability() const
Definition: GpgKey.cpp:129
GpgFrontend::GpgKey::IsExpired
bool IsExpired() const
Definition: GpgKey.cpp:142
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
GpgFrontend::UI::KeyPairDetailTab::fingerprint_var_label_
QLabel * fingerprint_var_label_
Label containing the keys fingerprint.
Definition: KeyPairDetailTab.h:78
GpgFrontend::UI::KeyPairDetailTab
Definition: KeyPairDetailTab.h:38
GpgFrontend::UI::KeyPairDetailTab::key_box_
QGroupBox * key_box_
Groupbox containing key information.
Definition: KeyPairDetailTab.h:64
GpgFrontend::GpgKey::IsRevoked
bool IsRevoked() const
Definition: GpgKey.cpp:144
-
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &fpr)
Get the Key object.
Definition: GpgKeyGetter.cpp:38
GpgFrontend::GpgKey::IsHasEncryptionCapability
bool IsHasEncryptionCapability() const
Definition: GpgKey.cpp:117
GpgFrontend::GpgKey::IsHasCertificationCapability
bool IsHasCertificationCapability() const
Definition: GpgKey.cpp:125
GpgFrontend::GpgKey::IsHasMasterKey
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
GpgFrontend::GpgKey::GetLastUpdateTime
boost::posix_time::ptime GetLastUpdateTime() const
Definition: GpgKey.cpp:100
GpgFrontend::GpgKey::GetFingerprint
std::string GetFingerprint() const
Definition: GpgKey.cpp:70
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
GpgFrontend::GpgKey::GetName
std::string GetName() const
Definition: GpgKey.cpp:58
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::KeySetExpireDateDialog
Definition: KeySetExpireDateDialog.h:41
GpgFrontend::GpgKey::GetId
std::string GetId() const
Definition: GpgKey.cpp:54
-
GpgFrontend::write_buffer_to_file
GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &path, const std::string &out_buffer)
Definition: GpgConstants.cpp:135
+
GpgFrontend::write_buffer_to_file
GPGFRONTEND_CORE_EXPORT bool write_buffer_to_file(const std::string &path, const std::string &out_buffer)
Definition: GpgConstants.cpp:128
GpgFrontend::UI::KeyPairOperaTab::CreateOperaMenu
void CreateOperaMenu()
Create a Opera Menu object.
Definition: KeyPairOperaTab.cpp:103
-
GpgFrontend::SingletonFunctionObject< GpgKeyImportExporter >::GetInstance
static GpgKeyImportExporter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::UI::KeyPairOperaTab::slot_export_private_key
void slot_export_private_key()
Definition: KeyPairOperaTab.cpp:210
-
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:42
+
GpgFrontend::SingletonFunctionObject< GpgKeyImportExporter >::GetInstance
static GpgKeyImportExporter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::UI::KeyPairOperaTab::slot_export_private_key
void slot_export_private_key()
Definition: KeyPairOperaTab.cpp:217
+
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:45
GpgFrontend::GpgKey::GetEmail
std::string GetEmail() const
Definition: GpgKey.cpp:62
GpgFrontend::UI::KeyPairOperaTab::KeyPairOperaTab
KeyPairOperaTab(const std::string &key_id, QWidget *parent)
Construct a new Key Pair Opera Tab object.
Definition: KeyPairOperaTab.cpp:38
GpgFrontend::GpgKeyOpera::ModifyPassword
GpgFrontend::GpgError ModifyPassword(const GpgKey &key)
Definition: GpgKeyOpera.cpp:276
GpgFrontend::GpgKey::IsPrivateKey
bool IsPrivateKey() const
Definition: GpgKey.cpp:140
GpgFrontend::UI::KeyPairOperaTab
Definition: KeyPairOperaTab.h:34
-
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
-
GpgFrontend::UI::CommonUtils::SlotExecuteGpgCommand
void SlotExecuteGpgCommand(const QStringList &arguments, const std::function< void(QProcess *)> &interact_func)
Definition: UserInterfaceUtils.cpp:183
+
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:63
+
GpgFrontend::UI::CommonUtils::SlotExecuteGpgCommand
void SlotExecuteGpgCommand(const QStringList &arguments, const std::function< void(QProcess *)> &interact_func)
Definition: UserInterfaceUtils.cpp:215
GpgFrontend::GpgKey::IsHasMasterKey
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
-
GpgFrontend::UI::CommonUtils::GetInstance
static CommonUtils * GetInstance()
Get the Instance object.
Definition: UserInterfaceUtils.cpp:124
+
GpgFrontend::UI::CommonUtils::GetInstance
static CommonUtils * GetInstance()
Get the Instance object.
Definition: UserInterfaceUtils.cpp:143
GpgFrontend::GpgKeyOpera::ModifyTOFUPolicy
GpgFrontend::GpgError ModifyTOFUPolicy(const GpgKey &key, gpgme_tofu_policy_t tofu_policy)
Definition: GpgKeyOpera.cpp:285
GpgFrontend::GpgKey::GetFingerprint
std::string GetFingerprint() const
Definition: GpgKey.cpp:70
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
GpgFrontend::GpgKey::GetName
std::string GetName() const
Definition: GpgKey.cpp:58
GpgFrontend::UI::KeyPairSubkeyTab::contextMenuEvent
void contextMenuEvent(QContextMenuEvent *event) override
Definition: KeyPairSubkeyTab.cpp:318
GpgFrontend::UI::KeyPairSubkeyTab::expire_var_label_
QLabel * expire_var_label_
Label containing the keys expiration date.
Definition: KeyPairSubkeyTab.h:81
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::KeySetExpireDateDialog
Definition: KeySetExpireDateDialog.h:41
GpgFrontend::GpgKey::GetId
std::string GetId() const
Definition: GpgKey.cpp:54
-
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::UI::KeyPairSubkeyTab::created_var_label_
QLabel * created_var_label_
Label containing the keys creation date.
Definition: KeyPairSubkeyTab.h:82
GpgFrontend::UI::KeyPairSubkeyTab::key_id_var_label_
QLabel * key_id_var_label_
Label containing the keys keyid.
Definition: KeyPairSubkeyTab.h:84
-
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:42
+
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:45
GpgFrontend::UI::KeyPairSubkeyTab::create_subkey_opera_menu
void create_subkey_opera_menu()
Create a subkey opera menu object.
Definition: KeyPairSubkeyTab.cpp:299
GpgFrontend::GpgKey::GetEmail
std::string GetEmail() const
Definition: GpgKey.cpp:62
GpgFrontend::GpgKey::GetSubKeys
std::unique_ptr< std::vector< GpgSubKey > > GetSubKeys() const
Definition: GpgKey.cpp:153
GpgFrontend::UI::KeyPairSubkeyTab::create_subkey_list
void create_subkey_list()
Create a subkey list object.
Definition: KeyPairSubkeyTab.cpp:141
GpgFrontend::UI::KeyPairSubkeyTab::key_size_var_label_
QLabel * key_size_var_label_
Label containing the keys key size.
Definition: KeyPairSubkeyTab.h:80
+
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
GpgFrontend::GpgSubKey::GetFingerprint
std::string GetFingerprint() const
Definition: GpgSubKey.cpp:51
GpgFrontend::GpgKey::IsPrivateKey
bool IsPrivateKey() const
Definition: GpgKey.cpp:140
GpgFrontend::UI::KeyPairSubkeyTab::KeyPairSubkeyTab
KeyPairSubkeyTab(const std::string &key, QWidget *parent)
Construct a new Key Pair Subkey Tab object.
Definition: KeyPairSubkeyTab.cpp:36
GpgFrontend::UI::KeyPairSubkeyTab
Definition: KeyPairSubkeyTab.h:39
GpgFrontend::GpgSubKey
Definition: GpgSubKey.h:43
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
GpgFrontend::UI::KeyPairSubkeyTab::algorithm_var_label_
QLabel * algorithm_var_label_
Label containing the keys algorithm.
Definition: KeyPairSubkeyTab.h:83
-
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &fpr)
Get the Key object.
Definition: GpgKeyGetter.cpp:38
GpgFrontend::UI::KeyPairSubkeyTab::fingerprint_var_label_
QLabel * fingerprint_var_label_
Label containing the keys fingerprint.
Definition: KeyPairSubkeyTab.h:85
GpgFrontend::UI::KeyPairSubkeyTab::get_selected_subkey
const GpgSubKey & get_selected_subkey()
Get the selected subkey object.
Definition: KeyPairSubkeyTab.cpp:324
GpgFrontend::GpgKey::IsHasMasterKey
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
GpgFrontend::UI::KeyPairUIDTab::create_sign_popup_menu
void create_sign_popup_menu()
Create a sign popup menu object.
Definition: KeyPairUIDTab.cpp:527
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::GpgKey::GetId
std::string GetId() const
Definition: GpgKey.cpp:54
-
GpgFrontend::SingletonFunctionObject< GpgUIDOperator >::GetInstance
static GpgUIDOperator & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgUIDOperator >::GetInstance
static GpgUIDOperator & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::UI::KeyPairUIDTab::get_sign_selected
SignIdArgsListPtr get_sign_selected()
Get the sign selected object.
Definition: KeyPairUIDTab.cpp:441
-
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:42
+
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:45
GpgFrontend::UI::KeyPairUIDTab::contextMenuEvent
void contextMenuEvent(QContextMenuEvent *event) override
Definition: KeyPairUIDTab.cpp:472
GpgFrontend::UI::KeyPairUIDTab::create_manage_uid_menu
void create_manage_uid_menu()
Create a manage uid menu object.
Definition: KeyPairUIDTab.cpp:325
GpgFrontend::UI::KeyPairUIDTab
Definition: KeyPairUIDTab.h:39
GpgFrontend::UI::KeyPairUIDTab::slot_add_uid_result
static void slot_add_uid_result(int result)
Definition: KeyPairUIDTab.cpp:348
GpgFrontend::UI::KeyPairUIDTab::create_sign_list
void create_sign_list()
Create a sign list object.
Definition: KeyPairUIDTab.cpp:142
+
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
GpgFrontend::UI::KeyPairUIDTab::create_uid_popup_menu
void create_uid_popup_menu()
Create a uid popup menu object.
Definition: KeyPairUIDTab.cpp:452
GpgFrontend::UI::KeyPairUIDTab::create_uid_list
void create_uid_list()
Create a uid list object.
Definition: KeyPairUIDTab.cpp:118
GpgFrontend::UI::KeyPairUIDTab::get_uid_checked
UIDArgsListPtr get_uid_checked()
Get the uid checked object.
Definition: KeyPairUIDTab.cpp:316
GpgFrontend::UI::KeyPairUIDTab::KeyPairUIDTab
KeyPairUIDTab(const std::string &key_id, QWidget *parent)
Construct a new Key Pair U I D Tab object.
Definition: KeyPairUIDTab.cpp:37
GpgFrontend::UI::KeyPairUIDTab::get_uid_selected
UIDArgsListPtr get_uid_selected()
Get the uid selected object.
Definition: KeyPairUIDTab.cpp:431
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
-
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &fpr)
Get the Key object.
Definition: GpgKeyGetter.cpp:38
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
GpgFrontend::GpgKey::GetUIDs
std::unique_ptr< std::vector< GpgUID > > GetUIDs() const
Definition: GpgKey.cpp:163
GpgFrontend::GpgKey::IsHasMasterKey
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
GpgFrontend::UI::KeyNewUIDDialog
Definition: KeyNewUIDDialog.h:34
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::GlobalSettingStation::SyncSettings
void SyncSettings() noexcept
sync the settings to the file
Definition: GlobalSettingStation.cpp:33
-
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
GpgFrontend::UI::KeyServerImportDialog::create_comboBox
QComboBox * create_comboBox()
Create a comboBox object.
Definition: KeyServerImportDialog.cpp:149
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
+
GpgFrontend::UI::KeyServerImportDialog::create_comboBox
QComboBox * create_comboBox()
Create a comboBox object.
Definition: KeyServerImportDialog.cpp:161
GpgFrontend::UI::KeyServerImportDialog
Definition: KeyServerImportDialog.h:43
+
GpgFrontend::UI::SettingsObject::Check
nlohmann::json & Check(const std::string &key, const nlohmann::json &default_value)
Definition: SettingsObject.cpp:31
GpgFrontend::UI::KeyImportDetailDialog
Definition: KeyImportDetailDialog.h:42
-
GpgFrontend::UI::KeyServerImportDialog::set_loading
void set_loading(bool status)
Set the loading object.
Definition: KeyServerImportDialog.cpp:524
-
GpgFrontend::UI::KeyServerImportDialog::KeyServerImportDialog
KeyServerImportDialog(bool automatic, QWidget *parent)
Construct a new Key Server Import Dialog object.
Definition: KeyServerImportDialog.cpp:39
-
GpgFrontend::UI::KeyServerImportDialog::import_keys
void import_keys(ByteArrayPtr in_data)
Definition: KeyServerImportDialog.cpp:509
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
+
GpgFrontend::UI::SettingsObject
The SettingsObject class This class is used to store settings for the application securely.
Definition: SettingsObject.h:43
+
GpgFrontend::UI::KeyServerImportDialog::set_loading
void set_loading(bool status)
Set the loading object.
Definition: KeyServerImportDialog.cpp:537
+
GpgFrontend::UI::KeyServerImportDialog::KeyServerImportDialog
KeyServerImportDialog(bool automatic, QWidget *parent)
Construct a new Key Server Import Dialog object.
Definition: KeyServerImportDialog.cpp:40
+
GpgFrontend::UI::KeyServerImportDialog::import_keys
void import_keys(ByteArrayPtr in_data)
Definition: KeyServerImportDialog.cpp:522
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
GpgFrontend::UI::KeyServerImportDialog::create_button
QPushButton * create_button(const QString &text, const char *member)
Create a button object.
GpgFrontend::GpgKeyImportExporter::ImportKey
GpgImportInformation ImportKey(StdBypeArrayPtr inBuffer)
Definition: GpgKeyImportExporter.cpp:42
-
GpgFrontend::UI::KeyServerImportDialog::slot_import_finished
void slot_import_finished(const QString &keyid)
Definition: KeyServerImportDialog.cpp:449
-
GpgFrontend::UI::KeyServerImportDialog::create_keys_table
void create_keys_table()
Create a keys table object.
Definition: KeyServerImportDialog.cpp:177
+
GpgFrontend::UI::KeyServerImportDialog::slot_import_finished
void slot_import_finished(const QString &keyid)
Definition: KeyServerImportDialog.cpp:462
+
GpgFrontend::UI::KeyServerImportDialog::create_keys_table
void create_keys_table()
Create a keys table object.
Definition: KeyServerImportDialog.cpp:189
GpgFrontend::GpgImportInformation
Definition: GpgKeyImportExporter.h:57
-
GpgFrontend::UI::KeyServerImportDialog::set_message
void set_message(const QString &text, bool error)
Set the message object.
Definition: KeyServerImportDialog.cpp:199
-
GpgFrontend::UI::KeyServerImportDialog::SlotImport
void SlotImport(const KeyIdArgsListPtr &keys)
Definition: KeyServerImportDialog.cpp:401
+
GpgFrontend::UI::KeyServerImportDialog::set_message
void set_message(const QString &text, bool error)
Set the message object.
Definition: KeyServerImportDialog.cpp:211
+
GpgFrontend::UI::KeyServerImportDialog::SlotImport
void SlotImport(const KeyIdArgsListPtr &keys)
Definition: KeyServerImportDialog.cpp:414
-
GpgFrontend::UI::KeySetExpireDateDialog::slot_non_expired_checked
void slot_non_expired_checked(int state)
Definition: KeySetExpireDateDialog.cpp:136
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI::KeySetExpireDateDialog::slot_non_expired_checked
void slot_non_expired_checked(int state)
Definition: KeySetExpireDateDialog.cpp:140
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::KeySetExpireDateDialog
Definition: KeySetExpireDateDialog.h:41
GpgFrontend::GpgKey::GetId
std::string GetId() const
Definition: GpgKey.cpp:54
-
GpgFrontend::SingletonFunctionObject< GpgKeyOpera >::GetInstance
static GpgKeyOpera & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:42
+
GpgFrontend::SingletonFunctionObject< GpgKeyOpera >::GetInstance
static GpgKeyOpera & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
+
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:45
GpgFrontend::GpgKeyOpera::SetExpire
GpgError SetExpire(const GpgKey &key, const SubkeyId &subkey_fpr, std::unique_ptr< boost::posix_time::ptime > &expires)
Set the Expire object.
Definition: GpgKeyOpera.cpp:76
GpgFrontend::UI::KeySetExpireDateDialog::KeySetExpireDateDialog
KeySetExpireDateDialog(const KeyId &key_id, QWidget *parent=nullptr)
Construct a new Key Set Expire Date Dialog object.
Definition: KeySetExpireDateDialog.cpp:41
-
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKey::GetExpireTime
boost::posix_time::ptime GetExpireTime() const
Definition: GpgKey.cpp:105
+
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:63
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::GpgKey::GetId
std::string GetId() const
Definition: GpgKey.cpp:54
-
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::UI::KeyUIDSignDialog::KeyUIDSignDialog
KeyUIDSignDialog(const GpgKey &key, UIDArgsListPtr uid, QWidget *parent=nullptr)
Construct a new Key U I D Sign Dialog object.
Definition: KeyUIDSignDialog.cpp:35
-
GpgFrontend::UI::KeyList::AddListGroupTab
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:95
-
GpgFrontend::UI::KeyList::GetChecked
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:182
+
GpgFrontend::UI::KeyList::AddListGroupTab
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:99
+
GpgFrontend::UI::KeyList::GetChecked
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:181
GpgFrontend::UI::KeyUIDSignDialog
Definition: KeyUIDSignDialog.h:36
GpgFrontend::UI::KeyUIDSignDialog::slot_sign_key
void slot_sign_key(bool clicked)
Definition: KeyUIDSignDialog.cpp:104
GpgFrontend::UI::KeyList
Definition: KeyList.h:152
GpgFrontend::GpgKey::IsExpired
bool IsExpired() const
Definition: GpgKey.cpp:142
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
GpgFrontend::GpgKey::IsRevoked
bool IsRevoked() const
Definition: GpgKey.cpp:144
GpgFrontend::GpgKey::IsDisabled
bool IsDisabled() const
Definition: GpgKey.cpp:146
-
GpgFrontend::GpgKeyGetter::GetKeys
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:83
+
GpgFrontend::GpgKeyGetter::GetKeys
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:148
GpgFrontend::GpgKey::IsHasCertificationCapability
bool IsHasCertificationCapability() const
Definition: GpgKey.cpp:125
GpgFrontend::GpgKey::IsHasMasterKey
bool IsHasMasterKey() const
Definition: GpgKey.cpp:148
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::GpgKeyImportExporter::ExportKeys
bool ExportKeys(KeyIdArgsListPtr &uid_list, ByteArrayPtr &out_buffer, bool secret=false) const
Definition: GpgKeyImportExporter.cpp:71
-
GpgFrontend::SingletonFunctionObject< GpgKeyImportExporter >::GetInstance
static GpgKeyImportExporter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgKeyImportExporter >::GetInstance
static GpgKeyImportExporter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::UI::KeyUploadDialog::slot_upload_key_to_server
void slot_upload_key_to_server(const GpgFrontend::ByteArray &keys_data)
Definition: KeyUploadDialog.cpp:64
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:42
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
+
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:45
GpgFrontend::UI::KeyUploadDialog::KeyUploadDialog
KeyUploadDialog(const KeyIdArgsListPtr &keys_ids, QWidget *parent)
Construct a new Key Upload Dialog object.
Definition: KeyUploadDialog.cpp:39
GpgFrontend::UI::KeyUploadDialog
Definition: KeyUploadDialog.h:41
diff --git a/docs/html/KeygenDialog_8h_source.html b/docs/html/KeygenDialog_8h_source.html index 16f260f2..2c37a33c 100644 --- a/docs/html/KeygenDialog_8h_source.html +++ b/docs/html/KeygenDialog_8h_source.html @@ -163,35 +163,35 @@ $(document).ready(function(){initNavTree('KeygenDialog_8h_source.html',''); init
GpgFrontend::UI::KeyGenDialog::name_edit_
QLineEdit * name_edit_
Line edit for the keys name.
Definition: KeygenDialog.h:92
GpgFrontend::UI::KeyGenDialog::expire_check_box_
QCheckBox * expire_check_box_
Checkbox, if key should expire.
Definition: KeygenDialog.h:98
GpgFrontend::UI::WaitingDialog
Definition: WaitingDialog.h:40
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::UI::KeyGenDialog::slot_authentication_box_changed
void slot_authentication_box_changed(int state)
Definition: KeygenDialog.cpp:241
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::UI::KeyGenDialog::slot_authentication_box_changed
void slot_authentication_box_changed(int state)
Definition: KeygenDialog.cpp:245
GpgFrontend::UI::KeyGenDialog::key_size_spin_box_
QSpinBox * key_size_spin_box_
Spinbox for the keys size (in bit)
Definition: KeygenDialog.h:95
-
GpgFrontend::UI::KeyGenDialog::slot_encryption_box_changed
void slot_encryption_box_changed(int state)
Definition: KeygenDialog.cpp:217
-
GpgFrontend::UI::KeyGenDialog::slot_signing_box_changed
void slot_signing_box_changed(int state)
Definition: KeygenDialog.cpp:225
-
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::UI::KeyGenDialog::slot_encryption_box_changed
void slot_encryption_box_changed(int state)
Definition: KeygenDialog.cpp:221
+
GpgFrontend::UI::KeyGenDialog::slot_signing_box_changed
void slot_signing_box_changed(int state)
Definition: KeygenDialog.cpp:229
+
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::UI::KeyGenDialog::date_edit_
QDateTimeEdit * date_edit_
Date edit for expiration date.
Definition: KeygenDialog.h:97
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
GpgFrontend::UI::KeyGenDialog::check_email_address
bool check_email_address(const QString &str)
Definition: KeygenDialog.cpp:342
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
+
GpgFrontend::UI::KeyGenDialog::check_email_address
bool check_email_address(const QString &str)
Definition: KeygenDialog.cpp:346
GpgFrontend::UI::KeyGenDialog::key_usage_check_boxes_
std::vector< QCheckBox * > key_usage_check_boxes_
ENCR, SIGN, CERT, AUTH.
Definition: KeygenDialog.h:103
GpgFrontend::UI::KeyGenDialog::error_label_
QLabel * error_label_
Label containing error message.
Definition: KeygenDialog.h:91
GpgFrontend::UI::KeyGenDialog::email_edit_
QLineEdit * email_edit_
Line edit for the keys email.
Definition: KeygenDialog.h:93
GpgFrontend::GpgKeyOpera::GenerateKey
GpgFrontend::GpgError GenerateKey(const std::unique_ptr< GenKeyInfo > &params, GpgGenKeyResult &result)
Definition: GpgKeyOpera.cpp:166
-
GpgFrontend::UI::KeyGenDialog::slot_expire_box_changed
void slot_expire_box_changed()
Definition: KeygenDialog.cpp:176
+
GpgFrontend::UI::KeyGenDialog::slot_expire_box_changed
void slot_expire_box_changed()
Definition: KeygenDialog.cpp:180
GpgFrontend::UI::KeyGenDialog::button_box_
QDialogButtonBox * button_box_
Box for standard buttons.
Definition: KeygenDialog.h:90
-
GpgFrontend::UI::KeyGenDialog::create_key_usage_group_box
QGroupBox * create_key_usage_group_box()
Create a key usage group box object.
Definition: KeygenDialog.cpp:184
+
GpgFrontend::UI::KeyGenDialog::create_key_usage_group_box
QGroupBox * create_key_usage_group_box()
Create a key usage group box object.
Definition: KeygenDialog.cpp:188
GpgFrontend::UI::KeyGenDialog::comment_edit_
QLineEdit * comment_edit_
Line edit for the keys comment.
Definition: KeygenDialog.h:94
GpgFrontend::UI::KeyGenDialog::slot_key_gen_accept
void slot_key_gen_accept()
Definition: KeygenDialog.cpp:89
-
GpgFrontend::UI::KeyGenDialog::slot_activated_key_type
void slot_activated_key_type(int index)
Definition: KeygenDialog.cpp:249
+
GpgFrontend::UI::KeyGenDialog::slot_activated_key_type
void slot_activated_key_type(int index)
Definition: KeygenDialog.cpp:253
GpgFrontend::GenKeyInfo::GetSupportedKeyAlgo
static const std::vector< std::string > & GetSupportedKeyAlgo()
Get the Supported Key Algo object.
Definition: GpgGenKeyInfo.cpp:200
-
GpgFrontend::UI::KeyGenDialog::set_signal_slot
void set_signal_slot()
Set the signal slot object.
Definition: KeygenDialog.cpp:311
+
GpgFrontend::UI::KeyGenDialog::set_signal_slot
void set_signal_slot()
Set the signal slot object.
Definition: KeygenDialog.cpp:315
GpgFrontend::UI::KeyGenDialog::key_type_combo_box_
QComboBox * key_type_combo_box_
Combobox for Key type.
Definition: KeygenDialog.h:96
-
GpgFrontend::UI::KeyGenDialog::slot_certification_box_changed
void slot_certification_box_changed(int state)
Definition: KeygenDialog.cpp:233
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
+
GpgFrontend::UI::KeyGenDialog::slot_certification_box_changed
void slot_certification_box_changed(int state)
Definition: KeygenDialog.cpp:237
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
GpgFrontend::UI::KeyGenDialog::KeyGenDialog
KeyGenDialog(QWidget *parent=nullptr)
Definition: KeygenDialog.cpp:38
GpgFrontend::UI::KeyGenDialog
Definition: KeygenDialog.h:40
GpgFrontend::UI::KeyGenDialog::key_usage_group_box_
QGroupBox * key_usage_group_box_
Definition: KeygenDialog.h:100
-
GpgFrontend::UI::KeyGenDialog::refresh_widgets_state
void refresh_widgets_state()
Definition: KeygenDialog.cpp:257
-
GpgFrontend::UI::KeyGenDialog::create_basic_info_group_box
QGroupBox * create_basic_info_group_box()
Create a basic info group box object.
Definition: KeygenDialog.cpp:346
+
GpgFrontend::UI::KeyGenDialog::refresh_widgets_state
void refresh_widgets_state()
Definition: KeygenDialog.cpp:261
+
GpgFrontend::UI::KeyGenDialog::create_basic_info_group_box
QGroupBox * create_basic_info_group_box()
Create a basic info group box object.
Definition: KeygenDialog.cpp:350
GpgFrontend::UI::KeyGenDialog::error_messages_
QStringList error_messages_
Definition: KeygenDialog.h:86
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::ListedKeyServerTestThread::run
void run() override
Definition: ListedKeyServerTestThread.cpp:29
GpgFrontend::UI::ListedKeyServerTestThread::SignalKeyServerListTestResult
void SignalKeyServerListTestResult(const QStringList &result)
GpgFrontend::UI::ListedKeyServerTestThread
Definition: ListedKeyServerTestThread.h:38
diff --git a/docs/html/MainWindow_8h_source.html b/docs/html/MainWindow_8h_source.html index dcd39b75..5f4e53e6 100644 --- a/docs/html/MainWindow_8h_source.html +++ b/docs/html/MainWindow_8h_source.html @@ -110,328 +110,325 @@ $(document).ready(function(){initNavTree('MainWindow_8h_source.html',''); initRe
53  Q_OBJECT
54 
55  public:
-
56 
-
57  struct CryptoMenu{
-
58  using OperationType = unsigned int;
-
59 
-
60  static constexpr OperationType None = 0;
-
61  static constexpr OperationType Encrypt = 1 << 0;
-
62  static constexpr OperationType Sign = 1 << 1;
-
63  static constexpr OperationType Decrypt = 1 << 2;
-
64  static constexpr OperationType Verify = 1 << 3;
-
65  static constexpr OperationType EncryptAndSign = 1 << 4;
-
66  static constexpr OperationType DecryptAndVerify = 1 << 5;
-
67  };
-
68 
-
73  MainWindow();
-
74 
-
78  void Init() noexcept;
-
79 
-
83  void SetCryptoMenuStatus(CryptoMenu::OperationType type);
-
84 
-
85  signals:
-
86 
-
90  void SignalLoaded();
-
91 
+
56  struct CryptoMenu {
+
57  using OperationType = unsigned int;
+
58 
+
59  static constexpr OperationType None = 0;
+
60  static constexpr OperationType Encrypt = 1 << 0;
+
61  static constexpr OperationType Sign = 1 << 1;
+
62  static constexpr OperationType Decrypt = 1 << 2;
+
63  static constexpr OperationType Verify = 1 << 3;
+
64  static constexpr OperationType EncryptAndSign = 1 << 4;
+
65  static constexpr OperationType DecryptAndVerify = 1 << 5;
+
66  };
+
67 
+
72  MainWindow();
+
73 
+
77  void Init() noexcept;
+
78 
+
82  void SetCryptoMenuStatus(CryptoMenu::OperationType type);
+
83 
+
84  signals:
+
85 
+
89  void SignalLoaded();
+
90 
+
91  public slots:
92 
-
93  public slots:
-
94 
-
98  void SlotSetStatusBarText(const QString& text);
-
99 
-
100  protected:
-
106  void closeEvent(QCloseEvent* event) override;
+
96  void SlotSetStatusBarText(const QString& text);
+
97 
+
98  protected:
+
104  void closeEvent(QCloseEvent* event) override;
+
105 
+
106  public slots:
107 
-
108  public slots:
-
109 
-
113  void SlotOpenFile(QString& path);
-
114 
-
118  void SlotFileEncrypt();
-
119 
-
123  void SlotFileDecrypt();
-
124 
-
128  void SlotFileSign();
-
129 
-
133  void SlotFileVerify();
-
134 
-
138  void SlotFileEncryptSign();
-
139 
-
143  void SlotFileDecryptVerify();
-
144 
-
149  void SlotSetRestartNeeded(bool needed);
+
111  void SlotOpenFile(QString& path);
+
112 
+
116  void SlotFileEncrypt();
+
117 
+
121  void SlotFileDecrypt();
+
122 
+
126  void SlotFileSign();
+
127 
+
131  void SlotFileVerify();
+
132 
+
136  void SlotFileEncryptSign();
+
137 
+
141  void SlotFileDecryptVerify();
+
142 
+
147  void SlotSetRestartNeeded(bool needed);
+
148 
+
149  private slots:
150 
-
151  private slots:
-
152 
-
157  void slot_encrypt();
-
158 
-
163  void slot_encrypt_sign();
-
164 
-
169  void slot_decrypt();
-
170 
-
175  void slot_sign();
-
176 
-
182  void slot_verify();
-
183 
-
188  void slot_decrypt_verify();
-
189 
-
193  void slot_show_key_details();
-
194 
-
198  void refresh_keys_from_key_server();
-
199 
-
203  void upload_key_to_server();
-
204 
-
208  void slot_find();
-
209 
-
213  void slot_start_wizard();
-
214 
-
218  void slot_import_key_from_edit();
-
219 
-
223  void slot_append_selected_keys();
-
224 
-
229  void slot_copy_mail_address_to_clipboard();
-
230 
-
234  void slot_open_key_management();
-
235 
-
239  void slot_open_file_tab();
-
240 
-
244  void slot_open_settings_dialog();
-
245 
-
250  void slot_clean_double_line_breaks();
-
251 
-
255  void slot_cut_pgp_header();
-
256 
-
260  void slot_add_pgp_header();
-
261 
-
266  void slot_disable_tab_actions(int number);
-
267 
-
271  void slot_version_upgrade(const SoftwareVersion& version);
-
272 
-
273  private:
-
278  void create_actions();
-
279 
-
283  void create_menus();
-
284 
-
288  void create_tool_bars();
-
289 
-
293  void create_status_bar();
-
294 
-
298  void create_dock_windows();
-
299 
-
303  void create_attachment_dock();
-
304 
-
308  void close_attachment_dock();
-
309 
-
313  void restore_settings();
-
314 
-
318  void save_settings();
-
319 
-
323  [[nodiscard]] bool get_restart_needed() const;
-
324 
-
325  TextEdit* edit_{};
-
326  QMenu* file_menu_{};
-
327  QMenu* edit_menu_{};
-
328  QMenu* crypt_menu_{};
-
329  QMenu* help_menu_{};
-
330  QMenu* key_menu_{};
-
331  QMenu* view_menu_{};
-
332  QMenu* import_key_menu_{};
-
333 #ifdef SMTP_SUPPORT
-
334  QMenu* email_menu_{};
-
335 #endif
-
336 
-
337  QMenu* steganography_menu_{};
-
338  QToolBar* crypt_tool_bar_{};
-
339  QToolBar* file_tool_bar_{};
-
340  QToolBar* edit_tool_bar_{};
-
341  QToolBar*
-
342  special_edit_tool_bar_{};
-
343  QToolBar* key_tool_bar_{};
-
344  QToolButton*
-
345  import_button_{};
-
346  QDockWidget* key_list_dock_{};
-
347  QDockWidget* attachment_dock_{};
-
348  QDockWidget* info_board_dock_{};
-
349 
-
350  QAction* new_tab_act_{};
-
351  QAction* switch_tab_up_act_{};
-
352  QAction* switch_tab_down_act_{};
-
353  QAction* open_act_{};
-
354  QAction* browser_act_{};
-
355  QAction* save_act_{};
-
356  QAction* save_as_act_{};
-
357  QAction* print_act_{};
-
358  QAction* close_tab_act_{};
-
359  QAction* quit_act_{};
-
360  QAction* encrypt_act_{};
-
361  QAction* encrypt_sign_act_{};
-
362  QAction* decrypt_verify_act_{};
-
363  QAction* decrypt_act_{};
-
364  QAction* sign_act_{};
-
365  QAction* verify_act_{};
-
366  QAction* import_key_from_edit_act_{};
-
367  QAction* clean_double_line_breaks_act_{};
-
368 
-
370  QAction*
-
371  append_selected_keys_act_{};
-
372  QAction* copy_mail_address_to_clipboard_act_{};
-
373  QAction* open_key_management_act_{};
-
375  QAction* copy_act_{};
-
376  QAction* quote_act_{};
-
377  QAction* cut_act_{};
-
378  QAction* paste_act_{};
-
379  QAction* select_all_act_{};
-
380  QAction* find_act_{};
-
381  QAction* undo_act_{};
-
382  QAction* redo_act_{};
-
383  QAction* zoom_in_act_{};
-
384  QAction* zoom_out_act_{};
-
385  QAction* about_act_{};
-
386  QAction* check_update_act_{};
-
387  QAction* translate_act_{};
-
388  QAction* open_settings_act_{};
-
389  QAction* show_key_details_act_{};
-
390  QAction* start_wizard_act_{};
-
391  QAction* cut_pgp_header_act_{};
-
392  QAction* add_pgp_header_act_{};
-
393  QAction* import_key_from_file_act_{};
-
394  QAction* import_key_from_clipboard_act_{};
-
395  QAction* import_key_from_key_server_act_{};
+
155  void slot_encrypt();
+
156 
+
161  void slot_encrypt_sign();
+
162 
+
167  void slot_decrypt();
+
168 
+
173  void slot_sign();
+
174 
+
180  void slot_verify();
+
181 
+
186  void slot_decrypt_verify();
+
187 
+
191  void slot_show_key_details();
+
192 
+
196  void refresh_keys_from_key_server();
+
197 
+
201  void upload_key_to_server();
+
202 
+
206  void slot_find();
+
207 
+
211  void slot_start_wizard();
+
212 
+
216  void slot_import_key_from_edit();
+
217 
+
221  void slot_append_selected_keys();
+
222 
+
227  void slot_copy_mail_address_to_clipboard();
+
228 
+
232  void slot_open_key_management();
+
233 
+
237  void slot_open_file_tab();
+
238 
+
242  void slot_open_settings_dialog();
+
243 
+
248  void slot_clean_double_line_breaks();
+
249 
+
253  void slot_cut_pgp_header();
+
254 
+
258  void slot_add_pgp_header();
+
259 
+
264  void slot_disable_tab_actions(int number);
+
265 
+
269  void slot_version_upgrade(const SoftwareVersion& version);
+
270 
+
271  private:
+
276  void create_actions();
+
277 
+
281  void create_menus();
+
282 
+
286  void create_tool_bars();
+
287 
+
291  void create_status_bar();
+
292 
+
296  void create_dock_windows();
+
297 
+
301  void create_attachment_dock();
+
302 
+
306  void close_attachment_dock();
+
307 
+
311  void restore_settings();
+
312 
+
316  void save_settings();
+
317 
+
321  [[nodiscard]] bool get_restart_needed() const;
+
322 
+
323  TextEdit* edit_{};
+
324  QMenu* file_menu_{};
+
325  QMenu* edit_menu_{};
+
326  QMenu* crypt_menu_{};
+
327  QMenu* help_menu_{};
+
328  QMenu* key_menu_{};
+
329  QMenu* view_menu_{};
+
330  QMenu* import_key_menu_{};
+
331 #ifdef SMTP_SUPPORT
+
332  QMenu* email_menu_{};
+
333 #endif
+
334 
+
335  QMenu* steganography_menu_{};
+
336  QToolBar* crypt_tool_bar_{};
+
337  QToolBar* file_tool_bar_{};
+
338  QToolBar* edit_tool_bar_{};
+
339  QToolBar*
+
340  special_edit_tool_bar_{};
+
341  QToolBar* key_tool_bar_{};
+
342  QToolButton*
+
343  import_button_{};
+
344  QDockWidget* key_list_dock_{};
+
345  QDockWidget* attachment_dock_{};
+
346  QDockWidget* info_board_dock_{};
+
347 
+
348  QAction* new_tab_act_{};
+
349  QAction* switch_tab_up_act_{};
+
350  QAction* switch_tab_down_act_{};
+
351  QAction* open_act_{};
+
352  QAction* browser_act_{};
+
353  QAction* save_act_{};
+
354  QAction* save_as_act_{};
+
355  QAction* print_act_{};
+
356  QAction* close_tab_act_{};
+
357  QAction* quit_act_{};
+
358  QAction* encrypt_act_{};
+
359  QAction* encrypt_sign_act_{};
+
360  QAction* decrypt_verify_act_{};
+
361  QAction* decrypt_act_{};
+
362  QAction* sign_act_{};
+
363  QAction* verify_act_{};
+
364  QAction* import_key_from_edit_act_{};
+
365  QAction* clean_double_line_breaks_act_{};
+
366 
+
368  QAction*
+
369  append_selected_keys_act_{};
+
370  QAction* copy_mail_address_to_clipboard_act_{};
+
371  QAction* open_key_management_act_{};
+
373  QAction* copy_act_{};
+
374  QAction* quote_act_{};
+
375  QAction* cut_act_{};
+
376  QAction* paste_act_{};
+
377  QAction* select_all_act_{};
+
378  QAction* find_act_{};
+
379  QAction* undo_act_{};
+
380  QAction* redo_act_{};
+
381  QAction* zoom_in_act_{};
+
382  QAction* zoom_out_act_{};
+
383  QAction* about_act_{};
+
384  QAction* check_update_act_{};
+
385  QAction* translate_act_{};
+
386  QAction* open_settings_act_{};
+
387  QAction* show_key_details_act_{};
+
388  QAction* start_wizard_act_{};
+
389  QAction* cut_pgp_header_act_{};
+
390  QAction* add_pgp_header_act_{};
+
391  QAction* import_key_from_file_act_{};
+
392  QAction* import_key_from_clipboard_act_{};
+
393  QAction* import_key_from_key_server_act_{};
+
394 
+
395  QLabel* status_bar_icon_{};
396 
-
397  QLabel* status_bar_icon_{};
-
398 
-
399  KeyList* m_key_list_{};
-
400  InfoBoardWidget* info_board_{};
-
401 
-
402  bool attachment_dock_created_{};
-
403  bool restart_needed_{};
-
404  bool prohibit_update_checking_ = false;
-
405 };
+
397  KeyList* m_key_list_{};
+
398  InfoBoardWidget* info_board_{};
+
399 
+
400  bool attachment_dock_created_{};
+
401  bool restart_needed_{};
+
402  bool prohibit_update_checking_ = false;
+
403 };
+
404 
+
405 } // namespace GpgFrontend::UI
406 
-
407 } // namespace GpgFrontend::UI
-
408 
-
409 #endif // __GPGWIN_H__
+
407 #endif // __GPGWIN_H__
-
GpgFrontend::UI::MainWindow::slot_verify
void slot_verify()
Definition: MainWindowSlotFunction.cpp:238
-
GpgFrontend::UI::MainWindow::quote_act_
QAction * quote_act_
Action to quote text.
Definition: MainWindow.h:376
-
GpgFrontend::UI::MainWindow::upload_key_to_server
void upload_key_to_server()
Definition: MainWindowSlotFunction.cpp:497
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::UI::MainWindow::save_settings
void save_settings()
Definition: MainWindow.cpp:272
-
GpgFrontend::UI::MainWindow::SlotFileEncrypt
void SlotFileEncrypt()
Definition: MainWindowFileSlotFunction.cpp:151
+
GpgFrontend::UI::MainWindow::slot_verify
void slot_verify()
Definition: MainWindowSlotFunction.cpp:327
+
GpgFrontend::UI::MainWindow::quote_act_
QAction * quote_act_
Action to quote text.
Definition: MainWindow.h:374
+
GpgFrontend::UI::MainWindow::upload_key_to_server
void upload_key_to_server()
Definition: MainWindowSlotFunction.cpp:654
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::UI::MainWindow::save_settings
void save_settings()
Definition: MainWindow.cpp:254
+
GpgFrontend::UI::MainWindow::SlotFileEncrypt
void SlotFileEncrypt()
Definition: MainWindowFileSlotFunction.cpp:154
GpgFrontend::UI::MainWindow::slot_open_file_tab
void slot_open_file_tab()
Definition: MainWindowSlotUI.cpp:58
-
GpgFrontend::UI::MainWindow::redo_act_
QAction * redo_act_
Action to redo last action.
Definition: MainWindow.h:382
-
GpgFrontend::UI::TextEdit::LoadFile
void LoadFile(const QString &fileName)
Definition: TextEdit.cpp:415
-
GpgFrontend::UI::TextEdit::MaybeSaveAnyTab
bool MaybeSaveAnyTab()
Definition: TextEdit.cpp:304
-
GpgFrontend::UI::MainWindow::quit_act_
QAction * quit_act_
Action to quit application.
Definition: MainWindow.h:359
-
GpgFrontend::UI::MainWindow::cut_pgp_header_act_
QAction * cut_pgp_header_act_
Action for cutting the PGP header.
Definition: MainWindow.h:391
+
GpgFrontend::UI::VersionCheckTask::SignalUpgradeVersion
void SignalUpgradeVersion(SoftwareVersion version)
+
GpgFrontend::UI::MainWindow::redo_act_
QAction * redo_act_
Action to redo last action.
Definition: MainWindow.h:380
+
GpgFrontend::UI::TextEdit::MaybeSaveAnyTab
bool MaybeSaveAnyTab()
Definition: TextEdit.cpp:322
+
GpgFrontend::UI::MainWindow::quit_act_
QAction * quit_act_
Action to quit application.
Definition: MainWindow.h:357
+
GpgFrontend::UI::MainWindow::cut_pgp_header_act_
QAction * cut_pgp_header_act_
Action for cutting the PGP header.
Definition: MainWindow.h:389
GpgFrontend::UI::MainWindow::create_actions
void create_actions()
Definition: MainWindowUI.cpp:34
GpgFrontend::GlobalSettingStation::SyncSettings
void SyncSettings() noexcept
sync the settings to the file
Definition: GlobalSettingStation.cpp:33
-
GpgFrontend::UI::MainWindow::SlotFileDecryptVerify
void SlotFileDecryptVerify()
Definition: MainWindowFileSlotFunction.cpp:662
+
GpgFrontend::UI::MainWindow::SlotFileDecryptVerify
void SlotFileDecryptVerify()
Definition: MainWindowFileSlotFunction.cpp:679
GpgFrontend::UI::MainWindow::slot_cut_pgp_header
void slot_cut_pgp_header()
Definition: MainWindowSlotUI.cpp:161
-
GpgFrontend::UI::MainWindow::browser_act_
QAction * browser_act_
Action to open file browser.
Definition: MainWindow.h:354
-
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::UI::MainWindow::key_tool_bar_
QToolBar * key_tool_bar_
Toolbar holding key operations.
Definition: MainWindow.h:343
-
GpgFrontend::UI::MainWindow::view_menu_
QMenu * view_menu_
Submenu for view operations.
Definition: MainWindow.h:331
+
GpgFrontend::UI::MainWindow::browser_act_
QAction * browser_act_
Action to open file browser.
Definition: MainWindow.h:352
+
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::UI::MainWindow::key_tool_bar_
QToolBar * key_tool_bar_
Toolbar holding key operations.
Definition: MainWindow.h:341
+
GpgFrontend::UI::MainWindow::view_menu_
QMenu * view_menu_
Submenu for view operations.
Definition: MainWindow.h:329
GpgFrontend::UI::SoftwareVersion
Definition: SoftwareVersion.h:39
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
GpgFrontend::UI::KeyList::SetChecked
void SetChecked(KeyIdArgsListPtr key_ids)
Set the Checked object.
Definition: KeyList.cpp:240
-
GpgFrontend::UI::MainWindow::file_menu_
QMenu * file_menu_
Submenu for file-operations.
Definition: MainWindow.h:326
-
GpgFrontend::UI::MainWindow::sign_act_
QAction * sign_act_
Action to sign text.
Definition: MainWindow.h:364
-
GpgFrontend::UI::MainWindow::slot_append_selected_keys
void slot_append_selected_keys()
Definition: MainWindowSlotFunction.cpp:450
-
GpgFrontend::UI::MainWindow::verify_act_
QAction * verify_act_
Action to verify text.
Definition: MainWindow.h:365
-
GpgFrontend::UI::MainWindow::about_act_
QAction * about_act_
Action to open about dialog.
Definition: MainWindow.h:385
-
GpgFrontend::UI::MainWindow::file_tool_bar_
QToolBar * file_tool_bar_
Toolbar holding file actions.
Definition: MainWindow.h:339
-
GpgFrontend::UI::MainWindow::refresh_keys_from_key_server
void refresh_keys_from_key_server()
Definition: MainWindowSlotFunction.cpp:488
-
GpgFrontend::UI::MainWindow::zoom_in_act_
QAction * zoom_in_act_
Action to zoom in.
Definition: MainWindow.h:383
-
GpgFrontend::UI::MainWindow::create_menus
void create_menus()
Definition: MainWindowUI.cpp:315
-
GpgFrontend::UI::MainWindow::cut_act_
QAction * cut_act_
Action to cut text.
Definition: MainWindow.h:377
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
+
GpgFrontend::UI::KeyList::SetChecked
void SetChecked(KeyIdArgsListPtr key_ids)
Set the Checked object.
Definition: KeyList.cpp:239
+
GpgFrontend::UI::MainWindow::file_menu_
QMenu * file_menu_
Submenu for file-operations.
Definition: MainWindow.h:324
+
GpgFrontend::UI::MainWindow::sign_act_
QAction * sign_act_
Action to sign text.
Definition: MainWindow.h:362
+
GpgFrontend::UI::MainWindow::slot_append_selected_keys
void slot_append_selected_keys()
Definition: MainWindowSlotFunction.cpp:607
+
GpgFrontend::UI::MainWindow::verify_act_
QAction * verify_act_
Action to verify text.
Definition: MainWindow.h:363
+
GpgFrontend::UI::MainWindow::about_act_
QAction * about_act_
Action to open about dialog.
Definition: MainWindow.h:383
+
GpgFrontend::UI::MainWindow::file_tool_bar_
QToolBar * file_tool_bar_
Toolbar holding file actions.
Definition: MainWindow.h:337
+
GpgFrontend::UI::MainWindow::refresh_keys_from_key_server
void refresh_keys_from_key_server()
Definition: MainWindowSlotFunction.cpp:645
+
GpgFrontend::UI::MainWindow::zoom_in_act_
QAction * zoom_in_act_
Action to zoom in.
Definition: MainWindow.h:381
+
GpgFrontend::UI::MainWindow::create_menus
void create_menus()
Definition: MainWindowUI.cpp:318
+
GpgFrontend::UI::MainWindow::cut_act_
QAction * cut_act_
Action to cut text.
Definition: MainWindow.h:375
GpgFrontend::UI::TextEdit
TextEdit class.
Definition: TextEdit.h:41
GpgFrontend::UI::MainWindow::slot_start_wizard
void slot_start_wizard()
Definition: MainWindowSlotUI.cpp:40
-
GpgFrontend::UI::MainWindow::create_dock_windows
void create_dock_windows()
Definition: MainWindowUI.cpp:445
-
GpgFrontend::UI::MainWindow::copy_mail_address_to_clipboard_act_
QAction * copy_mail_address_to_clipboard_act_
Definition: MainWindow.h:372
-
GpgFrontend::UI::KeyList::GetChecked
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:182
-
GpgFrontend::UI::MainWindow::switch_tab_up_act_
QAction * switch_tab_up_act_
Action to switch tab up.
Definition: MainWindow.h:351
+
GpgFrontend::UI::MainWindow::create_dock_windows
void create_dock_windows()
Definition: MainWindowUI.cpp:448
+
GpgFrontend::UI::MainWindow::copy_mail_address_to_clipboard_act_
QAction * copy_mail_address_to_clipboard_act_
Definition: MainWindow.h:370
+
GpgFrontend::UI::KeyList::GetChecked
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:181
+
GpgFrontend::UI::MainWindow::switch_tab_up_act_
QAction * switch_tab_up_act_
Action to switch tab up.
Definition: MainWindow.h:349
GpgFrontend::UI::MainWindow::SlotSetRestartNeeded
void SlotSetRestartNeeded(bool needed)
Definition: MainWindowSlotUI.cpp:185
GpgFrontend::UI::MainWindow::slot_clean_double_line_breaks
void slot_clean_double_line_breaks()
Definition: MainWindowSlotUI.cpp:137
-
GpgFrontend::UI::MainWindow::SlotOpenFile
void SlotOpenFile(QString &path)
Definition: MainWindowSlotFunction.cpp:504
-
GpgFrontend::UI::MainWindow::open_act_
QAction * open_act_
Action to open file.
Definition: MainWindow.h:353
-
GpgFrontend::UI::VersionCheckThread::SignalUpgradeVersion
void SignalUpgradeVersion(SoftwareVersion version)
-
GpgFrontend::UI::MainWindow::import_key_menu_
QMenu * import_key_menu_
Submenu for import operations.
Definition: MainWindow.h:332
-
GpgFrontend::UI::MainWindow::encrypt_sign_act_
QAction * encrypt_sign_act_
Action to encrypt and sign text.
Definition: MainWindow.h:361
-
GpgFrontend::UI::MainWindow::attachment_dock_
QDockWidget * attachment_dock_
Attachment Dock.
Definition: MainWindow.h:347
-
GpgFrontend::UI::MainWindow::paste_act_
QAction * paste_act_
Action to paste text.
Definition: MainWindow.h:378
-
GpgFrontend::UI::MainWindow::slot_encrypt
void slot_encrypt()
Definition: MainWindowSlotFunction.cpp:43
-
GpgFrontend::UI::KeyList::AddMenuAction
void AddMenuAction(QAction *act)
Definition: KeyList.cpp:301
-
GpgFrontend::UI::MainWindow::crypt_tool_bar_
QToolBar * crypt_tool_bar_
Toolbar holding crypt actions.
Definition: MainWindow.h:338
-
GpgFrontend::UI::MainWindow::steganography_menu_
QMenu * steganography_menu_
Submenu for steganography operations.
Definition: MainWindow.h:337
+
GpgFrontend::UI::MainWindow::SlotOpenFile
void SlotOpenFile(QString &path)
Definition: MainWindowSlotFunction.cpp:661
+
GpgFrontend::UI::MainWindow::open_act_
QAction * open_act_
Action to open file.
Definition: MainWindow.h:351
+
GpgFrontend::UI::MainWindow::import_key_menu_
QMenu * import_key_menu_
Submenu for import operations.
Definition: MainWindow.h:330
+
GpgFrontend::UI::MainWindow::encrypt_sign_act_
QAction * encrypt_sign_act_
Action to encrypt and sign text.
Definition: MainWindow.h:359
+
GpgFrontend::UI::MainWindow::attachment_dock_
QDockWidget * attachment_dock_
Attachment Dock.
Definition: MainWindow.h:345
+
GpgFrontend::UI::MainWindow::paste_act_
QAction * paste_act_
Action to paste text.
Definition: MainWindow.h:376
+
GpgFrontend::UI::MainWindow::slot_encrypt
void slot_encrypt()
Definition: MainWindowSlotFunction.cpp:51
+
GpgFrontend::UI::KeyList::AddMenuAction
void AddMenuAction(QAction *act)
Definition: KeyList.cpp:300
+
GpgFrontend::UI::MainWindow::crypt_tool_bar_
QToolBar * crypt_tool_bar_
Toolbar holding crypt actions.
Definition: MainWindow.h:336
+
GpgFrontend::UI::MainWindow::steganography_menu_
QMenu * steganography_menu_
Submenu for steganography operations.
Definition: MainWindow.h:335
GpgFrontend::UI::SettingsObject::Check
nlohmann::json & Check(const std::string &key, const nlohmann::json &default_value)
Definition: SettingsObject.cpp:31
-
GpgFrontend::UI::MainWindow::zoom_out_act_
QAction * zoom_out_act_
Action to zoom out.
Definition: MainWindow.h:384
-
GpgFrontend::UI::MainWindow::key_list_dock_
QDockWidget * key_list_dock_
Encrypt Dock.
Definition: MainWindow.h:346
-
GpgFrontend::UI::MainWindow::slot_show_key_details
void slot_show_key_details()
Definition: MainWindowSlotFunction.cpp:476
-
GpgFrontend::UI::MainWindow::print_act_
QAction * print_act_
Action to print.
Definition: MainWindow.h:357
+
GpgFrontend::UI::MainWindow::zoom_out_act_
QAction * zoom_out_act_
Action to zoom out.
Definition: MainWindow.h:382
+
GpgFrontend::UI::MainWindow::key_list_dock_
QDockWidget * key_list_dock_
Encrypt Dock.
Definition: MainWindow.h:344
+
GpgFrontend::UI::MainWindow::slot_show_key_details
void slot_show_key_details()
Definition: MainWindowSlotFunction.cpp:633
+
GpgFrontend::UI::MainWindow::print_act_
QAction * print_act_
Action to print.
Definition: MainWindow.h:355
GpgFrontend::UI::MainWindow::SetCryptoMenuStatus
void SetCryptoMenuStatus(CryptoMenu::OperationType type)
Definition: MainWindowSlotUI.cpp:191
-
GpgFrontend::UI::MainWindow::slot_decrypt_verify
void slot_decrypt_verify()
Definition: MainWindowSlotFunction.cpp:375
-
GpgFrontend::UI::MainWindow::CryptoMenu
Definition: MainWindow.h:57
-
GpgFrontend::UI::MainWindow::slot_copy_mail_address_to_clipboard
void slot_copy_mail_address_to_clipboard()
Definition: MainWindowSlotFunction.cpp:463
+
GpgFrontend::UI::MainWindow::slot_decrypt_verify
void slot_decrypt_verify()
Definition: MainWindowSlotFunction.cpp:514
+
GpgFrontend::UI::MainWindow::CryptoMenu
Definition: MainWindow.h:56
+
GpgFrontend::UI::MainWindow::slot_copy_mail_address_to_clipboard
void slot_copy_mail_address_to_clipboard()
Definition: MainWindowSlotFunction.cpp:620
GpgFrontend::UI::MainWindow
Definition: MainWindow.h:52
-
GpgFrontend::UI::MainWindow::switch_tab_down_act_
QAction * switch_tab_down_act_
Action to switch tab down.
Definition: MainWindow.h:352
+
GpgFrontend::UI::MainWindow::switch_tab_down_act_
QAction * switch_tab_down_act_
Action to switch tab down.
Definition: MainWindow.h:350
GpgFrontend::UI::SettingsObject
The SettingsObject class This class is used to store settings for the application securely.
Definition: SettingsObject.h:43
-
GpgFrontend::UI::MainWindow::SlotFileSign
void SlotFileSign()
Definition: MainWindowFileSlotFunction.cpp:355
-
GpgFrontend::UI::MainWindow::close_attachment_dock
void close_attachment_dock()
Definition: MainWindow.cpp:307
-
GpgFrontend::UI::MainWindow::append_selected_keys_act_
QAction * append_selected_keys_act_
Action to append selected keys to edit.
Definition: MainWindow.h:371
-
GpgFrontend::UI::VersionCheckThread
Definition: VersionCheckThread.h:41
-
GpgFrontend::UI::MainWindow::check_update_act_
QAction * check_update_act_
Action to open about dialog.
Definition: MainWindow.h:386
+
GpgFrontend::UI::MainWindow::SlotFileSign
void SlotFileSign()
Definition: MainWindowFileSlotFunction.cpp:364
+
GpgFrontend::UI::MainWindow::close_attachment_dock
void close_attachment_dock()
Definition: MainWindow.cpp:289
+
GpgFrontend::UI::MainWindow::append_selected_keys_act_
QAction * append_selected_keys_act_
Action to append selected keys to edit.
Definition: MainWindow.h:369
+
GpgFrontend::UI::MainWindow::check_update_act_
QAction * check_update_act_
Action to open about dialog.
Definition: MainWindow.h:384
GpgFrontend::UI::MainWindow::create_attachment_dock
void create_attachment_dock()
-
GpgFrontend::UI::MainWindow::create_tool_bars
void create_tool_bars()
Definition: MainWindowUI.cpp:380
-
GpgFrontend::UI::MainWindow::undo_act_
QAction * undo_act_
Action to undo last action.
Definition: MainWindow.h:381
-
GpgFrontend::UI::MainWindow::create_status_bar
void create_status_bar()
Definition: MainWindowUI.cpp:429
+
GpgFrontend::UI::MainWindow::create_tool_bars
void create_tool_bars()
Definition: MainWindowUI.cpp:383
+
GpgFrontend::UI::MainWindow::undo_act_
QAction * undo_act_
Action to undo last action.
Definition: MainWindow.h:379
+
GpgFrontend::UI::MainWindow::create_status_bar
void create_status_bar()
Definition: MainWindowUI.cpp:432
GpgFrontend::UI::MainWindow::slot_open_settings_dialog
void slot_open_settings_dialog()
Definition: MainWindowSlotUI.cpp:102
-
GpgFrontend::UI::MainWindow::start_wizard_act_
QAction * start_wizard_act_
Action to open the wizard.
Definition: MainWindow.h:390
-
GpgFrontend::UI::MainWindow::add_pgp_header_act_
QAction * add_pgp_header_act_
Action for adding the PGP header.
Definition: MainWindow.h:392
-
GpgFrontend::UI::MainWindow::slot_sign
void slot_sign()
Definition: MainWindowSlotFunction.cpp:120
-
GpgFrontend::UI::MainWindow::save_as_act_
QAction * save_as_act_
Action to save file as.
Definition: MainWindow.h:356
-
GpgFrontend::UI::MainWindow::import_button_
QToolButton * import_button_
Tool button for import dropdown menu in toolbar.
Definition: MainWindow.h:345
-
GpgFrontend::UI::MainWindow::SlotFileVerify
void SlotFileVerify()
Definition: MainWindowFileSlotFunction.cpp:447
+
GpgFrontend::UI::MainWindow::start_wizard_act_
QAction * start_wizard_act_
Action to open the wizard.
Definition: MainWindow.h:388
+
GpgFrontend::UI::MainWindow::add_pgp_header_act_
QAction * add_pgp_header_act_
Action for adding the PGP header.
Definition: MainWindow.h:390
+
GpgFrontend::UI::MainWindow::slot_sign
void slot_sign()
Definition: MainWindowSlotFunction.cpp:173
+
GpgFrontend::UI::MainWindow::save_as_act_
QAction * save_as_act_
Action to save file as.
Definition: MainWindow.h:354
+
GpgFrontend::UI::MainWindow::import_button_
QToolButton * import_button_
Tool button for import dropdown menu in toolbar.
Definition: MainWindow.h:343
+
GpgFrontend::UI::MainWindow::SlotFileVerify
void SlotFileVerify()
Definition: MainWindowFileSlotFunction.cpp:459
GpgFrontend::UI::MainWindow::slot_disable_tab_actions
void slot_disable_tab_actions(int number)
Definition: MainWindowSlotUI.cpp:60
GpgFrontend::UI::MainWindow::get_restart_needed
bool get_restart_needed() const
return true, if restart is needed
Definition: MainWindowSlotUI.cpp:189
-
GpgFrontend::UI::MainWindow::find_act_
QAction * find_act_
Action to find text.
Definition: MainWindow.h:380
+
GpgFrontend::UI::MainWindow::find_act_
QAction * find_act_
Action to find text.
Definition: MainWindow.h:378
GpgFrontend::UI::KeyList
Definition: KeyList.h:152
GpgFrontend::UI::MainWindow::slot_open_key_management
void slot_open_key_management()
Definition: MainWindowSlotUI.cpp:52
-
GpgFrontend::UI::MainWindow::slot_version_upgrade
void slot_version_upgrade(const SoftwareVersion &version)
Definition: MainWindowSlotFunction.cpp:506
-
GpgFrontend::UI::MainWindow::decrypt_verify_act_
QAction * decrypt_verify_act_
Action to encrypt and sign text.
Definition: MainWindow.h:362
-
GpgFrontend::UI::MainWindow::clean_double_line_breaks_act_
QAction * clean_double_line_breaks_act_
Definition: MainWindow.h:367
-
GpgFrontend::UI::MainWindow::copy_act_
QAction * copy_act_
Action to copy text.
Definition: MainWindow.h:375
-
GpgFrontend::UI::MainWindow::restore_settings
void restore_settings()
Definition: MainWindow.cpp:146
-
GpgFrontend::UI::MainWindow::Init
void Init() noexcept
Definition: MainWindow.cpp:46
-
GpgFrontend::UI::MainWindow::slot_find
void slot_find()
Definition: MainWindowSlotFunction.cpp:226
-
GpgFrontend::UI::MainWindow::key_menu_
QMenu * key_menu_
Submenu for key-operations.
Definition: MainWindow.h:330
-
GpgFrontend::UI::MainWindow::import_key_from_edit_act_
QAction * import_key_from_edit_act_
Action to import key from edit.
Definition: MainWindow.h:366
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
-
GpgFrontend::UI::MainWindow::select_all_act_
QAction * select_all_act_
Action to select whole text.
Definition: MainWindow.h:379
-
GpgFrontend::UI::MainWindow::crypt_menu_
QMenu * crypt_menu_
Submenu for crypt-operations.
Definition: MainWindow.h:328
-
GpgFrontend::UI::MainWindow::edit_menu_
QMenu * edit_menu_
Submenu for text-operations.
Definition: MainWindow.h:327
-
GpgFrontend::UI::MainWindow::decrypt_act_
QAction * decrypt_act_
Action to decrypt text.
Definition: MainWindow.h:363
-
GpgFrontend::UI::MainWindow::special_edit_tool_bar_
QToolBar * special_edit_tool_bar_
Toolbar holding special edit actions.
Definition: MainWindow.h:342
-
GpgFrontend::UI::MainWindow::SlotFileEncryptSign
void SlotFileEncryptSign()
Definition: MainWindowFileSlotFunction.cpp:536
-
GpgFrontend::UI::MainWindow::encrypt_act_
QAction * encrypt_act_
Action to encrypt text.
Definition: MainWindow.h:360
-
GpgFrontend::UI::MainWindow::closeEvent
void closeEvent(QCloseEvent *event) override
Definition: MainWindow.cpp:316
+
GpgFrontend::UI::MainWindow::slot_version_upgrade
void slot_version_upgrade(const SoftwareVersion &version)
Definition: MainWindowSlotFunction.cpp:663
+
GpgFrontend::UI::MainWindow::decrypt_verify_act_
QAction * decrypt_verify_act_
Action to encrypt and sign text.
Definition: MainWindow.h:360
+
GpgFrontend::UI::MainWindow::clean_double_line_breaks_act_
QAction * clean_double_line_breaks_act_
Definition: MainWindow.h:365
+
GpgFrontend::UI::MainWindow::copy_act_
QAction * copy_act_
Action to copy text.
Definition: MainWindow.h:373
+
GpgFrontend::UI::MainWindow::restore_settings
void restore_settings()
Definition: MainWindow.cpp:134
+
GpgFrontend::UI::MainWindow::Init
void Init() noexcept
Definition: MainWindow.cpp:44
+
GpgFrontend::UI::MainWindow::slot_find
void slot_find()
Definition: MainWindowSlotFunction.cpp:592
+
GpgFrontend::UI::MainWindow::key_menu_
QMenu * key_menu_
Submenu for key-operations.
Definition: MainWindow.h:328
+
GpgFrontend::UI::MainWindow::import_key_from_edit_act_
QAction * import_key_from_edit_act_
Action to import key from edit.
Definition: MainWindow.h:364
+
GpgFrontend::UI::VersionCheckTask
Definition: VersionCheckTask.h:45
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
+
GpgFrontend::UI::MainWindow::select_all_act_
QAction * select_all_act_
Action to select whole text.
Definition: MainWindow.h:377
+
GpgFrontend::UI::MainWindow::crypt_menu_
QMenu * crypt_menu_
Submenu for crypt-operations.
Definition: MainWindow.h:326
+
GpgFrontend::UI::MainWindow::edit_menu_
QMenu * edit_menu_
Submenu for text-operations.
Definition: MainWindow.h:325
+
GpgFrontend::UI::MainWindow::decrypt_act_
QAction * decrypt_act_
Action to decrypt text.
Definition: MainWindow.h:361
+
GpgFrontend::UI::MainWindow::special_edit_tool_bar_
QToolBar * special_edit_tool_bar_
Toolbar holding special edit actions.
Definition: MainWindow.h:340
+
GpgFrontend::UI::MainWindow::SlotFileEncryptSign
void SlotFileEncryptSign()
Definition: MainWindowFileSlotFunction.cpp:551
+
GpgFrontend::UI::MainWindow::encrypt_act_
QAction * encrypt_act_
Action to encrypt text.
Definition: MainWindow.h:358
+
GpgFrontend::UI::MainWindow::closeEvent
void closeEvent(QCloseEvent *event) override
Definition: MainWindow.cpp:298
GpgFrontend::UI::MainWindow::slot_import_key_from_edit
void slot_import_key_from_edit()
Definition: MainWindowSlotUI.cpp:46
-
GpgFrontend::UI::MainWindow::translate_act_
QAction * translate_act_
Action to open about dialog.
Definition: MainWindow.h:387
-
GpgFrontend::UI::MainWindow::SlotFileDecrypt
void SlotFileDecrypt()
Definition: MainWindowFileSlotFunction.cpp:283
-
GpgFrontend::UI::MainWindow::edit_
TextEdit * edit_
Tabwidget holding the edit-windows.
Definition: MainWindow.h:325
-
GpgFrontend::UI::MainWindow::open_settings_act_
QAction * open_settings_act_
Action to open settings dialog.
Definition: MainWindow.h:388
+
GpgFrontend::UI::MainWindow::translate_act_
QAction * translate_act_
Action to open about dialog.
Definition: MainWindow.h:385
+
GpgFrontend::UI::MainWindow::SlotFileDecrypt
void SlotFileDecrypt()
Definition: MainWindowFileSlotFunction.cpp:291
+
GpgFrontend::UI::MainWindow::edit_
TextEdit * edit_
Tabwidget holding the edit-windows.
Definition: MainWindow.h:323
+
GpgFrontend::UI::MainWindow::open_settings_act_
QAction * open_settings_act_
Action to open settings dialog.
Definition: MainWindow.h:386
GpgFrontend::UI::MainWindow::slot_add_pgp_header
void slot_add_pgp_header()
Definition: MainWindowSlotUI.cpp:147
-
GpgFrontend::UI::MainWindow::new_tab_act_
QAction * new_tab_act_
Action to create new tab.
Definition: MainWindow.h:350
-
GpgFrontend::UI::MainWindow::help_menu_
QMenu * help_menu_
Submenu for help-operations.
Definition: MainWindow.h:329
-
GpgFrontend::UI::MainWindow::save_act_
QAction * save_act_
Action to save file.
Definition: MainWindow.h:355
-
GpgFrontend::UI::MainWindow::edit_tool_bar_
QToolBar * edit_tool_bar_
Toolbar holding edit actions.
Definition: MainWindow.h:340
-
GpgFrontend::UI::MainWindow::show_key_details_act_
QAction * show_key_details_act_
Action to open key-details dialog.
Definition: MainWindow.h:389
-
GpgFrontend::UI::MainWindow::close_tab_act_
QAction * close_tab_act_
Action to print.
Definition: MainWindow.h:358
+
GpgFrontend::UI::MainWindow::new_tab_act_
QAction * new_tab_act_
Action to create new tab.
Definition: MainWindow.h:348
+
GpgFrontend::UI::MainWindow::help_menu_
QMenu * help_menu_
Submenu for help-operations.
Definition: MainWindow.h:327
+
GpgFrontend::UI::MainWindow::save_act_
QAction * save_act_
Action to save file.
Definition: MainWindow.h:353
+
GpgFrontend::UI::MainWindow::edit_tool_bar_
QToolBar * edit_tool_bar_
Toolbar holding edit actions.
Definition: MainWindow.h:338
+
GpgFrontend::UI::MainWindow::show_key_details_act_
QAction * show_key_details_act_
Action to open key-details dialog.
Definition: MainWindow.h:387
+
GpgFrontend::UI::MainWindow::close_tab_act_
QAction * close_tab_act_
Action to print.
Definition: MainWindow.h:356
GpgFrontend::UI::InfoBoardWidget
Class for handling the verify label shown at bottom of a textedit-page.
Definition: InfoBoardWidget.h:53
-
GpgFrontend::UI::MainWindow::slot_decrypt
void slot_decrypt()
Definition: MainWindowSlotFunction.cpp:183
+
GpgFrontend::UI::MainWindow::slot_decrypt
void slot_decrypt()
Definition: MainWindowSlotFunction.cpp:259
GpgFrontend::UI::SignalStation::SignalRefreshStatusBar
void SignalRefreshStatusBar(const QString &message, int timeout)
-
GpgFrontend::UI::TextEdit::CurTextPage
PlainTextEditorPage * CurTextPage() const
Definition: TextEdit.cpp:359
-
GpgFrontend::UI::MainWindow::open_key_management_act_
QAction * open_key_management_act_
Action to open key management.
Definition: MainWindow.h:374
-
GpgFrontend::UI::MainWindow::slot_encrypt_sign
void slot_encrypt_sign()
Definition: MainWindowSlotFunction.cpp:276
+
GpgFrontend::UI::TextEdit::CurTextPage
PlainTextEditorPage * CurTextPage() const
Definition: TextEdit.cpp:377
+
GpgFrontend::UI::MainWindow::open_key_management_act_
QAction * open_key_management_act_
Action to open key management.
Definition: MainWindow.h:372
+
GpgFrontend::UI::MainWindow::slot_encrypt_sign
void slot_encrypt_sign()
Definition: MainWindowSlotFunction.cpp:394
GpgFrontend::PassphraseGenerator
The PassphraseGenerator class.
Definition: PassphraseGenerator.h:42
-
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:49
+
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:148
GpgFrontend
Definition: CoreCommonUtil.cpp:29
GpgFrontend::PassphraseGenerator::Generate
std::string Generate(int len)
generate passphrase
Definition: PassphraseGenerator.h:60
GpgFrontend::PassphraseGenerator::rd_
std::random_device rd_
Random device.
Definition: PassphraseGenerator.h:77
GpgFrontend::PassphraseGenerator::PassphraseGenerator
PassphraseGenerator(int channel=SingletonFunctionObject::GetDefaultChannel())
PassphraseGenerator constructor.
Definition: PassphraseGenerator.h:50
-
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:127
+
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:232
-
GpgFrontend::UI::PlainTextEditorPage::SetFilePath
void SetFilePath(const QString &filePath)
Definition: PlainTextEditorPage.cpp:78
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::UI::PlainTextEditorPage::GetFilePath
const QString & GetFilePath() const
Definition: PlainTextEditorPage.cpp:72
-
GpgFrontend::UI::PlainTextEditorPage::ShowNotificationWidget
void ShowNotificationWidget(QWidget *widget, const char *className)
Definition: PlainTextEditorPage.cpp:82
-
GpgFrontend::UI::PlainTextEditorPage::slot_insert_text
void slot_insert_text(const std::string &data)
Definition: PlainTextEditorPage.cpp:184
-
GpgFrontend::UI::FileReadThread
Definition: FileReadThread.h:38
-
GpgFrontend::UI::PlainTextEditorPage::CloseNoteByClass
void CloseNoteByClass(const char *className)
Definition: PlainTextEditorPage.cpp:88
-
GpgFrontend::UI::PlainTextEditorPage::sign_marked_
bool sign_marked_
true, if the signed header is marked, false if not
Definition: PlainTextEditorPage.h:110
-
GpgFrontend::UI::PlainTextEditorPage::PlainTextEditorPage
PlainTextEditorPage(QString file_path="", QWidget *parent=nullptr)
Definition: PlainTextEditorPage.cpp:39
-
GpgFrontend::UI::PlainTextEditorPage::detect_cr_lf
void detect_cr_lf(const QString &data)
Definition: PlainTextEditorPage.cpp:248
-
GpgFrontend::UI::PlainTextEditorPage
Class for handling a single tab of the tabwidget.
Definition: PlainTextEditorPage.h:43
-
GpgFrontend::UI::PlainTextEditorPage::detect_encoding
void detect_encoding(const std::string &data)
Definition: PlainTextEditorPage.cpp:224
-
GpgFrontend::UI::FileReadThread::SignalSendReadBlock
void SignalSendReadBlock(const std::string &block)
-
GpgFrontend::UI::PlainTextEditorPage::slot_format_gpg_header
void slot_format_gpg_header()
Definition: PlainTextEditorPage.cpp:97
-
GpgFrontend::UI::PlainTextEditorPage::GetTextPage
QPlainTextEdit * GetTextPage()
Definition: PlainTextEditorPage.cpp:76
-
GpgFrontend::UI::PlainTextEditorPage::full_file_path_
QString full_file_path_
The path to the file handled in the tab.
Definition: PlainTextEditorPage.h:109
-
GpgFrontend::UI::PlainTextEditorPage::ReadDone
bool ReadDone() const
Definition: PlainTextEditorPage.h:99
+
GpgFrontend::UI::PlainTextEditorPage::SetFilePath
void SetFilePath(const QString &filePath)
Definition: PlainTextEditorPage.cpp:103
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::UI::PlainTextEditorPage::GetFilePath
const QString & GetFilePath() const
Definition: PlainTextEditorPage.cpp:77
+
GpgFrontend::UI::PlainTextEditorPage::ShowNotificationWidget
void ShowNotificationWidget(QWidget *widget, const char *className)
Definition: PlainTextEditorPage.cpp:107
+
GpgFrontend::UI::PlainTextEditorPage::SignalUIBytesDisplayed
void SignalUIBytesDisplayed()
this signal is emitted when the bytes has been append in texteditor.
+
GpgFrontend::UI::PlainTextEditorPage::PlainTextEditorPage
PlainTextEditorPage(QString file_path={}, QWidget *parent=nullptr)
Definition: PlainTextEditorPage.cpp:41
+
GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >::GetInstance
static TaskRunnerGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::UI::PlainTextEditorPage::detect_cr_lf
void detect_cr_lf(const std::string &data)
Definition: PlainTextEditorPage.cpp:283
+
GpgFrontend::UI::PlainTextEditorPage::CloseNoteByClass
void CloseNoteByClass(const char *className)
Definition: PlainTextEditorPage.cpp:113
+
GpgFrontend::UI::FileReadTask
Definition: FileReadTask.h:39
+
GpgFrontend::UI::PlainTextEditorPage::sign_marked_
bool sign_marked_
true, if the signed header is marked, false if not
Definition: PlainTextEditorPage.h:126
+
GpgFrontend::UI::PlainTextEditorPage
Class for handling a single tab of the tabwidget.
Definition: PlainTextEditorPage.h:45
+
GpgFrontend::UI::PlainTextEditorPage::detect_encoding
void detect_encoding(const std::string &data)
Definition: PlainTextEditorPage.cpp:259
+
GpgFrontend::CharsetOperator::Detect
static CharsetInfo Detect(const std::string &buffer)
Definition: CharsetOperator.cpp:42
+
GpgFrontend::UI::PlainTextEditorPage::slot_format_gpg_header
void slot_format_gpg_header()
Definition: PlainTextEditorPage.cpp:122
+
GpgFrontend::UI::PlainTextEditorPage::GetTextPage
QPlainTextEdit * GetTextPage()
Definition: PlainTextEditorPage.cpp:81
+
GpgFrontend::UI::PlainTextEditorPage::WillCharsetChange
bool WillCharsetChange() const
detect if the charset of the file will change
Definition: PlainTextEditorPage.cpp:83
+
GpgFrontend::UI::PlainTextEditorPage::full_file_path_
QString full_file_path_
The path to the file handled in the tab.
Definition: PlainTextEditorPage.h:125
+
GpgFrontend::UI::PlainTextEditorPage::ReadDone
bool ReadDone() const
Definition: PlainTextEditorPage.h:101
+
GpgFrontend::UI::PlainTextEditorPage::slot_insert_text
void slot_insert_text(QByteArray bytes_data)
Definition: PlainTextEditorPage.cpp:206
+
GpgFrontend::UI::PlainTextEditorPage::NotifyFileSaved
void NotifyFileSaved()
notify the user that the file has been saved.
Definition: PlainTextEditorPage.cpp:94
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::ProxyConnectionTestThread::ProxyConnectionTestThread
ProxyConnectionTestThread(QString url, int timeout, QWidget *parent=nullptr)
Construct a new Proxy Connection Test Thread object.
Definition: ProxyConnectionTestThread.h:52
GpgFrontend::UI::ProxyConnectionTestThread::SignalProxyConnectionTestResult
void SignalProxyConnectionTestResult(const QString &result)
GpgFrontend::UI::ProxyConnectionTestThread::run
void run() override
Definition: ProxyConnectionTestThread.cpp:29
diff --git a/docs/html/QuitDialog_8h_source.html b/docs/html/QuitDialog_8h_source.html index 520996d6..d96a6837 100644 --- a/docs/html/QuitDialog_8h_source.html +++ b/docs/html/QuitDialog_8h_source.html @@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('QuitDialog_8h_source.html',''); initRe
82 #endif // __QUITDIALOG_H__
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::QuitDialog::IsDiscarded
bool IsDiscarded() const
Definition: QuitDialog.cpp:133
GpgFrontend::UI::QuitDialog::QuitDialog
QuitDialog(QWidget *parent, const QHash< int, QString > &unsavedDocs)
Construct a new Quit Dialog object.
Definition: QuitDialog.cpp:35
GpgFrontend::UI::QuitDialog
Definition: QuitDialog.h:40
diff --git a/docs/html/SettingsAdvanced_8h_source.html b/docs/html/SettingsAdvanced_8h_source.html index 0931e6e2..834e4d71 100644 --- a/docs/html/SettingsAdvanced_8h_source.html +++ b/docs/html/SettingsAdvanced_8h_source.html @@ -116,190 +116,191 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
55 #endif // GPGFRONTEND_SETTINGSADVANCED_H
-
GpgFrontend::UI::MainWindow::slot_verify
void slot_verify()
Definition: MainWindowSlotFunction.cpp:238
-
GpgFrontend::UI::MainWindow::quote_act_
QAction * quote_act_
Action to quote text.
Definition: MainWindow.h:376
-
GpgFrontend::UI::process_tarball_into_directory
bool process_tarball_into_directory(QWidget *parent, std::filesystem::path &path)
convert directory into tarball
Definition: MainWindowFileSlotFunction.cpp:67
-
GpgFrontend::UI::MainWindow::upload_key_to_server
void upload_key_to_server()
Definition: MainWindowSlotFunction.cpp:497
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::UI::TextEdit::SlotCopy
void SlotCopy() const
Definition: TextEdit.cpp:519
-
GpgFrontend::UI::TextEdit::CurFilePage
FilePage * CurFilePage() const
Definition: TextEdit.cpp:363
+
GpgFrontend::UI::MainWindow::slot_verify
void slot_verify()
Definition: MainWindowSlotFunction.cpp:327
+
GpgFrontend::UI::MainWindow::quote_act_
QAction * quote_act_
Action to quote text.
Definition: MainWindow.h:374
+
GpgFrontend::UI::process_tarball_into_directory
bool process_tarball_into_directory(QWidget *parent, std::filesystem::path &path)
convert directory into tarball
Definition: MainWindowFileSlotFunction.cpp:68
+
GpgFrontend::UI::MainWindow::upload_key_to_server
void upload_key_to_server()
Definition: MainWindowSlotFunction.cpp:654
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::UI::TextEdit::SlotCopy
void SlotCopy() const
Definition: TextEdit.cpp:537
+
GpgFrontend::UI::TextEdit::CurFilePage
FilePage * CurFilePage() const
Definition: TextEdit.cpp:381
GpgFrontend::GpgFileOpera::SignFile
static GpgError SignFile(KeyListPtr keys, const std::string &in_path, const std::string &out_path, GpgSignResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)
Definition: GpgFileOpera.cpp:103
-
GpgFrontend::UI::MainWindow::save_settings
void save_settings()
Definition: MainWindow.cpp:272
-
GpgFrontend::UI::MainWindow::SlotFileEncrypt
void SlotFileEncrypt()
Definition: MainWindowFileSlotFunction.cpp:151
+
GpgFrontend::UI::MainWindow::save_settings
void save_settings()
Definition: MainWindow.cpp:254
+
GpgFrontend::UI::MainWindow::SlotFileEncrypt
void SlotFileEncrypt()
Definition: MainWindowFileSlotFunction.cpp:154
GpgFrontend::UI::MainWindow::slot_open_file_tab
void slot_open_file_tab()
Definition: MainWindowSlotUI.cpp:58
-
GpgFrontend::UI::PlainTextEditorPage::ShowNotificationWidget
void ShowNotificationWidget(QWidget *widget, const char *className)
Definition: PlainTextEditorPage.cpp:82
-
GpgFrontend::UI::MainWindow::redo_act_
QAction * redo_act_
Action to redo last action.
Definition: MainWindow.h:382
+
GpgFrontend::UI::PlainTextEditorPage::ShowNotificationWidget
void ShowNotificationWidget(QWidget *widget, const char *className)
Definition: PlainTextEditorPage.cpp:107
+
GpgFrontend::UI::MainWindow::redo_act_
QAction * redo_act_
Action to redo last action.
Definition: MainWindow.h:380
+
GpgFrontend::UI::process_operation
void process_operation(QWidget *parent, const std::string &waiting_title, const Thread::Task::TaskRunnable func, const Thread::Task::TaskCallback callback, Thread::Task::DataObjectPtr data_object)
Definition: UserInterfaceUtils.cpp:116
GpgFrontend::GpgKeyImportExporter::ExportKeys
bool ExportKeys(KeyIdArgsListPtr &uid_list, ByteArrayPtr &out_buffer, bool secret=false) const
Definition: GpgKeyImportExporter.cpp:71
GpgFrontend::GpgBasicOperator::Decrypt
gpgme_error_t Decrypt(BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgDecrResult &result)
Call the interface provided by gpgme for decryption operation.
Definition: GpgBasicOperator.cpp:64
-
GpgFrontend::UI::process_directory_into_tarball
bool process_directory_into_tarball(QWidget *parent, QString &path)
convert tarball into directory
Definition: MainWindowFileSlotFunction.cpp:114
-
GpgFrontend::UI::TextEdit::MaybeSaveAnyTab
bool MaybeSaveAnyTab()
Definition: TextEdit.cpp:304
-
GpgFrontend::UI::MainWindow::quit_act_
QAction * quit_act_
Action to quit application.
Definition: MainWindow.h:359
-
GpgFrontend::UI::MainWindow::cut_pgp_header_act_
QAction * cut_pgp_header_act_
Action for cutting the PGP header.
Definition: MainWindow.h:391
+
GpgFrontend::UI::process_directory_into_tarball
bool process_directory_into_tarball(QWidget *parent, QString &path)
convert tarball into directory
Definition: MainWindowFileSlotFunction.cpp:116
+
GpgFrontend::UI::TextEdit::MaybeSaveAnyTab
bool MaybeSaveAnyTab()
Definition: TextEdit.cpp:322
+
GpgFrontend::UI::MainWindow::quit_act_
QAction * quit_act_
Action to quit application.
Definition: MainWindow.h:357
+
GpgFrontend::UI::MainWindow::cut_pgp_header_act_
QAction * cut_pgp_header_act_
Action for cutting the PGP header.
Definition: MainWindow.h:389
GpgFrontend::UI::MainWindow::create_actions
void create_actions()
Definition: MainWindowUI.cpp:34
-
GpgFrontend::UI::MainWindow::SlotFileDecryptVerify
void SlotFileDecryptVerify()
Definition: MainWindowFileSlotFunction.cpp:662
+
GpgFrontend::UI::MainWindow::SlotFileDecryptVerify
void SlotFileDecryptVerify()
Definition: MainWindowFileSlotFunction.cpp:679
GpgFrontend::UI::MainWindow::slot_cut_pgp_header
void slot_cut_pgp_header()
Definition: MainWindowSlotUI.cpp:161
-
GpgFrontend::UI::MainWindow::browser_act_
QAction * browser_act_
Action to open file browser.
Definition: MainWindow.h:354
-
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::UI::MainWindow::browser_act_
QAction * browser_act_
Action to open file browser.
Definition: MainWindow.h:352
+
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::UI::TextEdit::SlotOpenFile
void SlotOpenFile(QString &path)
Definition: TextEdit.cpp:82
GpgFrontend::GpgBasicOperator::DecryptVerify
gpgme_error_t DecryptVerify(BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgDecrResult &decrypt_result, GpgVerifyResult &verify_result)
Call the interface provided by gpgme to perform decryption and verification operations at the same ti...
Definition: GpgBasicOperator.cpp:123
GpgFrontend::UI::TextEdit::SlotOpen
void SlotOpen()
Definition: TextEdit.cpp:110
GpgFrontend::GpgFileOpera::EncryptFile
static unsigned int EncryptFile(KeyListPtr keys, const std::string &in_path, const std::string &out_path, GpgEncrResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)
Encrypted file.
Definition: GpgFileOpera.cpp:40
-
GpgFrontend::UI::MainWindow::key_tool_bar_
QToolBar * key_tool_bar_
Toolbar holding key operations.
Definition: MainWindow.h:343
-
GpgFrontend::UI::PlainTextEditorPage::CloseNoteByClass
void CloseNoteByClass(const char *className)
Definition: PlainTextEditorPage.cpp:88
-
GpgFrontend::UI::TextEdit::SlotCut
void SlotCut() const
Definition: TextEdit.cpp:511
+
GpgFrontend::UI::MainWindow::key_tool_bar_
QToolBar * key_tool_bar_
Toolbar holding key operations.
Definition: MainWindow.h:341
+
GpgFrontend::UI::PlainTextEditorPage::CloseNoteByClass
void CloseNoteByClass(const char *className)
Definition: PlainTextEditorPage.cpp:113
+
GpgFrontend::UI::TextEdit::SlotCut
void SlotCut() const
Definition: TextEdit.cpp:529
GpgFrontend::UI::InfoBoardWidget::ResetOptionActionsMenu
void ResetOptionActionsMenu()
Definition: InfoBoardWidget.cpp:129
-
GpgFrontend::UI::MainWindow::view_menu_
QMenu * view_menu_
Submenu for view operations.
Definition: MainWindow.h:331
+
GpgFrontend::UI::MainWindow::view_menu_
QMenu * view_menu_
Submenu for view operations.
Definition: MainWindow.h:329
GpgFrontend::UI::SoftwareVersion
Definition: SoftwareVersion.h:39
-
GpgFrontend::UI::import_unknown_key_from_keyserver
void import_unknown_key_from_keyserver(QWidget *parent, const GpgVerifyResultAnalyse &verify_res)
Definition: UserInterfaceUtils.cpp:54
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
GpgFrontend::UI::MainWindow::file_menu_
QMenu * file_menu_
Submenu for file-operations.
Definition: MainWindow.h:326
-
GpgFrontend::UI::TextEdit::SlotCurPageTextEdit
PlainTextEditorPage * SlotCurPageTextEdit() const
Definition: TextEdit.cpp:374
-
GpgFrontend::UI::MainWindow::sign_act_
QAction * sign_act_
Action to sign text.
Definition: MainWindow.h:364
-
GpgFrontend::UI::TextEdit::SlotRedo
void SlotRedo() const
redo last change in current text page
Definition: TextEdit.cpp:545
-
GpgFrontend::UI::KeyList::AddListGroupTab
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:95
-
GpgFrontend::UI::MainWindow::slot_append_selected_keys
void slot_append_selected_keys()
Definition: MainWindowSlotFunction.cpp:450
-
GpgFrontend::UI::process_operation
void process_operation(QWidget *parent, const std::string &waiting_title, const std::function< void()> &func)
Definition: UserInterfaceUtils.cpp:109
-
GpgFrontend::UI::MainWindow::verify_act_
QAction * verify_act_
Action to verify text.
Definition: MainWindow.h:365
+
GpgFrontend::UI::import_unknown_key_from_keyserver
void import_unknown_key_from_keyserver(QWidget *parent, const GpgVerifyResultAnalyse &verify_res)
Definition: UserInterfaceUtils.cpp:61
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
+
GpgFrontend::UI::MainWindow::file_menu_
QMenu * file_menu_
Submenu for file-operations.
Definition: MainWindow.h:324
+
GpgFrontend::UI::TextEdit::SlotCurPageTextEdit
PlainTextEditorPage * SlotCurPageTextEdit() const
Definition: TextEdit.cpp:392
+
GpgFrontend::UI::MainWindow::sign_act_
QAction * sign_act_
Action to sign text.
Definition: MainWindow.h:362
+
GpgFrontend::UI::TextEdit::SlotRedo
void SlotRedo() const
redo last change in current text page
Definition: TextEdit.cpp:563
+
GpgFrontend::UI::KeyList::AddListGroupTab
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:99
+
GpgFrontend::UI::MainWindow::slot_append_selected_keys
void slot_append_selected_keys()
Definition: MainWindowSlotFunction.cpp:607
+
GpgFrontend::UI::MainWindow::verify_act_
QAction * verify_act_
Action to verify text.
Definition: MainWindow.h:363
GpgFrontend::UI::AdvancedTab
Definition: SettingsAdvanced.h:35
-
GpgFrontend::UI::CommonUtils::SlotImportKeys
void SlotImportKeys(QWidget *parent, const std::string &in_buffer)
Definition: UserInterfaceUtils.cpp:148
-
GpgFrontend::UI::MainWindow::about_act_
QAction * about_act_
Action to open about dialog.
Definition: MainWindow.h:385
-
GpgFrontend::UI::MainWindow::file_tool_bar_
QToolBar * file_tool_bar_
Toolbar holding file actions.
Definition: MainWindow.h:339
-
GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView
FilePage * SlotCurPageFileTreeView() const
Definition: TextEdit.cpp:380
-
GpgFrontend::UI::MainWindow::refresh_keys_from_key_server
void refresh_keys_from_key_server()
Definition: MainWindowSlotFunction.cpp:488
-
GpgFrontend::UI::MainWindow::zoom_in_act_
QAction * zoom_in_act_
Action to zoom in.
Definition: MainWindow.h:383
-
GpgFrontend::UI::MainWindow::create_menus
void create_menus()
Definition: MainWindowUI.cpp:315
-
GpgFrontend::UI::MainWindow::cut_act_
QAction * cut_act_
Action to cut text.
Definition: MainWindow.h:377
+
GpgFrontend::UI::CommonUtils::SlotImportKeys
void SlotImportKeys(QWidget *parent, const std::string &in_buffer)
Definition: UserInterfaceUtils.cpp:180
+
GpgFrontend::UI::MainWindow::about_act_
QAction * about_act_
Action to open about dialog.
Definition: MainWindow.h:383
+
GpgFrontend::UI::MainWindow::file_tool_bar_
QToolBar * file_tool_bar_
Toolbar holding file actions.
Definition: MainWindow.h:337
+
GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView
FilePage * SlotCurPageFileTreeView() const
Definition: TextEdit.cpp:398
+
GpgFrontend::UI::MainWindow::refresh_keys_from_key_server
void refresh_keys_from_key_server()
Definition: MainWindowSlotFunction.cpp:645
+
GpgFrontend::UI::MainWindow::zoom_in_act_
QAction * zoom_in_act_
Action to zoom in.
Definition: MainWindow.h:381
+
GpgFrontend::UI::MainWindow::create_menus
void create_menus()
Definition: MainWindowUI.cpp:318
+
GpgFrontend::UI::MainWindow::cut_act_
QAction * cut_act_
Action to cut text.
Definition: MainWindow.h:375
GpgFrontend::UI::SettingsDialog
Definition: SettingsDialog.h:46
GpgFrontend::UI::MainWindow::slot_start_wizard
void slot_start_wizard()
Definition: MainWindowSlotUI.cpp:40
-
GpgFrontend::UI::MainWindow::create_dock_windows
void create_dock_windows()
Definition: MainWindowUI.cpp:445
+
GpgFrontend::UI::MainWindow::create_dock_windows
void create_dock_windows()
Definition: MainWindowUI.cpp:448
GpgFrontend::GpgBasicOperator::Verify
gpgme_error_t Verify(BypeArrayRef in_buffer, ByteArrayPtr &sig_buffer, GpgVerifyResult &result) const
Call the interface provided by gpgme for verification operation.
Definition: GpgBasicOperator.cpp:81
-
GpgFrontend::UI::MainWindow::copy_mail_address_to_clipboard_act_
QAction * copy_mail_address_to_clipboard_act_
Definition: MainWindow.h:372
+
GpgFrontend::UI::MainWindow::copy_mail_address_to_clipboard_act_
QAction * copy_mail_address_to_clipboard_act_
Definition: MainWindow.h:370
GpgFrontend::GpgBasicOperator::Sign
gpg_error_t Sign(KeyListPtr signers, BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, gpgme_sig_mode_t mode, GpgSignResult &result)
Call the interface provided by gpgme for signing operation.
Definition: GpgBasicOperator.cpp:101
-
GpgFrontend::UI::KeyList::GetChecked
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:182
-
GpgFrontend::UI::MainWindow::switch_tab_up_act_
QAction * switch_tab_up_act_
Action to switch tab up.
Definition: MainWindow.h:351
+
GpgFrontend::UI::KeyList::GetChecked
KeyIdArgsListPtr GetChecked()
Get the Checked object.
Definition: KeyList.cpp:181
+
GpgFrontend::UI::MainWindow::switch_tab_up_act_
QAction * switch_tab_up_act_
Action to switch tab up.
Definition: MainWindow.h:349
GpgFrontend::UI::MainWindow::SlotSetRestartNeeded
void SlotSetRestartNeeded(bool needed)
Definition: MainWindowSlotUI.cpp:185
GpgFrontend::UI::MainWindow::slot_clean_double_line_breaks
void slot_clean_double_line_breaks()
Definition: MainWindowSlotUI.cpp:137
GpgFrontend::UI::TextEdit::SlotNewFileTab
void SlotNewFileTab() const
Definition: TextEdit.cpp:72
-
GpgFrontend::UI::MainWindow::SlotOpenFile
void SlotOpenFile(QString &path)
Definition: MainWindowSlotFunction.cpp:504
-
GpgFrontend::UI::MainWindow::open_act_
QAction * open_act_
Action to open file.
Definition: MainWindow.h:353
-
GpgFrontend::UI::MainWindow::import_key_menu_
QMenu * import_key_menu_
Submenu for import operations.
Definition: MainWindow.h:332
-
GpgFrontend::UI::MainWindow::encrypt_sign_act_
QAction * encrypt_sign_act_
Action to encrypt and sign text.
Definition: MainWindow.h:361
-
GpgFrontend::UI::TextEdit::SlotSelectAll
void SlotSelectAll() const
select all in current text page
Definition: TextEdit.cpp:573
-
GpgFrontend::UI::MainWindow::paste_act_
QAction * paste_act_
Action to paste text.
Definition: MainWindow.h:378
-
GpgFrontend::UI::MainWindow::slot_encrypt
void slot_encrypt()
Definition: MainWindowSlotFunction.cpp:43
+
GpgFrontend::UI::MainWindow::SlotOpenFile
void SlotOpenFile(QString &path)
Definition: MainWindowSlotFunction.cpp:661
+
GpgFrontend::UI::MainWindow::open_act_
QAction * open_act_
Action to open file.
Definition: MainWindow.h:351
+
GpgFrontend::UI::MainWindow::import_key_menu_
QMenu * import_key_menu_
Submenu for import operations.
Definition: MainWindow.h:330
+
GpgFrontend::UI::MainWindow::encrypt_sign_act_
QAction * encrypt_sign_act_
Action to encrypt and sign text.
Definition: MainWindow.h:359
+
GpgFrontend::UI::TextEdit::SlotSelectAll
void SlotSelectAll() const
select all in current text page
Definition: TextEdit.cpp:591
+
GpgFrontend::UI::MainWindow::paste_act_
QAction * paste_act_
Action to paste text.
Definition: MainWindow.h:376
+
GpgFrontend::UI::MainWindow::slot_encrypt
void slot_encrypt()
Definition: MainWindowSlotFunction.cpp:51
GpgFrontend::UI::KeyMgmt
Definition: KeyMgmt.h:45
GpgFrontend::GpgVerifyResultAnalyse
Definition: GpgVerifyResultAnalyse.h:40
-
GpgFrontend::UI::TextEdit::SlotFillTextEditWithText
void SlotFillTextEditWithText(const QString &text) const
Definition: TextEdit.cpp:407
+
GpgFrontend::UI::TextEdit::SlotFillTextEditWithText
void SlotFillTextEditWithText(const QString &text) const
Definition: TextEdit.cpp:425
GpgFrontend::UI::KeyServerImportDialog
Definition: KeyServerImportDialog.h:43
-
GpgFrontend::UI::MainWindow::crypt_tool_bar_
QToolBar * crypt_tool_bar_
Toolbar holding crypt actions.
Definition: MainWindow.h:338
-
GpgFrontend::UI::MainWindow::steganography_menu_
QMenu * steganography_menu_
Submenu for steganography operations.
Definition: MainWindow.h:337
-
GpgFrontend::UI::TextEdit::SlotQuote
void SlotQuote() const
Definition: TextEdit.cpp:385
-
GpgFrontend::UI::SoftwareVersion::VersionWithDrawn
bool VersionWithDrawn() const
Definition: SoftwareVersion.h:68
+
GpgFrontend::UI::MainWindow::crypt_tool_bar_
QToolBar * crypt_tool_bar_
Toolbar holding crypt actions.
Definition: MainWindow.h:336
+
GpgFrontend::UI::MainWindow::steganography_menu_
QMenu * steganography_menu_
Submenu for steganography operations.
Definition: MainWindow.h:335
+
GpgFrontend::UI::TextEdit::SlotQuote
void SlotQuote() const
Definition: TextEdit.cpp:403
+
GpgFrontend::UI::SoftwareVersion::VersionWithDrawn
bool VersionWithDrawn() const
Definition: SoftwareVersion.h:76
GpgFrontend::UI::SettingsObject::Check
nlohmann::json & Check(const std::string &key, const nlohmann::json &default_value)
Definition: SettingsObject.cpp:31
-
GpgFrontend::UI::MainWindow::zoom_out_act_
QAction * zoom_out_act_
Action to zoom out.
Definition: MainWindow.h:384
+
GpgFrontend::UI::MainWindow::zoom_out_act_
QAction * zoom_out_act_
Action to zoom out.
Definition: MainWindow.h:382
GpgFrontend::UI::KeyDetailsDialog
Definition: KeyDetailsDialog.h:37
-
GpgFrontend::UI::MainWindow::key_list_dock_
QDockWidget * key_list_dock_
Encrypt Dock.
Definition: MainWindow.h:346
-
GpgFrontend::UI::MainWindow::slot_show_key_details
void slot_show_key_details()
Definition: MainWindowSlotFunction.cpp:476
-
GpgFrontend::UI::MainWindow::print_act_
QAction * print_act_
Action to print.
Definition: MainWindow.h:357
-
GpgFrontend::UI::TextEdit::SlotPaste
void SlotPaste() const
Definition: TextEdit.cpp:529
+
GpgFrontend::UI::MainWindow::key_list_dock_
QDockWidget * key_list_dock_
Encrypt Dock.
Definition: MainWindow.h:344
+
GpgFrontend::UI::MainWindow::slot_show_key_details
void slot_show_key_details()
Definition: MainWindowSlotFunction.cpp:633
+
GpgFrontend::UI::MainWindow::print_act_
QAction * print_act_
Action to print.
Definition: MainWindow.h:355
+
GpgFrontend::UI::TextEdit::SlotPaste
void SlotPaste() const
Definition: TextEdit.cpp:547
GpgFrontend::UI::MainWindow::SetCryptoMenuStatus
void SetCryptoMenuStatus(CryptoMenu::OperationType type)
Definition: MainWindowSlotUI.cpp:191
-
GpgFrontend::UI::SoftwareVersion::CurrentVersionReleased
bool CurrentVersionReleased() const
Definition: SoftwareVersion.h:79
-
GpgFrontend::UI::MainWindow::slot_decrypt_verify
void slot_decrypt_verify()
Definition: MainWindowSlotFunction.cpp:375
-
GpgFrontend::UI::TextEdit::SlotSaveAs
bool SlotSaveAs()
Definition: TextEdit.cpp:199
-
GpgFrontend::UI::MainWindow::slot_copy_mail_address_to_clipboard
void slot_copy_mail_address_to_clipboard()
Definition: MainWindowSlotFunction.cpp:463
-
GpgFrontend::UI::TextEdit::SlotSwitchTabUp
void SlotSwitchTabUp() const
Definition: TextEdit.cpp:474
-
GpgFrontend::UI::MainWindow::switch_tab_down_act_
QAction * switch_tab_down_act_
Action to switch tab down.
Definition: MainWindow.h:352
-
GpgFrontend::UI::TextEdit::SlotPrint
void SlotPrint()
Definition: TextEdit.cpp:440
+
GpgFrontend::UI::SoftwareVersion::CurrentVersionReleased
bool CurrentVersionReleased() const
Definition: SoftwareVersion.h:87
+
GpgFrontend::UI::MainWindow::slot_decrypt_verify
void slot_decrypt_verify()
Definition: MainWindowSlotFunction.cpp:514
+
GpgFrontend::UI::TextEdit::SlotSaveAs
bool SlotSaveAs()
Definition: TextEdit.cpp:219
+
GpgFrontend::UI::MainWindow::slot_copy_mail_address_to_clipboard
void slot_copy_mail_address_to_clipboard()
Definition: MainWindowSlotFunction.cpp:620
+
GpgFrontend::UI::TextEdit::SlotSwitchTabUp
void SlotSwitchTabUp() const
Definition: TextEdit.cpp:492
+
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
+
GpgFrontend::UI::MainWindow::switch_tab_down_act_
QAction * switch_tab_down_act_
Action to switch tab down.
Definition: MainWindow.h:350
+
GpgFrontend::UI::TextEdit::SlotPrint
void SlotPrint()
Definition: TextEdit.cpp:458
GpgFrontend::UI::SettingsObject
The SettingsObject class This class is used to store settings for the application securely.
Definition: SettingsObject.h:43
-
GpgFrontend::UI::TextEdit::SlotUndo
void SlotUndo() const
Definition: TextEdit.cpp:537
-
GpgFrontend::UI::MainWindow::SlotFileSign
void SlotFileSign()
Definition: MainWindowFileSlotFunction.cpp:355
-
GpgFrontend::UI::KeyList::GetSelected
KeyIdArgsListPtr GetSelected()
Get the Selected object.
Definition: KeyList.cpp:254
-
GpgFrontend::UI::CommonUtils::SlotImportKeyFromFile
void SlotImportKeyFromFile(QWidget *parent)
Definition: UserInterfaceUtils.cpp:156
-
GpgFrontend::UI::MainWindow::append_selected_keys_act_
QAction * append_selected_keys_act_
Action to append selected keys to edit.
Definition: MainWindow.h:371
-
GpgFrontend::UI::MainWindow::check_update_act_
QAction * check_update_act_
Action to open about dialog.
Definition: MainWindow.h:386
-
GpgFrontend::UI::KeyList::GetPrivateChecked
KeyIdArgsListPtr GetPrivateChecked()
Get the Private Checked object.
Definition: KeyList.cpp:210
+
GpgFrontend::UI::TextEdit::SlotUndo
void SlotUndo() const
Definition: TextEdit.cpp:555
+
GpgFrontend::UI::MainWindow::SlotFileSign
void SlotFileSign()
Definition: MainWindowFileSlotFunction.cpp:364
+
GpgFrontend::UI::KeyList::GetSelected
KeyIdArgsListPtr GetSelected()
Get the Selected object.
Definition: KeyList.cpp:253
+
GpgFrontend::UI::CommonUtils::SlotImportKeyFromFile
void SlotImportKeyFromFile(QWidget *parent)
Definition: UserInterfaceUtils.cpp:188
+
GpgFrontend::UI::MainWindow::append_selected_keys_act_
QAction * append_selected_keys_act_
Action to append selected keys to edit.
Definition: MainWindow.h:369
+
GpgFrontend::UI::MainWindow::check_update_act_
QAction * check_update_act_
Action to open about dialog.
Definition: MainWindow.h:384
+
GpgFrontend::UI::KeyList::GetPrivateChecked
KeyIdArgsListPtr GetPrivateChecked()
Get the Private Checked object.
Definition: KeyList.cpp:209
GpgFrontend::UI::SignersPicker
Definition: SignersPicker.h:42
GpgFrontend::GpgEncryptResultAnalyse
Definition: GpgEncryptResultAnalyse.h:40
-
GpgFrontend::UI::MainWindow::create_tool_bars
void create_tool_bars()
Definition: MainWindowUI.cpp:380
-
GpgFrontend::GpgConstants::PGP_CRYPT_BEGIN
static const char * PGP_CRYPT_BEGIN
Definition: GpgConstants.h:213
+
GpgFrontend::UI::MainWindow::create_tool_bars
void create_tool_bars()
Definition: MainWindowUI.cpp:383
+
GpgFrontend::GpgConstants::PGP_CRYPT_BEGIN
static const char * PGP_CRYPT_BEGIN
Definition: GpgConstants.h:206
GpgFrontend::UI::Wizard
Definition: Wizard.h:44
-
GpgFrontend::UI::MainWindow::undo_act_
QAction * undo_act_
Action to undo last action.
Definition: MainWindow.h:381
+
GpgFrontend::UI::MainWindow::undo_act_
QAction * undo_act_
Action to undo last action.
Definition: MainWindow.h:379
GpgFrontend::GpgKey::IsPrivateKey
bool IsPrivateKey() const
Definition: GpgKey.cpp:140
-
GpgFrontend::UI::MainWindow::create_status_bar
void create_status_bar()
Definition: MainWindowUI.cpp:429
+
GpgFrontend::UI::MainWindow::create_status_bar
void create_status_bar()
Definition: MainWindowUI.cpp:432
GpgFrontend::GpgBasicOperator::EncryptSymmetric
gpg_error_t EncryptSymmetric(BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgEncrResult &result)
Call the interface provided by GPGME to symmetrical encryption.
Definition: GpgBasicOperator.cpp:203
GpgFrontend::UI::MainWindow::slot_open_settings_dialog
void slot_open_settings_dialog()
Definition: MainWindowSlotUI.cpp:102
GpgFrontend::GpgBasicOperator::EncryptSign
gpgme_error_t EncryptSign(KeyListPtr keys, KeyListPtr signers, BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgEncrResult &encr_result, GpgSignResult &sign_result)
Call the interface provided by gpgme to perform encryption and signature operations at the same time.
Definition: GpgBasicOperator.cpp:144
-
GpgFrontend::UI::PlainTextEditorPage::GetTextPage
QPlainTextEdit * GetTextPage()
Definition: PlainTextEditorPage.cpp:76
-
GpgFrontend::UI::MainWindow::start_wizard_act_
QAction * start_wizard_act_
Action to open the wizard.
Definition: MainWindow.h:390
-
GpgFrontend::UI::MainWindow::add_pgp_header_act_
QAction * add_pgp_header_act_
Action for adding the PGP header.
Definition: MainWindow.h:392
-
GpgFrontend::UI::MainWindow::slot_sign
void slot_sign()
Definition: MainWindowSlotFunction.cpp:120
+
GpgFrontend::UI::PlainTextEditorPage::GetTextPage
QPlainTextEdit * GetTextPage()
Definition: PlainTextEditorPage.cpp:81
+
GpgFrontend::UI::MainWindow::start_wizard_act_
QAction * start_wizard_act_
Action to open the wizard.
Definition: MainWindow.h:388
+
GpgFrontend::UI::MainWindow::add_pgp_header_act_
QAction * add_pgp_header_act_
Action for adding the PGP header.
Definition: MainWindow.h:390
+
GpgFrontend::UI::MainWindow::slot_sign
void slot_sign()
Definition: MainWindowSlotFunction.cpp:173
GpgFrontend::UI::AboutDialog
Class for handling the about dialog.
Definition: AboutDialog.h:119
-
GpgFrontend::UI::MainWindow::save_as_act_
QAction * save_as_act_
Action to save file as.
Definition: MainWindow.h:356
-
GpgFrontend::UI::MainWindow::import_button_
QToolButton * import_button_
Tool button for import dropdown menu in toolbar.
Definition: MainWindow.h:345
-
GpgFrontend::UI::MainWindow::SlotFileVerify
void SlotFileVerify()
Definition: MainWindowFileSlotFunction.cpp:447
+
GpgFrontend::UI::MainWindow::save_as_act_
QAction * save_as_act_
Action to save file as.
Definition: MainWindow.h:354
+
GpgFrontend::UI::MainWindow::import_button_
QToolButton * import_button_
Tool button for import dropdown menu in toolbar.
Definition: MainWindow.h:343
+
GpgFrontend::UI::MainWindow::SlotFileVerify
void SlotFileVerify()
Definition: MainWindowFileSlotFunction.cpp:459
GpgFrontend::UI::MainWindow::slot_disable_tab_actions
void slot_disable_tab_actions(int number)
Definition: MainWindowSlotUI.cpp:60
-
GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer
void SlotImportKeyFromKeyServer(QWidget *parent)
Definition: UserInterfaceUtils.cpp:172
-
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+
GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer
void SlotImportKeyFromKeyServer(QWidget *parent)
Definition: UserInterfaceUtils.cpp:204
+
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:63
GpgFrontend::UI::TextEdit::SlotSave
void SlotSave()
Definition: TextEdit.cpp:148
GpgFrontend::GpgFileOpera::DecryptVerifyFile
static GpgError DecryptVerifyFile(const std::string &in_path, const std::string &out_path, GpgDecrResult &decr_res, GpgVerifyResult &verify_res)
Definition: GpgFileOpera.cpp:197
GpgFrontend::UI::MainWindow::get_restart_needed
bool get_restart_needed() const
return true, if restart is needed
Definition: MainWindowSlotUI.cpp:189
-
GpgFrontend::UI::SoftwareVersion::NeedUpgrade
bool NeedUpgrade() const
Definition: SoftwareVersion.h:57
+
GpgFrontend::UI::SoftwareVersion::NeedUpgrade
bool NeedUpgrade() const
Definition: SoftwareVersion.h:65
GpgFrontend::UI::FindWidget
Class for handling the find widget shown at buttom of a textedit-page.
Definition: FindWidget.h:40
GpgFrontend::GpgFileOpera::VerifyFile
static GpgError VerifyFile(const std::string &data_path, const std::string &sign_path, GpgVerifyResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)
Definition: GpgFileOpera.cpp:135
-
GpgFrontend::UI::MainWindow::find_act_
QAction * find_act_
Action to find text.
Definition: MainWindow.h:380
+
GpgFrontend::UI::MainWindow::find_act_
QAction * find_act_
Action to find text.
Definition: MainWindow.h:378
GpgFrontend::GpgKey::IsExpired
bool IsExpired() const
Definition: GpgKey.cpp:142
GpgFrontend::UI::MainWindow::slot_open_key_management
void slot_open_key_management()
Definition: MainWindowSlotUI.cpp:52
-
GpgFrontend::UI::MainWindow::slot_version_upgrade
void slot_version_upgrade(const SoftwareVersion &version)
Definition: MainWindowSlotFunction.cpp:506
-
GpgFrontend::UI::MainWindow::decrypt_verify_act_
QAction * decrypt_verify_act_
Action to encrypt and sign text.
Definition: MainWindow.h:362
-
GpgFrontend::UI::MainWindow::clean_double_line_breaks_act_
QAction * clean_double_line_breaks_act_
Definition: MainWindow.h:367
+
GpgFrontend::UI::MainWindow::slot_version_upgrade
void slot_version_upgrade(const SoftwareVersion &version)
Definition: MainWindowSlotFunction.cpp:663
+
GpgFrontend::UI::MainWindow::decrypt_verify_act_
QAction * decrypt_verify_act_
Action to encrypt and sign text.
Definition: MainWindow.h:360
+
GpgFrontend::UI::MainWindow::clean_double_line_breaks_act_
QAction * clean_double_line_breaks_act_
Definition: MainWindow.h:365
GpgFrontend::GpgFileOpera::EncryptSignFile
static GpgError EncryptSignFile(KeyListPtr keys, KeyListPtr signer_keys, const std::string &in_path, const std::string &out_path, GpgEncrResult &encr_res, GpgSignResult &sign_res, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)
Definition: GpgFileOpera.cpp:165
-
GpgFrontend::UI::MainWindow::copy_act_
QAction * copy_act_
Action to copy text.
Definition: MainWindow.h:375
-
GpgFrontend::UI::MainWindow::slot_find
void slot_find()
Definition: MainWindowSlotFunction.cpp:226
-
GpgFrontend::UI::MainWindow::key_menu_
QMenu * key_menu_
Submenu for key-operations.
Definition: MainWindow.h:330
-
GpgFrontend::UI::MainWindow::import_key_from_edit_act_
QAction * import_key_from_edit_act_
Action to import key from edit.
Definition: MainWindow.h:366
-
GpgFrontend::UI::FilePage::GetSelected
QString GetSelected() const
Get the Selected object.
Definition: FilePage.cpp:184
+
GpgFrontend::UI::MainWindow::copy_act_
QAction * copy_act_
Action to copy text.
Definition: MainWindow.h:373
+
GpgFrontend::UI::MainWindow::slot_find
void slot_find()
Definition: MainWindowSlotFunction.cpp:592
+
GpgFrontend::UI::MainWindow::key_menu_
QMenu * key_menu_
Submenu for key-operations.
Definition: MainWindow.h:328
+
GpgFrontend::UI::MainWindow::import_key_from_edit_act_
QAction * import_key_from_edit_act_
Action to import key from edit.
Definition: MainWindow.h:364
+
GpgFrontend::UI::FilePage::GetSelected
QString GetSelected() const
Get the Selected object.
Definition: FilePage.cpp:187
GpgFrontend::GpgFileOpera::DecryptFile
static GpgError DecryptFile(const std::string &in_path, const std::string &out_path, GpgDecrResult &result)
Definition: GpgFileOpera.cpp:71
-
GpgFrontend::UI::TextEdit::TabCount
int TabCount() const
Definition: TextEdit.cpp:372
-
GpgFrontend::UI::MainWindow::select_all_act_
QAction * select_all_act_
Action to select whole text.
Definition: MainWindow.h:379
-
GpgFrontend::UI::MainWindow::crypt_menu_
QMenu * crypt_menu_
Submenu for crypt-operations.
Definition: MainWindow.h:328
-
GpgFrontend::UI::MainWindow::edit_menu_
QMenu * edit_menu_
Submenu for text-operations.
Definition: MainWindow.h:327
-
GpgFrontend::UI::TextEdit::SlotCloseTab
void SlotCloseTab()
Definition: TextEdit.cpp:216
-
GpgFrontend::UI::CommonUtils::SlotImportKeyFromClipboard
void SlotImportKeyFromClipboard(QWidget *parent)
Definition: UserInterfaceUtils.cpp:177
-
GpgFrontend::UI::MainWindow::decrypt_act_
QAction * decrypt_act_
Action to decrypt text.
Definition: MainWindow.h:363
-
GpgFrontend::UI::MainWindow::special_edit_tool_bar_
QToolBar * special_edit_tool_bar_
Toolbar holding special edit actions.
Definition: MainWindow.h:342
+
GpgFrontend::UI::TextEdit::TabCount
int TabCount() const
Definition: TextEdit.cpp:390
+
GpgFrontend::UI::MainWindow::select_all_act_
QAction * select_all_act_
Action to select whole text.
Definition: MainWindow.h:377
+
GpgFrontend::UI::MainWindow::crypt_menu_
QMenu * crypt_menu_
Submenu for crypt-operations.
Definition: MainWindow.h:326
+
GpgFrontend::UI::MainWindow::edit_menu_
QMenu * edit_menu_
Submenu for text-operations.
Definition: MainWindow.h:325
+
GpgFrontend::UI::TextEdit::SlotCloseTab
void SlotCloseTab()
Definition: TextEdit.cpp:236
+
GpgFrontend::UI::CommonUtils::SlotImportKeyFromClipboard
void SlotImportKeyFromClipboard(QWidget *parent)
Definition: UserInterfaceUtils.cpp:209
+
GpgFrontend::UI::MainWindow::decrypt_act_
QAction * decrypt_act_
Action to decrypt text.
Definition: MainWindow.h:361
+
GpgFrontend::UI::MainWindow::special_edit_tool_bar_
QToolBar * special_edit_tool_bar_
Toolbar holding special edit actions.
Definition: MainWindow.h:340
GpgFrontend::GpgFileOpera::EncryptFileSymmetric
static unsigned int EncryptFileSymmetric(const std::string &in_path, const std::string &out_path, GpgEncrResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)
运用对称加密算法加密文件
Definition: GpgFileOpera.cpp:226
GpgFrontend::GpgKey::IsRevoked
bool IsRevoked() const
Definition: GpgKey.cpp:144
GpgFrontend::UI::TextEdit::SlotNewTab
void SlotNewTab()
Definition: TextEdit.cpp:54
-
GpgFrontend::UI::MainWindow::SlotFileEncryptSign
void SlotFileEncryptSign()
Definition: MainWindowFileSlotFunction.cpp:536
-
GpgFrontend::UI::MainWindow::encrypt_act_
QAction * encrypt_act_
Action to encrypt text.
Definition: MainWindow.h:360
-
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &fpr)
Get the Key object.
Definition: GpgKeyGetter.cpp:38
+
GpgFrontend::UI::MainWindow::SlotFileEncryptSign
void SlotFileEncryptSign()
Definition: MainWindowFileSlotFunction.cpp:551
+
GpgFrontend::UI::MainWindow::encrypt_act_
QAction * encrypt_act_
Action to encrypt text.
Definition: MainWindow.h:358
GpgFrontend::UI::KeyUploadDialog
Definition: KeyUploadDialog.h:41
-
GpgFrontend::UI::show_verify_details
void show_verify_details(QWidget *parent, InfoBoardWidget *info_board, GpgError error, const GpgVerifyResult &verify_result)
Definition: UserInterfaceUtils.cpp:45
+
GpgFrontend::UI::show_verify_details
void show_verify_details(QWidget *parent, InfoBoardWidget *info_board, GpgError error, const GpgVerifyResult &verify_result)
Definition: UserInterfaceUtils.cpp:52
GpgFrontend::UI::MainWindow::slot_import_key_from_edit
void slot_import_key_from_edit()
Definition: MainWindowSlotUI.cpp:46
-
GpgFrontend::UI::MainWindow::translate_act_
QAction * translate_act_
Action to open about dialog.
Definition: MainWindow.h:387
-
GpgFrontend::UI::process_result_analyse
void process_result_analyse(TextEdit *edit, InfoBoardWidget *info_board, const GpgResultAnalyse &result_analyse)
Definition: UserInterfaceUtils.cpp:89
+
GpgFrontend::UI::MainWindow::translate_act_
QAction * translate_act_
Action to open about dialog.
Definition: MainWindow.h:385
+
GpgFrontend::UI::process_result_analyse
void process_result_analyse(TextEdit *edit, InfoBoardWidget *info_board, const GpgResultAnalyse &result_analyse)
Definition: UserInterfaceUtils.cpp:96
GpgFrontend::GpgKey::IsDisabled
bool IsDisabled() const
Definition: GpgKey.cpp:146
-
GpgFrontend::UI::MainWindow::SlotFileDecrypt
void SlotFileDecrypt()
Definition: MainWindowFileSlotFunction.cpp:283
-
GpgFrontend::UI::MainWindow::edit_
TextEdit * edit_
Tabwidget holding the edit-windows.
Definition: MainWindow.h:325
-
GpgFrontend::GpgKeyGetter::GetKeys
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:83
-
GpgFrontend::UI::MainWindow::open_settings_act_
QAction * open_settings_act_
Action to open settings dialog.
Definition: MainWindow.h:388
+
GpgFrontend::UI::MainWindow::SlotFileDecrypt
void SlotFileDecrypt()
Definition: MainWindowFileSlotFunction.cpp:291
+
GpgFrontend::UI::MainWindow::edit_
TextEdit * edit_
Tabwidget holding the edit-windows.
Definition: MainWindow.h:323
+
GpgFrontend::GpgKeyGetter::GetKeys
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:148
+
GpgFrontend::UI::MainWindow::open_settings_act_
QAction * open_settings_act_
Action to open settings dialog.
Definition: MainWindow.h:386
GpgFrontend::UI::MainWindow::slot_add_pgp_header
void slot_add_pgp_header()
Definition: MainWindowSlotUI.cpp:147
+
GpgFrontend::UI::SoftwareVersion::InfoVaild
bool InfoVaild() const
Definition: SoftwareVersion.h:57
GpgFrontend::GpgSignResultAnalyse
Definition: GpgSignResultAnalyse.h:40
-
GpgFrontend::UI::MainWindow::new_tab_act_
QAction * new_tab_act_
Action to create new tab.
Definition: MainWindow.h:350
-
GpgFrontend::UI::MainWindow::help_menu_
QMenu * help_menu_
Submenu for help-operations.
Definition: MainWindow.h:329
-
GpgFrontend::UI::MainWindow::save_act_
QAction * save_act_
Action to save file.
Definition: MainWindow.h:355
-
GpgFrontend::UI::CommonUtils::GetInstance
static CommonUtils * GetInstance()
Get the Instance object.
Definition: UserInterfaceUtils.cpp:124
+
GpgFrontend::UI::MainWindow::new_tab_act_
QAction * new_tab_act_
Action to create new tab.
Definition: MainWindow.h:348
+
GpgFrontend::UI::MainWindow::help_menu_
QMenu * help_menu_
Submenu for help-operations.
Definition: MainWindow.h:327
+
GpgFrontend::UI::MainWindow::save_act_
QAction * save_act_
Action to save file.
Definition: MainWindow.h:353
+
GpgFrontend::UI::CommonUtils::GetInstance
static CommonUtils * GetInstance()
Get the Instance object.
Definition: UserInterfaceUtils.cpp:143
GpgFrontend::GpgDecryptResultAnalyse
Definition: GpgDecryptResultAnalyse.h:41
-
GpgFrontend::UI::MainWindow::edit_tool_bar_
QToolBar * edit_tool_bar_
Toolbar holding edit actions.
Definition: MainWindow.h:340
-
GpgFrontend::UI::TextEdit::SlotSwitchTabDown
void SlotSwitchTabDown() const
Definition: TextEdit.cpp:481
-
GpgFrontend::UI::MainWindow::show_key_details_act_
QAction * show_key_details_act_
Action to open key-details dialog.
Definition: MainWindow.h:389
+
GpgFrontend::UI::MainWindow::edit_tool_bar_
QToolBar * edit_tool_bar_
Toolbar holding edit actions.
Definition: MainWindow.h:338
+
GpgFrontend::UI::TextEdit::SlotSwitchTabDown
void SlotSwitchTabDown() const
Definition: TextEdit.cpp:499
+
GpgFrontend::UI::MainWindow::show_key_details_act_
QAction * show_key_details_act_
Action to open key-details dialog.
Definition: MainWindow.h:387
GpgFrontend::GpgBasicOperator::Encrypt
gpg_error_t Encrypt(KeyListPtr keys, BypeArrayRef in_buffer, ByteArrayPtr &out_buffer, GpgEncrResult &result)
Call the interface provided by gpgme for encryption operation.
Definition: GpgBasicOperator.cpp:38
-
GpgFrontend::UI::MainWindow::close_tab_act_
QAction * close_tab_act_
Action to print.
Definition: MainWindow.h:358
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
-
GpgFrontend::UI::MainWindow::slot_decrypt
void slot_decrypt()
Definition: MainWindowSlotFunction.cpp:183
-
GpgFrontend::UI::TextEdit::CurTextPage
PlainTextEditorPage * CurTextPage() const
Definition: TextEdit.cpp:359
-
GpgFrontend::UI::MainWindow::open_key_management_act_
QAction * open_key_management_act_
Action to open key management.
Definition: MainWindow.h:374
-
GpgFrontend::UI::MainWindow::slot_encrypt_sign
void slot_encrypt_sign()
Definition: MainWindowSlotFunction.cpp:276
+
GpgFrontend::UI::MainWindow::close_tab_act_
QAction * close_tab_act_
Action to print.
Definition: MainWindow.h:356
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
+
GpgFrontend::UI::MainWindow::slot_decrypt
void slot_decrypt()
Definition: MainWindowSlotFunction.cpp:259
+
GpgFrontend::UI::TextEdit::CurTextPage
PlainTextEditorPage * CurTextPage() const
Definition: TextEdit.cpp:377
+
GpgFrontend::UI::MainWindow::open_key_management_act_
QAction * open_key_management_act_
Action to open key management.
Definition: MainWindow.h:372
+
GpgFrontend::UI::MainWindow::slot_encrypt_sign
void slot_encrypt_sign()
Definition: MainWindowSlotFunction.cpp:394
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::AppearanceTab::SetSettings
void SetSettings()
Set the Settings object.
Definition: SettingsAppearance.cpp:116
GpgFrontend::UI::AppearanceTab
Definition: SettingsAppearance.h:36
GpgFrontend::UI::AppearanceTab::AppearanceTab
AppearanceTab(QWidget *parent=nullptr)
Construct a new Appearance Tab object.
Definition: SettingsAppearance.cpp:36
diff --git a/docs/html/SettingsDialog_8h_source.html b/docs/html/SettingsDialog_8h_source.html index d5fce39e..58a2ec09 100644 --- a/docs/html/SettingsDialog_8h_source.html +++ b/docs/html/SettingsDialog_8h_source.html @@ -138,19 +138,19 @@ $(document).ready(function(){initNavTree('SettingsDialog_8h_source.html',''); in
111 #endif // __SETTINGSDIALOG_H__
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::NetworkTab
Definition: SettingsNetwork.h:37
-
GpgFrontend::UI::SettingsDialog::get_restart_needed
bool get_restart_needed() const
Get the Restart Needed object.
Definition: SettingsDialog.cpp:79
+
GpgFrontend::UI::SettingsDialog::get_restart_needed
bool get_restart_needed() const
Get the Restart Needed object.
Definition: SettingsDialog.cpp:87
GpgFrontend::GlobalSettingStation::SyncSettings
void SyncSettings() noexcept
sync the settings to the file
Definition: GlobalSettingStation.cpp:33
-
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::UI::SettingsDialog::slot_set_restart_needed
void slot_set_restart_needed(bool needed)
Definition: SettingsDialog.cpp:83
+
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::UI::SettingsDialog::slot_set_restart_needed
void slot_set_restart_needed(bool needed)
Definition: SettingsDialog.cpp:91
GpgFrontend::UI::KeyserverTab
Definition: SettingsKeyServer.h:41
GpgFrontend::UI::AppearanceTab
Definition: SettingsAppearance.h:36
GpgFrontend::UI::GeneralTab
Definition: SettingsGeneral.h:43
-
GpgFrontend::GlobalSettingStation::GetLocaleDir
std::filesystem::path GetLocaleDir() const
Get the Locale Dir object.
Definition: GlobalSettingStation.h:121
+
GpgFrontend::GlobalSettingStation::GetLocaleDir
std::filesystem::path GetLocaleDir() const
Get the Locale Dir object.
Definition: GlobalSettingStation.h:116
GpgFrontend::UI::SettingsDialog
Definition: SettingsDialog.h:46
GpgFrontend::UI::MainWindow::SlotSetRestartNeeded
void SlotSetRestartNeeded(bool needed)
Definition: MainWindowSlotUI.cpp:185
-
GpgFrontend::UI::SettingsDialog::ListLanguages
static QHash< QString, QString > ListLanguages()
Definition: SettingsDialog.cpp:107
+
GpgFrontend::UI::SettingsDialog::ListLanguages
static QHash< QString, QString > ListLanguages()
Definition: SettingsDialog.cpp:115
GpgFrontend::UI::SettingsDialog::SettingsDialog
SettingsDialog(QWidget *parent=nullptr)
Construct a new Settings Dialog object.
Definition: SettingsDialog.cpp:41
GpgFrontend::UI::GeneralTab::SignalRestartNeeded
void SignalRestartNeeded(bool needed)
GpgFrontend::UI::SettingsDialog::SignalRestartNeeded
void SignalRestartNeeded(bool needed)
diff --git a/docs/html/SettingsGeneral_8h_source.html b/docs/html/SettingsGeneral_8h_source.html index 52a4d26f..eab8b3bb 100644 --- a/docs/html/SettingsGeneral_8h_source.html +++ b/docs/html/SettingsGeneral_8h_source.html @@ -136,11 +136,11 @@ $(document).ready(function(){initNavTree('SettingsGeneral_8h_source.html',''); i
GpgFrontend::UI::GeneralTab::GeneralTab
GeneralTab(QWidget *parent=nullptr)
Construct a new General Tab object.
Definition: SettingsGeneral.cpp:40
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
GpgFrontend::UI::GeneralTab
Definition: SettingsGeneral.h:43
-
GpgFrontend::UI::SettingsDialog::ListLanguages
static QHash< QString, QString > ListLanguages()
Definition: SettingsDialog.cpp:107
+
GpgFrontend::UI::SettingsDialog::ListLanguages
static QHash< QString, QString > ListLanguages()
Definition: SettingsDialog.cpp:115
GpgFrontend::UI::KeyList
Definition: KeyList.h:152
GpgFrontend::UI::GeneralTab::SignalRestartNeeded
void SignalRestartNeeded(bool needed)
GpgFrontend::UI::GeneralTab::SetSettings
void SetSettings()
Set the Settings object.
Definition: SettingsGeneral.cpp:81
diff --git a/docs/html/SettingsKeyServer_8h_source.html b/docs/html/SettingsKeyServer_8h_source.html index 5f6a9594..d0599520 100644 --- a/docs/html/SettingsKeyServer_8h_source.html +++ b/docs/html/SettingsKeyServer_8h_source.html @@ -134,11 +134,11 @@ $(document).ready(function(){initNavTree('SettingsKeyServer_8h_source.html','');
GpgFrontend::UI::KeyserverTab::SignalRestartNeeded
void SignalRestartNeeded(bool needed)
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::UI::KeyserverTab::contextMenuEvent
void contextMenuEvent(QContextMenuEvent *event) override
Definition: SettingsKeyServer.cpp:291
GpgFrontend::UI::KeyserverTab
Definition: SettingsKeyServer.h:41
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
GpgFrontend::UI::SettingsObject::Check
nlohmann::json & Check(const std::string &key, const nlohmann::json &default_value)
Definition: SettingsObject.cpp:31
GpgFrontend::UI::SettingsObject
The SettingsObject class This class is used to store settings for the application securely.
Definition: SettingsObject.h:43
GpgFrontend::UI::ListedKeyServerTestThread
Definition: ListedKeyServerTestThread.h:38
diff --git a/docs/html/SettingsNetwork_8h_source.html b/docs/html/SettingsNetwork_8h_source.html index e0a68d73..56d02bc6 100644 --- a/docs/html/SettingsNetwork_8h_source.html +++ b/docs/html/SettingsNetwork_8h_source.html @@ -124,11 +124,11 @@ $(document).ready(function(){initNavTree('SettingsNetwork_8h_source.html',''); i
94 #endif // GPGFRONTEND_SETTINGSNETWORK_H
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::NetworkTab
Definition: SettingsNetwork.h:37
-
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::UI::NetworkTab::switch_ui_proxy_type
void switch_ui_proxy_type(const QString &type_text)
Definition: SettingsNetwork.cpp:317
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
GpgFrontend::UI::NetworkTab::SetSettings
void SetSettings()
Set the Settings object.
Definition: SettingsNetwork.cpp:72
GpgFrontend::UI::NetworkTab::NetworkTab
NetworkTab(QWidget *parent=nullptr)
Construct a new Network Tab object.
Definition: SettingsNetwork.cpp:35
GpgFrontend::UI::NetworkTab::switch_ui_enabled
void switch_ui_enabled(bool enabled)
Definition: SettingsNetwork.cpp:307
diff --git a/docs/html/SettingsObject_8h_source.html b/docs/html/SettingsObject_8h_source.html index 6bb9162a..5fcf463d 100644 --- a/docs/html/SettingsObject_8h_source.html +++ b/docs/html/SettingsObject_8h_source.html @@ -116,8 +116,8 @@ $(document).ready(function(){initNavTree('SettingsObject_8h_source.html',''); in
87 #endif // GPGFRONTEND_SETTINGSOBJECT_H
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::SingletonFunctionObject< DataObjectOperator >::GetInstance
static DataObjectOperator & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::SingletonFunctionObject< DataObjectOperator >::GetInstance
static DataObjectOperator & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::UI::SettingsObject::~SettingsObject
~SettingsObject()
Destroy the Settings Object object.
Definition: SettingsObject.cpp:100
GpgFrontend::UI::SettingsObject::Check
nlohmann::json & Check(const std::string &key, const nlohmann::json &default_value)
Definition: SettingsObject.cpp:31
GpgFrontend::UI::SettingsObject::SettingsObject
SettingsObject(std::string settings_name)
Construct a new Settings Object object.
Definition: SettingsObject.cpp:76
diff --git a/docs/html/SignalStation_8h_source.html b/docs/html/SignalStation_8h_source.html index 2ca483c4..4d90660e 100644 --- a/docs/html/SignalStation_8h_source.html +++ b/docs/html/SignalStation_8h_source.html @@ -105,22 +105,24 @@ $(document).ready(function(){initNavTree('SignalStation_8h_source.html',''); ini
53  signals:
58  void SignalKeyDatabaseRefresh();
59 
-
66  void SignalRefreshInfoBoard(const QString& text,
-
67  InfoBoardStatus verify_label_status);
-
68 
-
75  void SignalRefreshStatusBar(const QString& message, int timeout);
-
76 };
-
77 
-
78 } // namespace GpgFrontend::UI
-
79 
-
80 #endif // GPGFRONTEND_SIGNALSTATION_H
+
64  void SignalKeyDatabaseRefreshDone();
+
65 
+
72  void SignalRefreshInfoBoard(const QString& text,
+
73  InfoBoardStatus verify_label_status);
+
74 
+
81  void SignalRefreshStatusBar(const QString& message, int timeout);
+
82 };
+
83 
+
84 } // namespace GpgFrontend::UI
+
85 
+
86 #endif // GPGFRONTEND_SIGNALSTATION_H
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::InfoBoardStatus
InfoBoardStatus
Definition: InfoBoardWidget.h:43
GpgFrontend::UI::SignalStation::SignalRefreshInfoBoard
void SignalRefreshInfoBoard(const QString &text, InfoBoardStatus verify_label_status)
GpgFrontend::UI::SignalStation
Definition: SignalStation.h:41
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
GpgFrontend::UI::SignalStation::SignalRefreshStatusBar
void SignalRefreshStatusBar(const QString &message, int timeout)
-
GpgFrontend::GlobalSettingStation::SyncSettings
void SyncSettings() noexcept
sync the settings to the file
Definition: GlobalSettingStation.cpp:33
SignatureDetailsDialog
Definition: SignatureDetailsDialog.h:33
-
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
GpgFrontend::CtxCheckThread
Definition: CtxCheckThread.h:37
-
GpgFrontend::GlobalSettingStation::GetLocaleDir
std::filesystem::path GetLocaleDir() const
Get the Locale Dir object.
Definition: GlobalSettingStation.h:121
-
GpgFrontend::GlobalSettingStation::GetResourceDir
std::filesystem::path GetResourceDir() const
Get the Resource Dir object.
Definition: GlobalSettingStation.h:130
+
GpgFrontend::UI::RunGpgFrontendUI
int RunGpgFrontendUI(QApplication *app)
run main window
Definition: GpgFrontendUIInit.cpp:122
+
GpgFrontend::InitLoggingSystem
void InitLoggingSystem()
setup logging system and do proper initialization
Definition: GpgCoreInit.cpp:44
+
GpgFrontend::UI::InitGpgFrontendUI
void InitGpgFrontendUI(QApplication *app)
init the UI library
Definition: GpgFrontendUIInit.cpp:50
+
GpgFrontend::UI::GpgFrontendApplication::GetInstance
static GpgFrontendApplication * GetInstance(int argc=0, char *argv[]=nullptr, bool new_instance=false)
Get the GpgFrontend Application object.
Definition: GpgFrontendApplication.cpp:56
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::UI::KeyList::AddListGroupTab
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:95
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::UI::KeyList::AddListGroupTab
void AddListGroupTab(const QString &name, KeyListRow::KeyType selectType=KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::InfoType infoType=KeyListColumn::ALL, const std::function< bool(const GpgKey &)> &filter=[](const GpgKey &) -> bool { return true;})
Definition: KeyList.cpp:99
GpgFrontend::UI::SignersPicker::GetCheckedSigners
GpgFrontend::KeyIdArgsListPtr GetCheckedSigners()
Get the Checked Signers object.
Definition: SignersPicker.cpp:70
-
GpgFrontend::UI::KeyList::GetPrivateChecked
KeyIdArgsListPtr GetPrivateChecked()
Get the Private Checked object.
Definition: KeyList.cpp:210
+
GpgFrontend::UI::KeyList::GetPrivateChecked
KeyIdArgsListPtr GetPrivateChecked()
Get the Private Checked object.
Definition: KeyList.cpp:209
GpgFrontend::UI::SignersPicker
Definition: SignersPicker.h:42
GpgFrontend::GpgKey::IsHasActualSigningCapability
bool IsHasActualSigningCapability() const
Definition: GpgKey.cpp:174
GpgFrontend::UI::KeyList
Definition: KeyList.h:152
GpgFrontend::UI::SignersPicker::SignersPicker
SignersPicker(QWidget *parent=nullptr)
Construct a new Signers Picker object.
Definition: SignersPicker.cpp:35
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::SoftwareVersion
Definition: SoftwareVersion.h:39
-
GpgFrontend::UI::SoftwareVersion::VersionWithDrawn
bool VersionWithDrawn() const
Definition: SoftwareVersion.h:68
-
GpgFrontend::UI::SoftwareVersion::CurrentVersionReleased
bool CurrentVersionReleased() const
Definition: SoftwareVersion.h:79
-
GpgFrontend::UI::SoftwareVersion::NeedUpgrade
bool NeedUpgrade() const
Definition: SoftwareVersion.h:57
+
GpgFrontend::UI::SoftwareVersion::VersionWithDrawn
bool VersionWithDrawn() const
Definition: SoftwareVersion.h:76
+
GpgFrontend::UI::SoftwareVersion::CurrentVersionReleased
bool CurrentVersionReleased() const
Definition: SoftwareVersion.h:87
+
GpgFrontend::UI::SoftwareVersion::NeedUpgrade
bool NeedUpgrade() const
Definition: SoftwareVersion.h:65
+
GpgFrontend::UI::SoftwareVersion::InfoVaild
bool InfoVaild() const
Definition: SoftwareVersion.h:57
GpgFrontend::UI::WaitingDialog
Definition: WaitingDialog.h:40
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::UI::SubkeyGenerateDialog::slot_encryption_box_changed
void slot_encryption_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:301
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::UI::SubkeyGenerateDialog::slot_encryption_box_changed
void slot_encryption_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:304
GpgFrontend::UI::SubkeyGenerateDialog::key_size_spin_box_
QSpinBox * key_size_spin_box_
Spinbox for the keys size (in bit)
Definition: SubkeyGenerateDialog.h:67
-
GpgFrontend::UI::SubkeyGenerateDialog::refresh_widgets_state
void refresh_widgets_state()
Definition: SubkeyGenerateDialog.cpp:186
+
GpgFrontend::UI::SubkeyGenerateDialog::refresh_widgets_state
void refresh_widgets_state()
Definition: SubkeyGenerateDialog.cpp:189
GpgFrontend::UI::SubkeyGenerateDialog::SubkeyGenerateDialog
SubkeyGenerateDialog(const KeyId &key_id, QWidget *parent)
Construct a new Subkey Generate Dialog object.
Definition: SubkeyGenerateDialog.cpp:37
GpgFrontend::UI::SubkeyGenerateDialog::expire_check_box_
QCheckBox * expire_check_box_
Checkbox, if key should expire.
Definition: SubkeyGenerateDialog.h:70
-
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::UI::SubkeyGenerateDialog::create_basic_info_group_box
QGroupBox * create_basic_info_group_box()
Create a basic info group box object.
Definition: SubkeyGenerateDialog.cpp:116
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:42
-
GpgFrontend::UI::SubkeyGenerateDialog::slot_expire_box_changed
void slot_expire_box_changed()
Definition: SubkeyGenerateDialog.cpp:178
+
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::UI::SubkeyGenerateDialog::create_basic_info_group_box
QGroupBox * create_basic_info_group_box()
Create a basic info group box object.
Definition: SubkeyGenerateDialog.cpp:117
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
+
GpgFrontend::GpgKeyGetter
Definition: GpgKeyGetter.h:45
+
GpgFrontend::UI::SubkeyGenerateDialog::slot_expire_box_changed
void slot_expire_box_changed()
Definition: SubkeyGenerateDialog.cpp:181
GpgFrontend::GpgKeyOpera::GenerateSubkey
GpgFrontend::GpgError GenerateSubkey(const GpgKey &key, const std::unique_ptr< GenKeyInfo > &params)
Definition: GpgKeyOpera.cpp:245
GpgFrontend::UI::SubkeyGenerateDialog::button_box_
QDialogButtonBox * button_box_
Box for standard buttons.
Definition: SubkeyGenerateDialog.h:65
GpgFrontend::UI::SubkeyGenerateDialog::key_usage_check_boxes_
std::vector< QCheckBox * > key_usage_check_boxes_
ENCR, SIGN, CERT, AUTH.
Definition: SubkeyGenerateDialog.h:72
-
GpgFrontend::UI::SubkeyGenerateDialog::create_key_usage_group_box
QGroupBox * create_key_usage_group_box()
Create a key usage group box object.
Definition: SubkeyGenerateDialog.cpp:83
-
GpgFrontend::UI::SubkeyGenerateDialog::slot_certification_box_changed
void slot_certification_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:317
+
GpgFrontend::UI::SubkeyGenerateDialog::create_key_usage_group_box
QGroupBox * create_key_usage_group_box()
Create a key usage group box object.
Definition: SubkeyGenerateDialog.cpp:84
+
GpgFrontend::UI::SubkeyGenerateDialog::slot_certification_box_changed
void slot_certification_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:320
GpgFrontend::UI::SubkeyGenerateDialog::error_label_
QLabel * error_label_
Label containing error message.
Definition: SubkeyGenerateDialog.h:66
-
GpgFrontend::UI::SubkeyGenerateDialog::slot_signing_box_changed
void slot_signing_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:309
+
GpgFrontend::UI::SubkeyGenerateDialog::slot_signing_box_changed
void slot_signing_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:312
GpgFrontend::UI::SubkeyGenerateDialog
Definition: SubkeyGenerateDialog.h:39
-
GpgFrontend::UI::SubkeyGenerateDialog::slot_activated_key_type
void slot_activated_key_type(int index)
Definition: SubkeyGenerateDialog.cpp:333
-
GpgFrontend::UI::SubkeyGenerateDialog::slot_key_gen_accept
void slot_key_gen_accept()
Definition: SubkeyGenerateDialog.cpp:235
-
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:64
+
GpgFrontend::UI::SubkeyGenerateDialog::slot_activated_key_type
void slot_activated_key_type(int index)
Definition: SubkeyGenerateDialog.cpp:336
+
GpgFrontend::UI::SubkeyGenerateDialog::slot_key_gen_accept
void slot_key_gen_accept()
Definition: SubkeyGenerateDialog.cpp:238
+
GpgFrontend::check_gpg_error_2_err_code
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:63
GpgFrontend::UI::SubkeyGenerateDialog::key_type_combo_box_
QComboBox * key_type_combo_box_
Combobox for Key tpe.
Definition: SubkeyGenerateDialog.h:68
-
GpgFrontend::UI::SubkeyGenerateDialog::slot_authentication_box_changed
void slot_authentication_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:325
+
GpgFrontend::UI::SubkeyGenerateDialog::slot_authentication_box_changed
void slot_authentication_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:328
GpgFrontend::GenKeyInfo::GetSupportedKeyAlgo
static const std::vector< std::string > & GetSupportedKeyAlgo()
Get the Supported Key Algo object.
Definition: GpgGenKeyInfo.cpp:200
GpgFrontend::UI::SubkeyGenerateDialog::date_edit_
QDateTimeEdit * date_edit_
Date edit for expiration date.
Definition: SubkeyGenerateDialog.h:69
-
GpgFrontend::UI::SubkeyGenerateDialog::set_signal_slot
void set_signal_slot()
Set the signal slot object.
Definition: SubkeyGenerateDialog.cpp:158
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::UI::SubkeyGenerateDialog::set_signal_slot
void set_signal_slot()
Set the signal slot object.
Definition: SubkeyGenerateDialog.cpp:159
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::GpgTOFUInfo
Definition: GpgTOFUInfo.h:39
GpgFrontend::UI::TOFUInfoPage
Definition: TOFUInfoPage.h:39
GpgFrontend::UI::TOFUInfoPage::TOFUInfoPage
TOFUInfoPage(const GpgTOFUInfo &tofu_info, QWidget *parent=nullptr)
Construct a new TOFUInfoPage object.
Definition: TOFUInfoPage.cpp:29
diff --git a/docs/html/TaskRunnerGetter_8h_source.html b/docs/html/TaskRunnerGetter_8h_source.html new file mode 100644 index 00000000..68c05cd4 --- /dev/null +++ b/docs/html/TaskRunnerGetter_8h_source.html @@ -0,0 +1,139 @@ + + + + + + + +GpgFrontend Project: src/core/thread/TaskRunnerGetter.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
GpgFrontend Project +
+
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TaskRunnerGetter.h
+
+
+
1 
+
27 #ifndef GPGFRONTEND_TASKRUNNERGETTER_H
+
28 #define GPGFRONTEND_TASKRUNNERGETTER_H
+
29 
+
30 #include "core/GpgFrontendCore.h"
+
31 #include "core/GpgFunctionObject.h"
+
32 #include "core/thread/TaskRunner.h"
+
33 
+
34 namespace GpgFrontend::Thread {
+
35 
+
36 class GPGFRONTEND_CORE_EXPORT TaskRunnerGetter
+
37  : public GpgFrontend::SingletonFunctionObject<TaskRunnerGetter> {
+
38  public:
+
39  enum TaskRunnerType {
+
40  kTaskRunnerType_Default,
+
41  kTaskRunnerType_GPG,
+
42  kTaskRunnerType_IO,
+
43  kTaskRunnerType_Network,
+
44  };
+
45 
+ +
47 
+
48  TaskRunner *GetTaskRunner(
+
49  TaskRunnerType runner_type = kTaskRunnerType_Default);
+
50 
+
51  private:
+
52  std::map<TaskRunnerType, TaskRunner *> task_runners_;
+
53 };
+
54 
+
55 } // namespace GpgFrontend::Thread
+
56 
+
57 #endif // GPGFRONTEND_TASKRUNNERGETTER_H
+
+
+
GpgFrontend::SingletonFunctionObject
Definition: GpgFunctionObject.h:148
+
GpgFrontend::Thread::TaskRunner
Definition: TaskRunner.h:39
+
GpgFrontend::Thread::TaskRunnerGetter
Definition: TaskRunnerGetter.h:36
+
GpgFrontend::Thread
Definition: CtxCheckTask.h:33
+
GpgFrontend::SingletonFunctionObject::GetDefaultChannel
static int GetDefaultChannel()
Get the Default Channel object.
Definition: GpgFunctionObject.h:232
+
GpgFrontend::Thread::TaskRunnerGetter::TaskRunnerGetter
TaskRunnerGetter(int channel=SingletonFunctionObject::GetDefaultChannel())
Definition: TaskRunnerGetter.cpp:29
+ + + + diff --git a/docs/html/TaskRunner_8h_source.html b/docs/html/TaskRunner_8h_source.html new file mode 100644 index 00000000..886bd232 --- /dev/null +++ b/docs/html/TaskRunner_8h_source.html @@ -0,0 +1,145 @@ + + + + + + + +GpgFrontend Project: src/core/thread/TaskRunner.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
GpgFrontend Project +
+
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
TaskRunner.h
+
+
+
1 
+
27 #ifndef GPGFRONTEND_TASKRUNNER_H
+
28 #define GPGFRONTEND_TASKRUNNER_H
+
29 
+
30 #include <mutex>
+
31 #include <queue>
+
32 
+
33 #include "core/GpgFrontendCore.h"
+
34 
+
35 namespace GpgFrontend::Thread {
+
36 
+
37 class Task;
+
38 
+
39 class GPGFRONTEND_CORE_EXPORT TaskRunner : public QThread {
+
40  Q_OBJECT
+
41  public:
+
46  TaskRunner();
+
47 
+
52  virtual ~TaskRunner() override;
+
53 
+
58  void run() override;
+
59 
+
60  public slots:
+
61 
+
67  void PostTask(Task* task);
+
68 
+
69  private:
+
70  std::queue<Task*> tasks;
+
71  std::map<std::string, Task*> pending_tasks_;
+
72  std::mutex tasks_mutex_;
+
73 };
+
74 } // namespace GpgFrontend::Thread
+
75 
+
76 #endif // GPGFRONTEND_TASKRUNNER_H
+
+
+
GpgFrontend::Thread::TaskRunner
Definition: TaskRunner.h:39
+
GpgFrontend::Thread::TaskRunner::PostTask
void PostTask(Task *task)
Definition: TaskRunner.cpp:38
+
GpgFrontend::Thread
Definition: CtxCheckTask.h:33
+
GpgFrontend::Thread::TaskRunner::TaskRunner
TaskRunner()
Construct a new Task Runner object.
+
GpgFrontend::Thread::TaskRunner::tasks
std::queue< Task * > tasks
The task queue.
Definition: TaskRunner.h:70
+
GpgFrontend::Thread::TaskRunner::tasks_mutex_
std::mutex tasks_mutex_
The task queue mutex.
Definition: TaskRunner.h:72
+
GpgFrontend::Thread::TaskRunner::pending_tasks_
std::map< std::string, Task * > pending_tasks_
The pending tasks.
Definition: TaskRunner.h:71
+
GpgFrontend::Thread::Task
Definition: Task.h:45
+
GpgFrontend::Thread::Task::GetUUID
std::string GetUUID() const
Definition: Task.cpp:71
+
GpgFrontend::Thread::TaskRunner::~TaskRunner
virtual ~TaskRunner() override
Destroy the Task Runner object.
+ + + + diff --git a/docs/html/Task_8h_source.html b/docs/html/Task_8h_source.html new file mode 100644 index 00000000..f9395ba1 --- /dev/null +++ b/docs/html/Task_8h_source.html @@ -0,0 +1,256 @@ + + + + + + + +GpgFrontend Project: src/core/thread/Task.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
GpgFrontend Project +
+
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Task.h
+
+
+
1 
+
29 #ifndef GPGFRONTEND_TASK_H
+
30 #define GPGFRONTEND_TASK_H
+
31 
+
32 #include <functional>
+
33 #include <memory>
+
34 #include <stack>
+
35 #include <string>
+
36 #include <type_traits>
+
37 #include <utility>
+
38 
+
39 #include "core/GpgFrontendCore.h"
+
40 
+
41 namespace GpgFrontend::Thread {
+
42 
+
43 class TaskRunner;
+
44 
+
45 class GPGFRONTEND_CORE_EXPORT Task : public QObject, public QRunnable {
+
46  Q_OBJECT
+
47  public:
+
48  class DataObject;
+
49  using DataObjectPtr = std::shared_ptr<DataObject>;
+
50  using TaskRunnable = std::function<int(DataObjectPtr)>;
+
51  using TaskCallback = std::function<void(int, DataObjectPtr)>;
+
52 
+
53  friend class TaskRunner;
+
54 
+
59  class GPGFRONTEND_CORE_EXPORT DataObject {
+
60  public:
+
61  struct Destructor {
+
62  const void *p_obj;
+
63  void (*destroy)(const void *);
+
64  };
+
65 
+
71  size_t GetObjectSize();
+
72 
+
79  template <typename T>
+
80  void AppendObject(T &&obj) {
+
81  DLOG(TRACE) << "called:" << this;
+
82  auto *obj_dstr = this->get_heap_ptr(sizeof(T));
+
83  auto *ptr_heap = new ((void *)obj_dstr->p_obj) T(std::move(obj));
+
84  if (std::is_class_v<T>) {
+
85  auto destructor = [](const void *x) {
+
86  static_cast<const T *>(x)->~T();
+
87  };
+
88  obj_dstr->destroy = destructor;
+
89  } else {
+
90  obj_dstr->destroy = nullptr;
+
91  }
+
92  data_objects_.push(std::move(obj_dstr));
+
93  }
+
94 
+
101  template <typename T>
+
102  void AppendObject(T *obj) {
+
103  DLOG(TRACE) << "called:" << this;
+
104  auto *obj_dstr = this->get_heap_ptr(sizeof(T));
+
105  auto *ptr_heap = new ((void *)obj_dstr->p_obj) T(std::move(*obj));
+
106  if (std::is_class_v<T>) {
+
107  LOG(TRACE) << "is class";
+
108  auto destructor = [](const void *x) {
+
109  static_cast<const T *>(x)->~T();
+
110  };
+
111  obj_dstr->destroy = destructor;
+
112  } else {
+
113  obj_dstr->destroy = nullptr;
+
114  }
+
115  data_objects_.push(std::move(obj_dstr));
+
116  }
+
117 
+
124  template <typename T>
+
125  T PopObject() {
+
126  DLOG(TRACE) << "called:" << this;
+
127  if (data_objects_.empty()) throw std::runtime_error("No object to pop");
+
128  auto *obj_dstr = data_objects_.top();
+
129  auto *heap_ptr = (T *)obj_dstr->p_obj;
+
130  auto obj = std::move(*(T *)(heap_ptr));
+
131  this->free_heap_ptr(obj_dstr);
+
132  data_objects_.pop();
+
133  return obj;
+
134  }
+
135 
+
140  ~DataObject();
+
141 
+
142  private:
+
143  std::stack<Destructor *> data_objects_;
+
144 
+
151  Destructor *get_heap_ptr(size_t bytes_size);
+
152 
+
158  void free_heap_ptr(Destructor *);
+
159  };
+
160 
+
165  Task();
+
166 
+
172  Task(TaskCallback callback, DataObjectPtr data_object = nullptr);
+
173 
+
179  Task(
+
180  TaskRunnable runnable,
+
181  TaskCallback callback = [](int, std::shared_ptr<DataObject>) {},
+
182  DataObjectPtr data = nullptr);
+
183 
+
188  virtual ~Task() override;
+
189 
+
194  virtual void Run();
+
195 
+
201  std::string GetUUID() const;
+
202 
+
203  signals:
+
208  void SignalTaskFinished();
+
209 
+
214  void SignalTaskPostFinishedDone();
+
215 
+
216  protected:
+
222  void SetFinishAfterRun(bool finish_after_run);
+
223 
+
229  void SetRTN(int rtn);
+
230 
+
231  private:
+
232  const std::string uuid_;
+
233  TaskCallback callback_;
+
234  TaskRunnable runnable_;
+
235  bool finish_after_run_ = true;
+
236  int rtn_ = 0;
+
237  QThread *callback_thread_ = nullptr;
+
238  DataObjectPtr data_object_ = nullptr;
+
239 
+
244  void before_finish_task();
+
245 
+
250  void init();
+
251 
+
256  virtual void run() override;
+
257 
+
263  static std::string generate_uuid();
+
264 };
+
265 } // namespace GpgFrontend::Thread
+
266 
+
267 #endif // GPGFRONTEND_TASK_H
+
+
+
GpgFrontend::Thread::TaskRunner
Definition: TaskRunner.h:39
+
GpgFrontend::Thread::Task::DataObject::free_heap_ptr
void free_heap_ptr(Destructor *)
Definition: Task.cpp:141
+
GpgFrontend::Thread::Task::SetRTN
void SetRTN(int rtn)
Definition: Task.cpp:77
+
GpgFrontend::Thread::Task::DataObject::get_heap_ptr
Destructor * get_heap_ptr(size_t bytes_size)
Get the heap ptr object.
Definition: Task.cpp:121
+
GpgFrontend::Thread::Task::DataObject::~DataObject
~DataObject()
Destroy the Data Object object.
Definition: Task.cpp:127
+
GpgFrontend::Thread::Task::~Task
virtual ~Task() override
Destroy the Task object.
Definition: Task.cpp:67
+
GpgFrontend::Thread::Task::DataObject::PopObject
T PopObject()
Definition: Task.h:125
+
GpgFrontend::Thread::Task::Task
Task()
Construct a new Task object.
Definition: Task.cpp:39
+
GpgFrontend::Thread::Task::DataObject::AppendObject
void AppendObject(T &&obj)
Definition: Task.h:80
+
GpgFrontend::Thread
Definition: CtxCheckTask.h:33
+
GpgFrontend::Thread::Task::DataObject::AppendObject
void AppendObject(T *obj)
Definition: Task.h:102
+
GpgFrontend::Thread::Task::Run
virtual void Run()
Run - run the task.
Definition: Task.cpp:110
+
GpgFrontend::Thread::Task::generate_uuid
static std::string generate_uuid()
Definition: Task.cpp:151
+
GpgFrontend::Thread::Task::DataObject::GetObjectSize
size_t GetObjectSize()
Get the Objects Size.
Definition: Task.cpp:137
+
GpgFrontend::Thread::Task
Definition: Task.h:45
+
GpgFrontend::Thread::Task::SetFinishAfterRun
void SetFinishAfterRun(bool finish_after_run)
Set the Finish After Run object.
Definition: Task.cpp:73
+
GpgFrontend::Thread::Task::GetUUID
std::string GetUUID() const
Definition: Task.cpp:71
+
GpgFrontend::Thread::Task::DataObject::Destructor
Definition: Task.h:61
+
GpgFrontend::Thread::Task::DataObject
DataObject to be passed to the callback function.
Definition: Task.h:59
+ + + + diff --git a/docs/html/TextEdit_8h_source.html b/docs/html/TextEdit_8h_source.html index 60caa45b..043696d9 100644 --- a/docs/html/TextEdit_8h_source.html +++ b/docs/html/TextEdit_8h_source.html @@ -188,52 +188,54 @@ $(document).ready(function(){initNavTree('TextEdit_8h_source.html',''); initResi
282 #endif // __TEXTEDIT_H__
-
GpgFrontend::UI::PlainTextEditorPage::SetFilePath
void SetFilePath(const QString &filePath)
Definition: PlainTextEditorPage.cpp:78
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::UI::TextEdit::SlotCopy
void SlotCopy() const
Definition: TextEdit.cpp:519
-
GpgFrontend::UI::PlainTextEditorPage::GetFilePath
const QString & GetFilePath() const
Definition: PlainTextEditorPage.cpp:72
-
GpgFrontend::UI::TextEdit::CurFilePage
FilePage * CurFilePage() const
Definition: TextEdit.cpp:363
+
GpgFrontend::UI::PlainTextEditorPage::SetFilePath
void SetFilePath(const QString &filePath)
Definition: PlainTextEditorPage.cpp:103
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::UI::TextEdit::SlotCopy
void SlotCopy() const
Definition: TextEdit.cpp:537
+
GpgFrontend::UI::PlainTextEditorPage::GetFilePath
const QString & GetFilePath() const
Definition: PlainTextEditorPage.cpp:77
+
GpgFrontend::UI::TextEdit::CurFilePage
FilePage * CurFilePage() const
Definition: TextEdit.cpp:381
GpgFrontend::UI::TextEdit::slotNewHelpTab
void slotNewHelpTab(const QString &title, const QString &path) const
Definition: TextEdit.cpp:66
GpgFrontend::UI::FilePage::SignalPathChanged
void SignalPathChanged(const QString &path)
-
GpgFrontend::UI::TextEdit::LoadFile
void LoadFile(const QString &fileName)
Definition: TextEdit.cpp:415
-
GpgFrontend::UI::TextEdit::MaybeSaveAnyTab
bool MaybeSaveAnyTab()
Definition: TextEdit.cpp:304
+
GpgFrontend::UI::TextEdit::LoadFile
void LoadFile(const QString &fileName)
Definition: TextEdit.cpp:433
+
GpgFrontend::UI::TextEdit::MaybeSaveAnyTab
bool MaybeSaveAnyTab()
Definition: TextEdit.cpp:322
GpgFrontend::UI::TextEdit::SlotOpenFile
void SlotOpenFile(QString &path)
Definition: TextEdit.cpp:82
GpgFrontend::UI::TextEdit::SlotOpen
void SlotOpen()
Definition: TextEdit.cpp:110
GpgFrontend::UI::TextEdit::count_page_
int count_page_
int containing the number of added tabs
Definition: TextEdit.h:211
-
GpgFrontend::UI::TextEdit::SlotCut
void SlotCut() const
Definition: TextEdit.cpp:511
-
GpgFrontend::UI::TextEdit::SlotCurPageTextEdit
PlainTextEditorPage * SlotCurPageTextEdit() const
Definition: TextEdit.cpp:374
-
GpgFrontend::UI::TextEdit::SlotRedo
void SlotRedo() const
redo last change in current text page
Definition: TextEdit.cpp:545
-
GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView
FilePage * SlotCurPageFileTreeView() const
Definition: TextEdit.cpp:380
+
GpgFrontend::UI::TextEdit::SlotCut
void SlotCut() const
Definition: TextEdit.cpp:529
+
GpgFrontend::UI::TextEdit::SlotCurPageTextEdit
PlainTextEditorPage * SlotCurPageTextEdit() const
Definition: TextEdit.cpp:392
+
GpgFrontend::UI::TextEdit::SlotRedo
void SlotRedo() const
redo last change in current text page
Definition: TextEdit.cpp:563
+
GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView
FilePage * SlotCurPageFileTreeView() const
Definition: TextEdit.cpp:398
GpgFrontend::UI::TextEdit
TextEdit class.
Definition: TextEdit.h:41
-
GpgFrontend::UI::PlainTextEditorPage
Class for handling a single tab of the tabwidget.
Definition: PlainTextEditorPage.h:43
+
GpgFrontend::UI::PlainTextEditorPage
Class for handling a single tab of the tabwidget.
Definition: PlainTextEditorPage.h:45
GpgFrontend::UI::TextEdit::SlotNewFileTab
void SlotNewFileTab() const
Definition: TextEdit.cpp:72
-
GpgFrontend::UI::TextEdit::SlotSelectAll
void SlotSelectAll() const
select all in current text page
Definition: TextEdit.cpp:573
+
GpgFrontend::UI::TextEdit::SlotSelectAll
void SlotSelectAll() const
select all in current text page
Definition: TextEdit.cpp:591
GpgFrontend::UI::QuitDialog::IsDiscarded
bool IsDiscarded() const
Definition: QuitDialog.cpp:133
-
GpgFrontend::UI::TextEdit::SlotFillTextEditWithText
void SlotFillTextEditWithText(const QString &text) const
Definition: TextEdit.cpp:407
-
GpgFrontend::UI::TextEdit::SlotQuote
void SlotQuote() const
Definition: TextEdit.cpp:385
-
GpgFrontend::UI::TextEdit::SlotPaste
void SlotPaste() const
Definition: TextEdit.cpp:529
+
GpgFrontend::UI::TextEdit::SlotFillTextEditWithText
void SlotFillTextEditWithText(const QString &text) const
Definition: TextEdit.cpp:425
+
GpgFrontend::UI::TextEdit::SlotQuote
void SlotQuote() const
Definition: TextEdit.cpp:403
+
GpgFrontend::UI::TextEdit::SlotPaste
void SlotPaste() const
Definition: TextEdit.cpp:547
GpgFrontend::UI::HelpPage
Definition: HelpPage.h:40
-
GpgFrontend::UI::TextEdit::UnsavedDocuments
QHash< int, QString > UnsavedDocuments() const
Definition: TextEdit.cpp:492
-
GpgFrontend::UI::TextEdit::SlotSaveAs
bool SlotSaveAs()
Definition: TextEdit.cpp:199
-
GpgFrontend::UI::TextEdit::SlotShowModified
void SlotShowModified() const
Definition: TextEdit.cpp:462
-
GpgFrontend::UI::TextEdit::SlotSwitchTabUp
void SlotSwitchTabUp() const
Definition: TextEdit.cpp:474
-
GpgFrontend::UI::TextEdit::SlotPrint
void SlotPrint()
Definition: TextEdit.cpp:440
-
GpgFrontend::UI::TextEdit::slot_remove_tab
void slot_remove_tab(int index)
Definition: TextEdit.cpp:223
-
GpgFrontend::UI::TextEdit::SlotUndo
void SlotUndo() const
Definition: TextEdit.cpp:537
+
GpgFrontend::UI::TextEdit::UnsavedDocuments
QHash< int, QString > UnsavedDocuments() const
Definition: TextEdit.cpp:510
+
GpgFrontend::UI::TextEdit::SlotSaveAs
bool SlotSaveAs()
Definition: TextEdit.cpp:219
+
GpgFrontend::UI::TextEdit::SlotShowModified
void SlotShowModified() const
Definition: TextEdit.cpp:480
+
GpgFrontend::UI::TextEdit::SlotSwitchTabUp
void SlotSwitchTabUp() const
Definition: TextEdit.cpp:492
+
GpgFrontend::UI::TextEdit::SlotPrint
void SlotPrint()
Definition: TextEdit.cpp:458
+
GpgFrontend::UI::TextEdit::slot_remove_tab
void slot_remove_tab(int index)
Definition: TextEdit.cpp:243
+
GpgFrontend::UI::TextEdit::SlotUndo
void SlotUndo() const
Definition: TextEdit.cpp:555
GpgFrontend::UI::FilePage
Definition: FilePage.h:45
-
GpgFrontend::UI::PlainTextEditorPage::GetTextPage
QPlainTextEdit * GetTextPage()
Definition: PlainTextEditorPage.cpp:76
+
GpgFrontend::UI::PlainTextEditorPage::GetTextPage
QPlainTextEdit * GetTextPage()
Definition: PlainTextEditorPage.cpp:81
GpgFrontend::UI::TextEdit::SlotSave
void SlotSave()
Definition: TextEdit.cpp:148
-
GpgFrontend::UI::TextEdit::stripped_name
static QString stripped_name(const QString &full_file_name)
Definition: TextEdit.cpp:436
+
GpgFrontend::UI::PlainTextEditorPage::WillCharsetChange
bool WillCharsetChange() const
detect if the charset of the file will change
Definition: PlainTextEditorPage.cpp:83
+
GpgFrontend::UI::TextEdit::stripped_name
static QString stripped_name(const QString &full_file_name)
Definition: TextEdit.cpp:454
GpgFrontend::UI::TextEdit::save_file
bool save_file(const QString &fileName)
Saves the content of currentTab to the file filename.
Definition: TextEdit.cpp:164
-
GpgFrontend::UI::TextEdit::TabCount
int TabCount() const
Definition: TextEdit.cpp:372
-
GpgFrontend::UI::TextEdit::SlotCloseTab
void SlotCloseTab()
Definition: TextEdit.cpp:216
-
GpgFrontend::UI::PlainTextEditorPage::ReadDone
bool ReadDone() const
Definition: PlainTextEditorPage.h:99
+
GpgFrontend::UI::TextEdit::TabCount
int TabCount() const
Definition: TextEdit.cpp:390
+
GpgFrontend::UI::TextEdit::SlotCloseTab
void SlotCloseTab()
Definition: TextEdit.cpp:236
+
GpgFrontend::UI::PlainTextEditorPage::ReadDone
bool ReadDone() const
Definition: PlainTextEditorPage.h:101
GpgFrontend::UI::TextEdit::SlotNewTab
void SlotNewTab()
Definition: TextEdit.cpp:54
-
GpgFrontend::UI::TextEdit::maybe_save_current_tab
bool maybe_save_current_tab(bool askToSave)
Definition: TextEdit.cpp:256
+
GpgFrontend::UI::TextEdit::maybe_save_current_tab
bool maybe_save_current_tab(bool askToSave)
Definition: TextEdit.cpp:276
GpgFrontend::UI::QuitDialog
Definition: QuitDialog.h:40
GpgFrontend::UI::QuitDialog::GetTabIdsToSave
QList< int > GetTabIdsToSave()
Get the Tab Ids To Save object.
Definition: QuitDialog.cpp:135
-
GpgFrontend::UI::TextEdit::SlotSwitchTabDown
void SlotSwitchTabDown() const
Definition: TextEdit.cpp:481
-
GpgFrontend::UI::TextEdit::CurTextPage
PlainTextEditorPage * CurTextPage() const
Definition: TextEdit.cpp:359
+
GpgFrontend::UI::TextEdit::SlotSwitchTabDown
void SlotSwitchTabDown() const
Definition: TextEdit.cpp:499
+
GpgFrontend::UI::PlainTextEditorPage::NotifyFileSaved
void NotifyFileSaved()
notify the user that the file has been saved.
Definition: PlainTextEditorPage.cpp:94
+
GpgFrontend::UI::TextEdit::CurTextPage
PlainTextEditorPage * CurTextPage() const
Definition: TextEdit.cpp:377
GpgFrontend::CoreCommonUtil::GetInstance
static CoreCommonUtil * GetInstance()
Construct a new Core Common Util object.
Definition: CoreCommonUtil.cpp:33
GpgFrontend::FileOperator::ReadFile
static bool ReadFile(const QString &file_name, QByteArray &data)
read file content
Definition: FileOperator.cpp:31
GpgFrontend::UI::WaitingDialog
Definition: WaitingDialog.h:40
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
-
GpgFrontend::UI::refresh_info_board
void refresh_info_board(InfoBoardWidget *info_board, int status, const std::string &report_text)
Definition: UserInterfaceUtils.cpp:77
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::UI::refresh_info_board
void refresh_info_board(InfoBoardWidget *info_board, int status, const std::string &report_text)
Definition: UserInterfaceUtils.cpp:84
+
GpgFrontend::UI::process_operation
void process_operation(QWidget *parent, const std::string &waiting_title, const Thread::Task::TaskRunnable func, const Thread::Task::TaskCallback callback, Thread::Task::DataObjectPtr data_object)
Definition: UserInterfaceUtils.cpp:116
GpgFrontend::GpgResultAnalyse::GetStatus
int GetStatus() const
Get the Status object.
Definition: GpgResultAnalyse.cpp:35
GpgFrontend::UI::VerifyDetailsDialog
Definition: VerifyDetailsDialog.h:41
GpgFrontend
Definition: CoreCommonUtil.cpp:29
-
GpgFrontend::UI::CommonUtils
Definition: UserInterfaceUtils.h:111
+
GpgFrontend::UI::CommonUtils
Definition: UserInterfaceUtils.h:114
GpgFrontend::GpgResultAnalyse::GetResultReport
const std::string GetResultReport() const
Get the Result Report object.
Definition: GpgResultAnalyse.cpp:31
-
GpgFrontend::SingletonFunctionObject< GpgKeyImportExporter >::GetInstance
static GpgKeyImportExporter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >::GetInstance
static TaskRunnerGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::UI::InfoBoardWidget::AddOptionalAction
void AddOptionalAction(const QString &name, const std::function< void()> &action)
Definition: InfoBoardWidget.cpp:113
GpgFrontend::GpgInfo::AppPath
std::string AppPath
executable binary path of gnupg
Definition: GpgInfo.h:41
GpgFrontend::UI::InfoBoardWidget::ResetOptionActionsMenu
void ResetOptionActionsMenu()
Definition: InfoBoardWidget.cpp:129
-
GpgFrontend::UI::import_unknown_key_from_keyserver
void import_unknown_key_from_keyserver(QWidget *parent, const GpgVerifyResultAnalyse &verify_res)
Definition: UserInterfaceUtils.cpp:54
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
-
GpgFrontend::UI::process_operation
void process_operation(QWidget *parent, const std::string &waiting_title, const std::function< void()> &func)
Definition: UserInterfaceUtils.cpp:109
-
GpgFrontend::UI::CommonUtils::SlotImportKeys
void SlotImportKeys(QWidget *parent, const std::string &in_buffer)
Definition: UserInterfaceUtils.cpp:148
+
GpgFrontend::UI::import_unknown_key_from_keyserver
void import_unknown_key_from_keyserver(QWidget *parent, const GpgVerifyResultAnalyse &verify_res)
Definition: UserInterfaceUtils.cpp:61
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
+
GpgFrontend::UI::CommonUtils::SlotImportKeys
void SlotImportKeys(QWidget *parent, const std::string &in_buffer)
Definition: UserInterfaceUtils.cpp:180
GpgFrontend::GpgContext::GetInfo
const GpgInfo & GetInfo() const
Get the Info object.
Definition: GpgContext.h:95
GpgFrontend::UI::TextEdit
TextEdit class.
Definition: TextEdit.h:41
GpgFrontend::GpgVerifyResultAnalyse
Definition: GpgVerifyResultAnalyse.h:40
GpgFrontend::UI::KeyServerImportDialog
Definition: KeyServerImportDialog.h:43
+
GpgFrontend::GpgKeyGetter::FlushKeyCache
void FlushKeyCache()
flush the keys in the cache
Definition: GpgKeyGetter.cpp:101
+
GpgFrontend::UI::SettingsObject::Check
nlohmann::json & Check(const std::string &key, const nlohmann::json &default_value)
Definition: SettingsObject.cpp:31
GpgFrontend::UI::InfoBoardWidget::SlotRefresh
void SlotRefresh(const QString &text, GpgFrontend::UI::InfoBoardStatus status)
Definition: InfoBoardWidget.cpp:89
GpgFrontend::UI::KeyImportDetailDialog
Definition: KeyImportDetailDialog.h:42
+
GpgFrontend::UI::CommonUtils::slot_update_key_status
void slot_update_key_status()
update the key status when signal is emitted
Definition: UserInterfaceUtils.cpp:358
+
GpgFrontend::UI::SettingsObject
The SettingsObject class This class is used to store settings for the application securely.
Definition: SettingsObject.h:43
GpgFrontend::GpgResultAnalyse
Definition: GpgResultAnalyse.h:37
-
GpgFrontend::UI::CommonUtils::SlotImportKeyFromFile
void SlotImportKeyFromFile(QWidget *parent)
Definition: UserInterfaceUtils.cpp:156
-
GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer
void SlotImportKeyFromKeyServer(QWidget *parent)
Definition: UserInterfaceUtils.cpp:172
+
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetAllChannelId
static std::vector< int > GetAllChannelId()
Get all the channel ids.
Definition: GpgFunctionObject.h:246
+
GpgFrontend::UI::CommonUtils::SlotImportKeyFromFile
void SlotImportKeyFromFile(QWidget *parent)
Definition: UserInterfaceUtils.cpp:188
+
GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer
void SlotImportKeyFromKeyServer(QWidget *parent)
Definition: UserInterfaceUtils.cpp:204
GpgFrontend::UI::InfoBoardWidget::AssociateTabWidget
void AssociateTabWidget(QTabWidget *tab)
Definition: InfoBoardWidget.cpp:103
-
GpgFrontend::GpgVerifyResultAnalyse::GetSignatures
gpgme_signature_t GetSignatures() const
Get the Signatures object.
Definition: GpgVerifyResultAnalyse.cpp:205
-
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:35
-
GpgFrontend::UI::CommonUtils::SlotImportKeyFromClipboard
void SlotImportKeyFromClipboard(QWidget *parent)
Definition: UserInterfaceUtils.cpp:177
-
GpgFrontend::UI::CommonUtils::CommonUtils
CommonUtils()
Construct a new Common Utils object.
Definition: UserInterfaceUtils.cpp:131
+
GpgFrontend::GpgVerifyResultAnalyse::GetSignatures
gpgme_signature_t GetSignatures() const
Get the Signatures object.
Definition: GpgVerifyResultAnalyse.cpp:206
+
GpgFrontend::UI::SignalStation::GetInstance
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
+
GpgFrontend::UI::CommonUtils::SignalKeyDatabaseRefreshDone
void SignalKeyDatabaseRefreshDone()
emit when the key database is refreshed
+
GpgFrontend::UI::CommonUtils::SlotImportKeyFromClipboard
void SlotImportKeyFromClipboard(QWidget *parent)
Definition: UserInterfaceUtils.cpp:209
+
GpgFrontend::UI::CommonUtils::CommonUtils
CommonUtils()
Construct a new Common Utils object.
Definition: UserInterfaceUtils.cpp:150
GpgFrontend::GpgKeyImportExporter::ImportKey
GpgImportInformation ImportKey(StdBypeArrayPtr inBuffer)
Definition: GpgKeyImportExporter.cpp:42
-
GpgFrontend::UI::CommonUtils::SlotExecuteGpgCommand
void SlotExecuteGpgCommand(const QStringList &arguments, const std::function< void(QProcess *)> &interact_func)
Definition: UserInterfaceUtils.cpp:183
-
GpgFrontend::UI::show_verify_details
void show_verify_details(QWidget *parent, InfoBoardWidget *info_board, GpgError error, const GpgVerifyResult &verify_result)
Definition: UserInterfaceUtils.cpp:45
-
GpgFrontend::UI::process_result_analyse
void process_result_analyse(TextEdit *edit, InfoBoardWidget *info_board, const GpgResultAnalyse &result_analyse)
Definition: UserInterfaceUtils.cpp:89
+
GpgFrontend::UI::CommonUtils::SlotExecuteGpgCommand
void SlotExecuteGpgCommand(const QStringList &arguments, const std::function< void(QProcess *)> &interact_func)
Definition: UserInterfaceUtils.cpp:215
+
GpgFrontend::Thread::Task
Definition: Task.h:45
+
GpgFrontend::UI::show_verify_details
void show_verify_details(QWidget *parent, InfoBoardWidget *info_board, GpgError error, const GpgVerifyResult &verify_result)
Definition: UserInterfaceUtils.cpp:52
+
GpgFrontend::UI::process_result_analyse
void process_result_analyse(TextEdit *edit, InfoBoardWidget *info_board, const GpgResultAnalyse &result_analyse)
Definition: UserInterfaceUtils.cpp:96
GpgFrontend::GpgImportInformation
Definition: GpgKeyImportExporter.h:57
-
GpgFrontend::UI::CommonUtils::GetInstance
static CommonUtils * GetInstance()
Get the Instance object.
Definition: UserInterfaceUtils.cpp:124
+
GpgFrontend::UI::CommonUtils::GetInstance
static CommonUtils * GetInstance()
Get the Instance object.
Definition: UserInterfaceUtils.cpp:143
GpgFrontend::UI::InfoBoardWidget
Class for handling the verify label shown at bottom of a textedit-page.
Definition: InfoBoardWidget.h:53
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::VerifyDetailsDialog
Definition: VerifyDetailsDialog.h:41
GpgFrontend::UI::VerifyDetailsDialog::VerifyDetailsDialog
VerifyDetailsDialog(QWidget *parent, GpgError error, GpgVerifyResult result)
Construct a new Verify Details Dialog object.
Definition: VerifyDetailsDialog.cpp:35
GpgFrontend::UI::KeyList
Definition: KeyList.h:152
diff --git a/docs/html/VerifyKeyDetailBox_8h_source.html b/docs/html/VerifyKeyDetailBox_8h_source.html index 31d5b3cd..53871f9f 100644 --- a/docs/html/VerifyKeyDetailBox_8h_source.html +++ b/docs/html/VerifyKeyDetailBox_8h_source.html @@ -106,7 +106,7 @@ $(document).ready(function(){initNavTree('VerifyKeyDetailBox_8h_source.html','')
59  private:
66  QGridLayout* create_key_info_grid(const GpgSignature& signature);
67 
-
68  std::string fpr_;
+
68  std::string fpr_;
69 };
70 
71 } // namespace GpgFrontend::UI
@@ -114,10 +114,10 @@ $(document).ready(function(){initNavTree('VerifyKeyDetailBox_8h_source.html','')
73 #endif // __VERIFYKEYDETAILBOX_H__
-
GpgFrontend::beautify_fingerprint
GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:85
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::beautify_fingerprint
GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:90
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::GpgSignature::GetFingerprint
std::string GetFingerprint() const
Definition: GpgSignature.cpp:116
-
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::GpgSignature
Definition: GpgSignature.h:43
GpgFrontend::UI::VerifyKeyDetailBox::VerifyKeyDetailBox
VerifyKeyDetailBox(const GpgSignature &signature, QWidget *parent)
Construct a new Verify Key Detail Box object.
Definition: VerifyKeyDetailBox.cpp:35
GpgFrontend::GpgKey::GetEmail
std::string GetEmail() const
Definition: GpgKey.cpp:62
@@ -125,9 +125,10 @@ $(document).ready(function(){initNavTree('VerifyKeyDetailBox_8h_source.html','')
GpgFrontend::GpgSignature::GetStatus
gpgme_error_t GetStatus() const
Definition: GpgSignature.cpp:62
GpgFrontend::GpgKey::IsGood
bool IsGood() const
Definition: GpgKey.cpp:52
GpgFrontend::GpgSignature::GetSummary
gpgme_error_t GetSummary() const
Definition: GpgSignature.cpp:71
+
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
GpgFrontend::UI::VerifyKeyDetailBox
Definition: VerifyKeyDetailBox.h:40
-
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &fpr)
Get the Key object.
Definition: GpgKeyGetter.cpp:38
-
GpgFrontend::GpgKey
Definition: GpgKey.h:44
+
GpgFrontend::UI::VerifyKeyDetailBox::fpr_
std::string fpr_
fingerprint of the key
Definition: VerifyKeyDetailBox.h:68
+
GpgFrontend::GpgKey
Definition: GpgKey.h:41
GpgFrontend::GpgKey::GetName
std::string GetName() const
Definition: GpgKey.cpp:58
GpgFrontend::UI::VerifyKeyDetailBox::create_key_info_grid
QGridLayout * create_key_info_grid(const GpgSignature &signature)
Create a key info grid object.
Definition: VerifyKeyDetailBox.cpp:166
diff --git a/docs/html/VersionCheckTask_8h_source.html b/docs/html/VersionCheckTask_8h_source.html new file mode 100644 index 00000000..529f2a5b --- /dev/null +++ b/docs/html/VersionCheckTask_8h_source.html @@ -0,0 +1,156 @@ + + + + + + + +GpgFrontend Project: src/ui/thread/VersionCheckTask.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
GpgFrontend Project +
+
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
VersionCheckTask.h
+
+
+
1 
+
29 #ifndef GPGFRONTEND_VERSIONCHECKTHREAD_H
+
30 #define GPGFRONTEND_VERSIONCHECKTHREAD_H
+
31 
+
32 #include <memory>
+
33 #include <string>
+
34 
+
35 #include "core/thread/Task.h"
+
36 #include "ui/GpgFrontendUI.h"
+
37 #include "ui/struct/SoftwareVersion.h"
+
38 
+
39 namespace GpgFrontend::UI {
+
40 
+ +
46  Q_OBJECT
+
47 
+
48  public:
+
53  explicit VersionCheckTask();
+
54 
+
55  signals:
+
56 
+ +
63 
+
64  protected:
+
70  void Run() override;
+
71 
+
72  private slots:
+
73 
+
78  void slot_parse_latest_version_info();
+
79 
+
84  void slot_parse_current_version_info();
+
85 
+
86  private:
+
87  QByteArray latest_reply_bytes_;
+
88  QByteArray current_reply_bytes_;
+
89  QNetworkReply* latest_reply_ = nullptr;
+
90  QNetworkReply* current_reply_ = nullptr;
+
91  QNetworkAccessManager* network_manager_;
+
92  std::string current_version_;
+
93  SoftwareVersion version_;
+
94 };
+
95 
+
96 } // namespace GpgFrontend::UI
+
97 
+
98 #endif // GPGFRONTEND_VERSIONCHECKTHREAD_H
+
+
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
+
GpgFrontend::UI::VersionCheckTask::SignalUpgradeVersion
void SignalUpgradeVersion(SoftwareVersion version)
+
GpgFrontend::UI::SoftwareVersion
Definition: SoftwareVersion.h:39
+
GpgFrontend::UI::VersionCheckTask::latest_reply_
QNetworkReply * latest_reply_
latest version info reply
Definition: VersionCheckTask.h:89
+
GpgFrontend::UI::VersionCheckTask
Definition: VersionCheckTask.h:45
+
GpgFrontend::UI::VersionCheckTask::VersionCheckTask
VersionCheckTask()
Construct a new Version Check Thread object.
Definition: VersionCheckTask.cpp:38
+
GpgFrontend::Thread::Task
Definition: Task.h:45
+
GpgFrontend::Thread::Task::SetFinishAfterRun
void SetFinishAfterRun(bool finish_after_run)
Set the Finish After Run object.
Definition: Task.cpp:73
+
GpgFrontend::UI::VersionCheckTask::current_reply_
QNetworkReply * current_reply_
current version info reply
Definition: VersionCheckTask.h:90
+
GpgFrontend::UI::VersionCheckTask::Run
void Run() override
Run - run the task.
Definition: VersionCheckTask.cpp:47
+ + + + diff --git a/docs/html/WaitingDialog_8h_source.html b/docs/html/WaitingDialog_8h_source.html index 7ffe222c..a9a017d4 100644 --- a/docs/html/WaitingDialog_8h_source.html +++ b/docs/html/WaitingDialog_8h_source.html @@ -106,7 +106,7 @@ $(document).ready(function(){initNavTree('WaitingDialog_8h_source.html',''); ini
GpgFrontend::UI::WaitingDialog
Definition: WaitingDialog.h:40
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::WaitingDialog::WaitingDialog
WaitingDialog(const QString &title, QWidget *parent)
Construct a new Waiting Dialog object.
Definition: WaitingDialog.cpp:33
-
GpgFrontend::UI
Definition: VerifyDetailsDialog.cpp:33
+
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::Wizard::Wizard
Wizard(QWidget *parent=nullptr)
Construct a new Wizard object.
Definition: Wizard.cpp:35
GpgFrontend::UI::KeyGenPage
Definition: Wizard.h:133
GpgFrontend::GlobalSettingStation::SyncSettings
void SyncSettings() noexcept
sync the settings to the file
Definition: GlobalSettingStation.cpp:33
GpgFrontend::UI::KeyGenPage::KeyGenPage
KeyGenPage(QWidget *parent=nullptr)
Construct a new Key Gen Page object.
Definition: Wizard.cpp:190
-
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
+
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::UI::ChoosePage::nextId
int nextId() const override
Definition: Wizard.cpp:179
GpgFrontend::UI::ChoosePage::slot_jump_page
void slot_jump_page(const QString &page)
Definition: Wizard.cpp:181
-
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
+
GpgFrontend::GlobalSettingStation::GetUISettings
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
GpgFrontend::UI::ChoosePage::ChoosePage
ChoosePage(QWidget *parent=nullptr)
Construct a new Choose Page object.
Definition: Wizard.cpp:124
GpgFrontend::UI::IntroPage
Definition: Wizard.h:78
GpgFrontend::UI::ConclusionPage::nextId
int nextId() const override
Definition: Wizard.cpp:267
diff --git a/docs/html/annotated.html b/docs/html/annotated.html index 627481f1..fcf2bb80 100644 --- a/docs/html/annotated.html +++ b/docs/html/annotated.html @@ -87,107 +87,118 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();
Here are the classes, structs, unions and interfaces with brief descriptions:
-
[detail level 1234]
+
[detail level 12345]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1ChannelObject-members.html b/docs/html/classGpgFrontend_1_1ChannelObject-members.html new file mode 100644 index 00000000..3b957079 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1ChannelObject-members.html @@ -0,0 +1,110 @@ + + + + + + + +GpgFrontend Project: Member List + + + + + + + + + + + + + +
+
+
 NGpgFrontend
 NUI
 C_result_ref_deletorResult Deleter
 CArchiveFileOperator
 CArchiveStruct
 CCoreCommonUtil
 CCtxCheckThread
 CDataObjectOperator
 CFileOperatorFile operations
 CGenKeyInfo
 CGlobalSettingStation
 CGpgBasicOperatorBasic operation collection
 CGpgCommandExecutorExtra commands related to GPG
 CGpgConstants
 CGpgContext
 CGpgContextInitArgs
 CGpgData
 CGpgDecryptResultAnalyse
 CGpgEncryptResultAnalyse
 CGpgFileOpera
 CGpgImportedKey
 CGpgImportInformation
 CGpgInfoUse to record some info about gnupg
 CGpgKey
 CGpgKeyGetter
 CGpgKeyImportExporter
 CGpgKeyManager
 CGpgKeyOpera
 CGpgKeySignature
 CGpgResultAnalyse
 CGpgSignature
 CGpgSignResultAnalyse
 CGpgSubKey
 CGpgTOFUInfo
 CGpgUID
 CGpgUIDOperator
 CGpgVerifyResultAnalyse
 CKeyPackageOperatorGive the possibility to import or export a key package
 CPassphraseGeneratorThe PassphraseGenerator class
 CSingletonFunctionObject
 NThread
 NUI
 C_result_ref_deletorResult Deleter
 CArchiveFileOperator
 CArchiveStruct
 CChannelObjectObject which in channel system
 CCharsetOperator
 CCoreCommonUtil
 CDataObjectOperator
 CFileOperatorFile operations
 CGenKeyInfo
 CGlobalSettingStation
 CGpgBasicOperatorBasic operation collection
 CGpgCommandExecutorExtra commands related to GPG
 CGpgConstants
 CGpgContext
 CGpgContextInitArgs
 CGpgData
 CGpgDecryptResultAnalyse
 CGpgEncryptResultAnalyse
 CGpgFileOpera
 CGpgImportedKey
 CGpgImportInformation
 CGpgInfoUse to record some info about gnupg
 CGpgKey
 CGpgKeyGetter
 CGpgKeyImportExporter
 CGpgKeyManager
 CGpgKeyOpera
 CGpgKeySignature
 CGpgResultAnalyse
 CGpgSignature
 CGpgSignResultAnalyse
 CGpgSubKey
 CGpgTOFUInfo
 CGpgUID
 CGpgUIDOperator
 CGpgVerifyResultAnalyse
 CKeyPackageOperatorGive the possibility to import or export a key package
 CPassphraseGeneratorThe PassphraseGenerator class
 CSingletonFunctionObject
 CSingletonStorage
 CSingletonStorageCollection
 CclassExecutive files related to the basic operations that are provided by GpgBasicOperator
 CProxyConnectionTestThread
 CSignatureDetailsDialog
+ + + + + +
+
GpgFrontend Project +
+
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
GpgFrontend::ChannelObject Member List
+
+
+ +

This is the complete list of members for GpgFrontend::ChannelObject, including all inherited members.

+ + + + + + + + +
_default_channelGpgFrontend::ChannelObjectprivatestatic
channel_GpgFrontend::ChannelObjectprivate
ChannelObject() noexceptGpgFrontend::ChannelObject
ChannelObject(int channel)GpgFrontend::ChannelObject
GetChannel() constGpgFrontend::ChannelObject
GetDefaultChannel()GpgFrontend::ChannelObjectstatic
SetChannel(int channel)GpgFrontend::ChannelObject
+
+ + + + diff --git a/docs/html/classGpgFrontend_1_1ChannelObject.html b/docs/html/classGpgFrontend_1_1ChannelObject.html new file mode 100644 index 00000000..519a7020 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1ChannelObject.html @@ -0,0 +1,341 @@ + + + + + + + +GpgFrontend Project: GpgFrontend::ChannelObject Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
GpgFrontend Project +
+
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
GpgFrontend::ChannelObject Class Reference
+
+
+ +

object which in channel system + More...

+ +

#include <GpgFunctionObject.h>

+
+Inheritance diagram for GpgFrontend::ChannelObject:
+
+
Inheritance graph
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+Collaboration diagram for GpgFrontend::ChannelObject:
+
+
Collaboration graph
+ + + +
+ + + + + + + + + + + + + + +

+Public Member Functions

 ChannelObject () noexcept
 Construct a new Default Channel Object object. More...
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
+ + + + +

+Static Public Member Functions

static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
+ + + + +

+Private Attributes

+int channel_ = _default_channel
 The channel id.
 
+ + + + +

+Static Private Attributes

+static constexpr int _default_channel = 0
 The default channel id.
 
+

Detailed Description

+

object which in channel system

+

Constructor & Destructor Documentation

+ +

◆ ChannelObject() [1/2]

+ +
+
+ + + + + +
+ + + + + + + +
GpgFrontend::ChannelObject::ChannelObject ()
+
+defaultnoexcept
+
+ +

Construct a new Default Channel Object object.

+ +
+
+ +

◆ ChannelObject() [2/2]

+ +
+
+ + + + + + + + +
GpgFrontend::ChannelObject::ChannelObject (int channel)
+
+ +

Construct a new Channel Object object.

+
Parameters
+ + +
channel
+
+
+ +
+
+

Member Function Documentation

+ +

◆ GetChannel()

+ +
+
+ + + + + + + +
int GpgFrontend::ChannelObject::GetChannel () const
+
+ +

Get the Channel object.

+
Returns
int
+ +

Referenced by GpgFrontend::SingletonFunctionObject< GpgContext >::GetChannel().

+ +
+
+ +

◆ GetDefaultChannel()

+ +
+
+ + + + + +
+ + + + + + + +
int GpgFrontend::ChannelObject::GetDefaultChannel ()
+
+static
+
+ +

Get the Default Channel object.

+
Returns
int
+ +

Referenced by GpgFrontend::SingletonFunctionObject< GpgContext >::GetDefaultChannel().

+ +
+
+ +

◆ SetChannel()

+ +
+
+ + + + + + + + +
void GpgFrontend::ChannelObject::SetChannel (int channel)
+
+ +

Set the Channel object.

+
Parameters
+ + +
channelCopyright (C) 2021 Saturneric
+
+
+

This file is part of GpgFrontend.

+

GpgFrontend is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

+

GpgFrontend 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 General Public License for more details.

+

You should have received a copy of the GNU General Public License along with GpgFrontend. If not, see https://www.gnu.org/licenses/.

+

The initial version of the source code is inherited from the gpg4usb project, which is under GPL-3.0-or-later.

+

All the source code of GpgFrontend was modified and released by Saturnericeric@.nosp@m.bktu.nosp@m.s.com starting on May 12, 2021.

+

SPDX-License-Identifier: GPL-3.0-or-later

+ +

References channel_.

+ +

Referenced by GpgFrontend::SingletonStorage::SetObjectInChannel().

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classGpgFrontend_1_1ChannelObject.js b/docs/html/classGpgFrontend_1_1ChannelObject.js new file mode 100644 index 00000000..15b119c5 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1ChannelObject.js @@ -0,0 +1,10 @@ +var classGpgFrontend_1_1ChannelObject = +[ + [ "ChannelObject", "classGpgFrontend_1_1ChannelObject.html#aedbf32eddc701e521bd8e790ef208da0", null ], + [ "ChannelObject", "classGpgFrontend_1_1ChannelObject.html#a68ad2a19339e3cd50626fe0eaad17ccd", null ], + [ "GetChannel", "classGpgFrontend_1_1ChannelObject.html#a0e13a4bff1cfb679f68a3a2590a3b1b8", null ], + [ "GetDefaultChannel", "classGpgFrontend_1_1ChannelObject.html#aece9c525c49900734bc1bebf85b644ef", null ], + [ "SetChannel", "classGpgFrontend_1_1ChannelObject.html#aa3b19cad6d873b314bba32a3dae85f09", null ], + [ "_default_channel", "classGpgFrontend_1_1ChannelObject.html#a66295bb572e98fc2fad3afce763ac311", null ], + [ "channel_", "classGpgFrontend_1_1ChannelObject.html#aee5f8a5575adbdf522da4dd195c091ee", null ] +]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1ChannelObject__coll__graph.map b/docs/html/classGpgFrontend_1_1ChannelObject__coll__graph.map new file mode 100644 index 00000000..7789e113 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1ChannelObject__coll__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/docs/html/classGpgFrontend_1_1ChannelObject__coll__graph.md5 b/docs/html/classGpgFrontend_1_1ChannelObject__coll__graph.md5 new file mode 100644 index 00000000..c135ff43 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1ChannelObject__coll__graph.md5 @@ -0,0 +1 @@ +274a045db6f1dd9ba809b5c454035580 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1ChannelObject__coll__graph.png b/docs/html/classGpgFrontend_1_1ChannelObject__coll__graph.png new file mode 100644 index 00000000..4f85fcf4 Binary files /dev/null and b/docs/html/classGpgFrontend_1_1ChannelObject__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.map b/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.map new file mode 100644 index 00000000..63544768 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.map @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.md5 new file mode 100644 index 00000000..10464e9f --- /dev/null +++ b/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.md5 @@ -0,0 +1 @@ +ecfcac9329e249928a71339112977894 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.png b/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.png new file mode 100644 index 00000000..d7e9814f Binary files /dev/null and b/docs/html/classGpgFrontend_1_1ChannelObject__inherit__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1CharsetOperator-members.html b/docs/html/classGpgFrontend_1_1CharsetOperator-members.html new file mode 100644 index 00000000..741b6346 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1CharsetOperator-members.html @@ -0,0 +1,106 @@ + + + + + + + +GpgFrontend Project: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
GpgFrontend Project +
+
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
GpgFrontend::CharsetOperator Member List
+
+
+ +

This is the complete list of members for GpgFrontend::CharsetOperator, including all inherited members.

+ + + + +
CharsetInfo typedef (defined in GpgFrontend::CharsetOperator)GpgFrontend::CharsetOperator
Convert2Utf8(const std::string &buffer, std::string &out_buffer, std::string from_charset_name) (defined in GpgFrontend::CharsetOperator)GpgFrontend::CharsetOperatorstatic
Detect(const std::string &buffer)GpgFrontend::CharsetOperatorstatic
+
+ + + + diff --git a/docs/html/classGpgFrontend_1_1CtxCheckThread.html b/docs/html/classGpgFrontend_1_1CharsetOperator.html similarity index 56% rename from docs/html/classGpgFrontend_1_1CtxCheckThread.html rename to docs/html/classGpgFrontend_1_1CharsetOperator.html index c9e5065b..9d9565e0 100644 --- a/docs/html/classGpgFrontend_1_1CtxCheckThread.html +++ b/docs/html/classGpgFrontend_1_1CharsetOperator.html @@ -5,7 +5,7 @@ -GpgFrontend Project: GpgFrontend::CtxCheckThread Class Reference +GpgFrontend Project: GpgFrontend::CharsetOperator Class Reference @@ -63,7 +63,7 @@ $(function() {
@@ -83,90 +83,83 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1CtxCheckThread.htm
+Public Types | +Static Public Member Functions | +List of all members
-
GpgFrontend::CtxCheckThread Class Reference
+
GpgFrontend::CharsetOperator Class Reference
-Inheritance diagram for GpgFrontend::CtxCheckThread:
+Collaboration diagram for GpgFrontend::CharsetOperator:
-
Inheritance graph
- - - - -
-
-Collaboration diagram for GpgFrontend::CtxCheckThread:
-
-
Collaboration graph
- - - +
Collaboration graph
+ +
- - - + + +

-Signals

-void SignalGnupgNotInstall ()
 

+Public Types

+using CharsetInfo = std::tuple< std::string, std::string, int >
 
- - - - -

-Public Member Functions

 CtxCheckThread ()
 Construct a new Ctx Check Thread object. More...
 
- - - + + + + +

-Protected Member Functions

-void run () override
 

+Static Public Member Functions

static CharsetInfo Detect (const std::string &buffer)
 
+static bool Convert2Utf8 (const std::string &buffer, std::string &out_buffer, std::string from_charset_name)
 
-

Constructor & Destructor Documentation

- -

◆ CtxCheckThread()

+

Member Function Documentation

+ +

◆ Detect()

+ + + + + +
- + - + +
GpgFrontend::CtxCheckThread::CtxCheckThread GpgFrontend::CharsetOperator::CharsetInfo GpgFrontend::CharsetOperator::Detect ()const std::string & buffer)
+
+static
- -

Construct a new Ctx Check Thread object.

Copyright (C) 2021 Saturneric

This file is part of GpgFrontend.

GpgFrontend is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

GpgFrontend 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with GpgFrontend. If not, see https://www.gnu.org/licenses/.

The initial version of the source code is inherited from the gpg4usb project, which is under GPL-3.0-or-later.

-

The source code version of this software was modified and released by Saturnericeric@.nosp@m.bktu.nosp@m.s.comeric@.nosp@m.bktu.nosp@m.s.com starting on May 12, 2021.

+

All the source code of GpgFrontend was modified and released by Saturnericeric@.nosp@m.bktu.nosp@m.s.com starting on May 12, 2021.

+

SPDX-License-Identifier: GPL-3.0-or-later

-

References GpgFrontend::CoreCommonUtil::GetInstance().

+

Referenced by GpgFrontend::UI::PlainTextEditorPage::detect_encoding().


The documentation for this class was generated from the following files: diff --git a/docs/html/classGpgFrontend_1_1CtxCheckThread.js b/docs/html/classGpgFrontend_1_1CtxCheckThread.js deleted file mode 100644 index 1120a96e..00000000 --- a/docs/html/classGpgFrontend_1_1CtxCheckThread.js +++ /dev/null @@ -1,6 +0,0 @@ -var classGpgFrontend_1_1CtxCheckThread = -[ - [ "CtxCheckThread", "classGpgFrontend_1_1CtxCheckThread.html#a48cefc5f06e87df15c8336017d2b322f", null ], - [ "run", "classGpgFrontend_1_1CtxCheckThread.html#aac143090d3e4377494fda36cdb12a357", null ], - [ "SignalGnupgNotInstall", "classGpgFrontend_1_1CtxCheckThread.html#a4b0b22c5d85fa9226c18d51b9217e998", null ] -]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1CtxCheckThread__coll__graph.map b/docs/html/classGpgFrontend_1_1CtxCheckThread__coll__graph.map deleted file mode 100644 index 02098cd7..00000000 --- a/docs/html/classGpgFrontend_1_1CtxCheckThread__coll__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/html/classGpgFrontend_1_1CtxCheckThread__coll__graph.md5 b/docs/html/classGpgFrontend_1_1CtxCheckThread__coll__graph.md5 deleted file mode 100644 index f4cdc9ba..00000000 --- a/docs/html/classGpgFrontend_1_1CtxCheckThread__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -e55cc4989efd2e0548bdce4f8cf5460f \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1CtxCheckThread__coll__graph.png b/docs/html/classGpgFrontend_1_1CtxCheckThread__coll__graph.png deleted file mode 100644 index 47f27dcb..00000000 Binary files a/docs/html/classGpgFrontend_1_1CtxCheckThread__coll__graph.png and /dev/null differ diff --git a/docs/html/classGpgFrontend_1_1CtxCheckThread__inherit__graph.map b/docs/html/classGpgFrontend_1_1CtxCheckThread__inherit__graph.map deleted file mode 100644 index 02098cd7..00000000 --- a/docs/html/classGpgFrontend_1_1CtxCheckThread__inherit__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/html/classGpgFrontend_1_1CtxCheckThread__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1CtxCheckThread__inherit__graph.md5 deleted file mode 100644 index f4cdc9ba..00000000 --- a/docs/html/classGpgFrontend_1_1CtxCheckThread__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -e55cc4989efd2e0548bdce4f8cf5460f \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1CtxCheckThread__inherit__graph.png b/docs/html/classGpgFrontend_1_1CtxCheckThread__inherit__graph.png deleted file mode 100644 index 47f27dcb..00000000 Binary files a/docs/html/classGpgFrontend_1_1CtxCheckThread__inherit__graph.png and /dev/null differ diff --git a/docs/html/classGpgFrontend_1_1DataObjectOperator-members.html b/docs/html/classGpgFrontend_1_1DataObjectOperator-members.html index e6f7b74c..fd29d00d 100644 --- a/docs/html/classGpgFrontend_1_1DataObjectOperator-members.html +++ b/docs/html/classGpgFrontend_1_1DataObjectOperator-members.html @@ -89,20 +89,18 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1DataObjectOperator

This is the complete list of members for GpgFrontend::DataObjectOperator, including all inherited members.

- - - - - + - - - - - - + + + + + + + + @@ -111,17 +109,18 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1DataObjectOperator - - - - - - - - - - - + + + + + + + + + + + +
_default_channel (defined in GpgFrontend::SingletonFunctionObject< DataObjectOperator >)GpgFrontend::SingletonFunctionObject< DataObjectOperator >privatestatic
_instance (defined in GpgFrontend::SingletonFunctionObject< DataObjectOperator >)GpgFrontend::SingletonFunctionObject< DataObjectOperator >privatestatic
_instance_mutex (defined in GpgFrontend::SingletonFunctionObject< DataObjectOperator >)GpgFrontend::SingletonFunctionObject< DataObjectOperator >privatestatic
_instances_map (defined in GpgFrontend::SingletonFunctionObject< DataObjectOperator >)GpgFrontend::SingletonFunctionObject< DataObjectOperator >privatestatic
_instances_mutex (defined in GpgFrontend::SingletonFunctionObject< DataObjectOperator >)GpgFrontend::SingletonFunctionObject< DataObjectOperator >privatestatic
_default_channelGpgFrontend::ChannelObjectprivatestatic
app_data_objs_path_GpgFrontend::DataObjectOperatorprivate
app_secure_key_path_GpgFrontend::DataObjectOperatorprivate
app_secure_path_GpgFrontend::DataObjectOperatorprivate
channel_ (defined in GpgFrontend::SingletonFunctionObject< DataObjectOperator >)GpgFrontend::SingletonFunctionObject< DataObjectOperator >private
CreateInstance(int channel, std::function< std::unique_ptr< DataObjectOperator >(void)> factory)GpgFrontend::SingletonFunctionObject< DataObjectOperator >inlinestatic
CreateInstance(int channel, std::unique_ptr< DataObjectOperator > p_obj=nullptr)GpgFrontend::SingletonFunctionObject< DataObjectOperator >inlinestatic
DataObjectOperator(int channel=SingletonFunctionObject::GetDefaultChannel())GpgFrontend::DataObjectOperatorexplicit
find_object_in_channel(int channel)GpgFrontend::SingletonFunctionObject< DataObjectOperator >inlineprivatestatic
GetChannel() constGpgFrontend::SingletonFunctionObject< DataObjectOperator >inline
channel_GpgFrontend::ChannelObjectprivate
ChannelObject() noexceptGpgFrontend::ChannelObject
ChannelObject(int channel)GpgFrontend::ChannelObject
CreateInstance(int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)GpgFrontend::SingletonFunctionObject< DataObjectOperator >inlinestatic
DataObjectOperator(int channel=SingletonFunctionObject::GetDefaultChannel())GpgFrontend::DataObjectOperatorexplicit
GetAllChannelId()GpgFrontend::SingletonFunctionObject< DataObjectOperator >inlinestatic
GetChannel() constGpgFrontend::SingletonFunctionObject< DataObjectOperator >inline
GpgFrontend::ChannelObject::GetChannel() constGpgFrontend::ChannelObject
GetDataObject(const std::string &_key) (defined in GpgFrontend::DataObjectOperator)GpgFrontend::DataObjectOperator
GetDataObjectByRef(const std::string &_ref) (defined in GpgFrontend::DataObjectOperator)GpgFrontend::DataObjectOperator
GetDefaultChannel()GpgFrontend::SingletonFunctionObject< DataObjectOperator >inlinestatic
hash_key_GpgFrontend::DataObjectOperatorprivate
init_app_secure_key()GpgFrontend::DataObjectOperatorprivate
mt_GpgFrontend::DataObjectOperatorprivate
operator=(const DataObjectOperator &)=delete (defined in GpgFrontend::SingletonFunctionObject< DataObjectOperator >)GpgFrontend::SingletonFunctionObject< DataObjectOperator >
rd_GpgFrontend::DataObjectOperatorprivate
ReleaseChannel(int channel)GpgFrontend::SingletonFunctionObject< DataObjectOperator >inlinestatic
SaveDataObj(const std::string &_key, const nlohmann::json &value) (defined in GpgFrontend::DataObjectOperator)GpgFrontend::DataObjectOperator
set_object_in_channel(int channel, std::unique_ptr< DataObjectOperator > p_obj)GpgFrontend::SingletonFunctionObject< DataObjectOperator >inlineprivatestatic
SetChannel(int channel)GpgFrontend::SingletonFunctionObject< DataObjectOperator >inlineprotected
SingletonFunctionObject(DataObjectOperator &&)=deleteGpgFrontend::SingletonFunctionObject< DataObjectOperator >
SingletonFunctionObject(const DataObjectOperator &)=deleteGpgFrontend::SingletonFunctionObject< DataObjectOperator >
SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< DataObjectOperator >protected
SingletonFunctionObject(int channel)GpgFrontend::SingletonFunctionObject< DataObjectOperator >inlineexplicitprotected
~SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< DataObjectOperator >protectedvirtual
operator=(const SingletonFunctionObject< DataObjectOperator > &)=deleteGpgFrontend::SingletonFunctionObject< DataObjectOperator >
operator=(const DataObjectOperator &)=delete (defined in GpgFrontend::SingletonFunctionObject< DataObjectOperator >)GpgFrontend::SingletonFunctionObject< DataObjectOperator >
rd_GpgFrontend::DataObjectOperatorprivate
ReleaseChannel(int channel)GpgFrontend::SingletonFunctionObject< DataObjectOperator >inlinestatic
SaveDataObj(const std::string &_key, const nlohmann::json &value) (defined in GpgFrontend::DataObjectOperator)GpgFrontend::DataObjectOperator
SetChannel(int channel)GpgFrontend::ChannelObject
SingletonFunctionObject(const SingletonFunctionObject< DataObjectOperator > &)=deleteGpgFrontend::SingletonFunctionObject< DataObjectOperator >
SingletonFunctionObject(DataObjectOperator &&)=deleteGpgFrontend::SingletonFunctionObject< DataObjectOperator >
SingletonFunctionObject(const DataObjectOperator &)=deleteGpgFrontend::SingletonFunctionObject< DataObjectOperator >
SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< DataObjectOperator >protected
SingletonFunctionObject(int channel)GpgFrontend::SingletonFunctionObject< DataObjectOperator >inlineexplicitprotected
~SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< DataObjectOperator >protectedvirtual
diff --git a/docs/html/classGpgFrontend_1_1DataObjectOperator.html b/docs/html/classGpgFrontend_1_1DataObjectOperator.html index 1c305d93..3d1157ed 100644 --- a/docs/html/classGpgFrontend_1_1DataObjectOperator.html +++ b/docs/html/classGpgFrontend_1_1DataObjectOperator.html @@ -96,9 +96,10 @@ Inheritance diagram for GpgFrontend::DataObjectOperator:
Inheritance graph
- - - + + + +
@@ -106,22 +107,12 @@ Collaboration diagram for GpgFrontend::DataObjectOperator:
Collaboration graph
- - - - - - - - - - - - - - - - + + + + + +
@@ -140,18 +131,37 @@ std::optional< nlohmann::json >  - - - + + + + + + + + + + + + + + + + + + + + + +
GetDataObjectByRef (const std::string &_ref)
 
- Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< DataObjectOperator >
int GetChannel () const
 Get the Channel object. More...
 
 SingletonFunctionObject (const SingletonFunctionObject< DataObjectOperator > &)=delete
 prohibit copy More...
 
 SingletonFunctionObject (DataObjectOperator &&)=delete
 Construct a new Singleton Function Object object. More...
 
 SingletonFunctionObject (const DataObjectOperator &)=delete
 Construct a new Singleton Function Object object. More...
 
SingletonFunctionObjectoperator= (const SingletonFunctionObject< DataObjectOperator > &)=delete
 prohibit copy More...
 
void operator= (const DataObjectOperator &)=delete
 
int GetChannel () const
 Get the Channel object. More...
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object. More...
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
@@ -191,17 +201,21 @@ Additional Inherited Members - - - - - - - - + + + + + + + + + + + + @@ -212,9 +226,6 @@ Additional Inherited Members - - -

Private Member Functions

static DataObjectOperatorGetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
 Get the Instance object. More...
 
static DataObjectOperatorCreateInstance (int channel, std::function< std::unique_ptr< DataObjectOperator >(void)> factory)
 Create a Instance object. More...
 
static DataObjectOperatorCreateInstance (int channel, std::unique_ptr< DataObjectOperator > p_obj=nullptr)
 Create a Instance object. More...
 
static DataObjectOperatorReleaseChannel (int channel)
 
static DataObjectOperatorCreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
static std::vector< int > GetAllChannelId ()
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
- Protected Member Functions inherited from GpgFrontend::SingletonFunctionObject< DataObjectOperator >
 SingletonFunctionObject ()=default
 Construct a new Singleton Function Object object. More...
virtual ~SingletonFunctionObject ()=default
 Destroy the Singleton Function Object object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Constructor & Destructor Documentation

@@ -410,9 +421,9 @@ Additional Inherited Members -
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::DataObjectOperator::app_secure_path_
std::filesystem::path app_secure_path_
Where sensitive information is stored.
Definition: DataObjectOperator.h:66
-
GpgFrontend::DataObjectOperator::global_setting_station_
GlobalSettingStation & global_setting_station_
GlobalSettingStation.
Definition: DataObjectOperator.h:64
+
GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::DataObjectOperator::app_secure_path_
std::filesystem::path app_secure_path_
Where sensitive information is stored.
Definition: DataObjectOperator.h:64
+
GpgFrontend::DataObjectOperator::global_setting_station_
GlobalSettingStation & global_setting_station_
GlobalSettingStation.
Definition: DataObjectOperator.h:62
diff --git a/docs/html/classGpgFrontend_1_1GlobalSettingStation.html b/docs/html/classGpgFrontend_1_1GlobalSettingStation.html index 69fefb47..c1ba04ae 100644 --- a/docs/html/classGpgFrontend_1_1GlobalSettingStation.html +++ b/docs/html/classGpgFrontend_1_1GlobalSettingStation.html @@ -96,9 +96,10 @@ Inheritance diagram for GpgFrontend::GlobalSettingStation:
Inheritance graph
- - - + + + +
@@ -106,18 +107,10 @@ Collaboration diagram for GpgFrontend::GlobalSettingStation:
Collaboration graph
- - - - - - - - - - - - + + + +
@@ -162,18 +155,37 @@ std::filesystem::path  - - - + + + + + + + + + + + + + + + + + + + + + +
GetA
 sync the settings to the file More...
 
- Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GlobalSettingStation >
int GetChannel () const
 Get the Channel object. More...
 
 SingletonFunctionObject (const SingletonFunctionObject< GlobalSettingStation > &)=delete
 prohibit copy More...
 
 SingletonFunctionObject (GlobalSettingStation &&)=delete
 Construct a new Singleton Function Object object. More...
 
 SingletonFunctionObject (const GlobalSettingStation &)=delete
 Construct a new Singleton Function Object object. More...
 
SingletonFunctionObjectoperator= (const SingletonFunctionObject< GlobalSettingStation > &)=delete
 prohibit copy More...
 
void operator= (const GlobalSettingStation &)=delete
 
int GetChannel () const
 Get the Channel object. More...
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object. More...
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
@@ -221,17 +233,21 @@ Additional Inherited Members - - - - - - - - + + + + + + + + + + + + @@ -242,9 +258,6 @@ Additional Inherited Members - - -

Private Member Functions

static GlobalSettingStationGetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
 Get the Instance object. More...
 
static GlobalSettingStationCreateInstance (int channel, std::function< std::unique_ptr< GlobalSettingStation >(void)> factory)
 Create a Instance object. More...
 
static GlobalSettingStationCreateInstance (int channel, std::unique_ptr< GlobalSettingStation > p_obj=nullptr)
 Create a Instance object. More...
 
static GlobalSettingStationReleaseChannel (int channel)
 
static GlobalSettingStationCreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
static std::vector< int > GetAllChannelId ()
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
- Protected Member Functions inherited from GpgFrontend::SingletonFunctionObject< GlobalSettingStation >
 SingletonFunctionObject ()=default
 Construct a new Singleton Function Object object. More...
virtual ~SingletonFunctionObject ()=default
 Destroy the Singleton Function Object object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Constructor & Destructor Documentation

@@ -387,7 +400,7 @@ Additional Inherited Members

Get the Locale Dir object.

Returns
std::filesystem::path
-

Referenced by GpgFrontend::UI::SettingsDialog::ListLanguages().

+

Referenced by GpgFrontend::UI::init_locale(), and GpgFrontend::UI::SettingsDialog::ListLanguages().

@@ -417,7 +430,7 @@ Additional Inherited Members

Get the Log Dir object.

Returns
std::filesystem::path
-

Referenced by GpgFrontend::init_logging().

+

Referenced by GpgFrontend::UI::init_logging_system(), and GpgFrontend::InitLoggingSystem().

@@ -447,7 +460,7 @@ Additional Inherited Members

Get the Resource Dir object.

Returns
std::filesystem::path
-

Referenced by GpgFrontend::UI::TranslatorsTab::TranslatorsTab().

+

Referenced by GpgFrontend::UI::InitGpgFrontendUI(), and GpgFrontend::UI::TranslatorsTab::TranslatorsTab().

@@ -531,7 +544,7 @@ Additional Inherited Members
Returns
libconfig::Setting&
-

Referenced by GpgFrontend::UI::KeyServerImportDialog::create_comboBox(), GpgFrontend::UI::KeyList::dropEvent(), GpgFrontend::UI::MainWindow::Init(), GpgFrontend::UI::KeyGenDialog::KeyGenDialog(), GpgFrontend::UI::KeyMgmt::KeyMgmt(), GpgFrontend::UI::KeyServerImportDialog::KeyServerImportDialog(), GpgFrontend::UI::MainWindow::restore_settings(), GpgFrontend::UI::MainWindow::save_settings(), GpgFrontend::UI::NetworkTab::SetSettings(), GpgFrontend::UI::KeyserverTab::SetSettings(), GpgFrontend::UI::GeneralTab::SetSettings(), GpgFrontend::UI::KeyUploadDialog::slot_upload_key_to_server(), GpgFrontend::UI::MainWindow::SlotFileEncrypt(), GpgFrontend::UI::MainWindow::SlotFileEncryptSign(), GpgFrontend::UI::MainWindow::SlotFileSign(), GpgFrontend::UI::MainWindow::SlotFileVerify(), GpgFrontend::UI::KeyServerImportDialog::SlotImport(), GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer(), GpgFrontend::UI::SubkeyGenerateDialog::SubkeyGenerateDialog(), and GpgFrontend::UI::Wizard::Wizard().

+

Referenced by GpgFrontend::UI::KeyList::dropEvent(), GpgFrontend::UI::MainWindow::Init(), GpgFrontend::UI::init_locale(), GpgFrontend::UI::KeyGenDialog::KeyGenDialog(), GpgFrontend::UI::KeyMgmt::KeyMgmt(), GpgFrontend::UI::MainWindow::restore_settings(), GpgFrontend::UI::MainWindow::save_settings(), GpgFrontend::UI::NetworkTab::SetSettings(), GpgFrontend::UI::KeyserverTab::SetSettings(), GpgFrontend::UI::GeneralTab::SetSettings(), GpgFrontend::UI::KeyUploadDialog::slot_upload_key_to_server(), GpgFrontend::UI::MainWindow::SlotFileEncrypt(), GpgFrontend::UI::MainWindow::SlotFileEncryptSign(), GpgFrontend::UI::MainWindow::SlotFileSign(), GpgFrontend::UI::MainWindow::SlotFileVerify(), GpgFrontend::UI::KeyServerImportDialog::SlotImport(), GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer(), GpgFrontend::UI::SubkeyGenerateDialog::SubkeyGenerateDialog(), and GpgFrontend::UI::Wizard::Wizard().

@@ -570,7 +583,7 @@ Additional Inherited Members

References ui_cfg_, and ui_config_path_.

-

Referenced by GpgFrontend::UI::KeyList::dropEvent(), GpgFrontend::UI::MainWindow::restore_settings(), and GpgFrontend::UI::MainWindow::save_settings().

+

Referenced by GpgFrontend::UI::KeyList::dropEvent(), GpgFrontend::UI::init_locale(), GpgFrontend::UI::MainWindow::restore_settings(), and GpgFrontend::UI::MainWindow::save_settings().

@@ -735,7 +748,7 @@ Additional Inherited Members
Initial value:
=
-
qApp->applicationDirPath().toStdString()
+
QCoreApplication::applicationDirPath().toStdString()

Program Location.

@@ -832,11 +845,11 @@ Additional Inherited Members
-
GpgFrontend::GlobalSettingStation::app_resource_path_
std::filesystem::path app_resource_path_
Program Data Location.
Definition: GlobalSettingStation.h:165
-
GpgFrontend::GlobalSettingStation::app_data_path_
std::filesystem::path app_data_path_
Program Data Location.
Definition: GlobalSettingStation.h:152
-
GpgFrontend::GlobalSettingStation::ui_config_dir_path_
std::filesystem::path ui_config_dir_path_
Configure File Directory Location.
Definition: GlobalSettingStation.h:180
-
GpgFrontend::GlobalSettingStation::app_path_
std::filesystem::path app_path_
Program Location.
Definition: GlobalSettingStation.h:150
-
GpgFrontend::GlobalSettingStation::app_configure_path_
std::filesystem::path app_configure_path_
Program Configure Location.
Definition: GlobalSettingStation.h:177
+
GpgFrontend::GlobalSettingStation::app_resource_path_
std::filesystem::path app_resource_path_
Program Data Location.
Definition: GlobalSettingStation.h:160
+
GpgFrontend::GlobalSettingStation::app_data_path_
std::filesystem::path app_data_path_
Program Data Location.
Definition: GlobalSettingStation.h:147
+
GpgFrontend::GlobalSettingStation::ui_config_dir_path_
std::filesystem::path ui_config_dir_path_
Configure File Directory Location.
Definition: GlobalSettingStation.h:175
+
GpgFrontend::GlobalSettingStation::app_path_
std::filesystem::path app_path_
Program Location.
Definition: GlobalSettingStation.h:145
+
GpgFrontend::GlobalSettingStation::app_configure_path_
std::filesystem::path app_configure_path_
Program Configure Location.
Definition: GlobalSettingStation.h:172
diff --git a/docs/html/classGpgFrontend_1_1GpgBasicOperator.html b/docs/html/classGpgFrontend_1_1GpgBasicOperator.html index 72fe1d98..40e15861 100644 --- a/docs/html/classGpgFrontend_1_1GpgBasicOperator.html +++ b/docs/html/classGpgFrontend_1_1GpgBasicOperator.html @@ -100,9 +100,10 @@ Inheritance diagram for GpgFrontend::GpgBasicOperator:
Inheritance graph
- - - + + + +
@@ -110,27 +111,19 @@ Collaboration diagram for GpgFrontend::GpgBasicOperator:
Collaboration graph
- - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +
@@ -167,18 +160,37 @@ Public Member Functions - - - + + + + + + + + + + + + + + + + + + + + + +
 Get a global signature private keys that has been set. More...
 
- Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgBasicOperator >
int GetChannel () const
 Get the Channel object. More...
 
 SingletonFunctionObject (const SingletonFunctionObject< GpgBasicOperator > &)=delete
 prohibit copy More...
 
 SingletonFunctionObject (GpgBasicOperator &&)=delete
 Construct a new Singleton Function Object object. More...
 
 SingletonFunctionObject (const GpgBasicOperator &)=delete
 Construct a new Singleton Function Object object. More...
 
SingletonFunctionObjectoperator= (const SingletonFunctionObject< GpgBasicOperator > &)=delete
 prohibit copy More...
 
void operator= (const GpgBasicOperator &)=delete
 
int GetChannel () const
 Get the Channel object. More...
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object. More...
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
@@ -192,17 +204,21 @@ Additional Inherited Members - - - - - - - - + + + + + + + + + + + + @@ -213,9 +229,6 @@ Additional Inherited Members - - -

Private Attributes

static GpgBasicOperatorGetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
 Get the Instance object. More...
 
static GpgBasicOperatorCreateInstance (int channel, std::function< std::unique_ptr< GpgBasicOperator >(void)> factory)
 Create a Instance object. More...
 
static GpgBasicOperatorCreateInstance (int channel, std::unique_ptr< GpgBasicOperator > p_obj=nullptr)
 Create a Instance object. More...
 
static GpgBasicOperatorReleaseChannel (int channel)
 
static GpgBasicOperatorCreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
static std::vector< int > GetAllChannelId ()
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
- Protected Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgBasicOperator >
 SingletonFunctionObject ()=default
 Construct a new Singleton Function Object object. More...
virtual ~SingletonFunctionObject ()=default
 Destroy the Singleton Function Object object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Detailed Description

Basic operation collection.

@@ -740,8 +753,8 @@ Additional Inherited Members
-
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
+
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
diff --git a/docs/html/classGpgFrontend_1_1GpgCommandExecutor.html b/docs/html/classGpgFrontend_1_1GpgCommandExecutor.html index 0e9ce0fb..d5e21c22 100644 --- a/docs/html/classGpgFrontend_1_1GpgCommandExecutor.html +++ b/docs/html/classGpgFrontend_1_1GpgCommandExecutor.html @@ -100,9 +100,10 @@ Inheritance diagram for GpgFrontend::GpgCommandExecutor:
Inheritance graph
- - - + + + +
@@ -110,27 +111,19 @@ Collaboration diagram for GpgFrontend::GpgCommandExecutor:
Collaboration graph
- - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +
@@ -143,18 +136,37 @@ Public Member Functions - - - + + + + + + + + + + + + + + + + + + + + + +
 Excuting an order. More...
 
- Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgCommandExecutor >
int GetChannel () const
 Get the Channel object. More...
 
 SingletonFunctionObject (const SingletonFunctionObject< GpgCommandExecutor > &)=delete
 prohibit copy More...
 
 SingletonFunctionObject (GpgCommandExecutor &&)=delete
 Construct a new Singleton Function Object object. More...
 
 SingletonFunctionObject (const GpgCommandExecutor &)=delete
 Construct a new Singleton Function Object object. More...
 
SingletonFunctionObjectoperator= (const SingletonFunctionObject< GpgCommandExecutor > &)=delete
 prohibit copy More...
 
void operator= (const GpgCommandExecutor &)=delete
 
int GetChannel () const
 Get the Channel object. More...
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object. More...
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
@@ -168,17 +180,21 @@ Additional Inherited Members - - - - - - - - + + + + + + + + + + + + @@ -189,9 +205,6 @@ Additional Inherited Members - - -

Private Attributes

static GpgCommandExecutorGetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
 Get the Instance object. More...
 
static GpgCommandExecutorCreateInstance (int channel, std::function< std::unique_ptr< GpgCommandExecutor >(void)> factory)
 Create a Instance object. More...
 
static GpgCommandExecutorCreateInstance (int channel, std::unique_ptr< GpgCommandExecutor > p_obj=nullptr)
 Create a Instance object. More...
 
static GpgCommandExecutorReleaseChannel (int channel)
 
static GpgCommandExecutorCreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
static std::vector< int > GetAllChannelId ()
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
- Protected Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgCommandExecutor >
 SingletonFunctionObject ()=default
 Construct a new Singleton Function Object object. More...
virtual ~SingletonFunctionObject ()=default
 Destroy the Singleton Function Object object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Detailed Description

Extra commands related to GPG.

@@ -311,8 +324,8 @@ Additional Inherited Members
-
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
+
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
diff --git a/docs/html/classGpgFrontend_1_1GpgContext.html b/docs/html/classGpgFrontend_1_1GpgContext.html index 74cc385f..ec5fbf1a 100644 --- a/docs/html/classGpgFrontend_1_1GpgContext.html +++ b/docs/html/classGpgFrontend_1_1GpgContext.html @@ -99,9 +99,10 @@ Inheritance diagram for GpgFrontend::GpgContext:
Inheritance graph
- - - + + + +
@@ -109,23 +110,17 @@ Collaboration diagram for GpgFrontend::GpgContext:
Collaboration graph
- - - - - - - - - - - - - - - - - + + + + + + + + + + +
@@ -156,18 +151,37 @@ Public Member Functions - - - + + + + + + + + + + + + + + + + + + + + + +
 Set the Passphrase Cb object. More...
 
- Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgContext >
int GetChannel () const
 Get the Channel object. More...
 
 SingletonFunctionObject (const SingletonFunctionObject< GpgContext > &)=delete
 prohibit copy More...
 
 SingletonFunctionObject (GpgContext &&)=delete
 Construct a new Singleton Function Object object. More...
 
 SingletonFunctionObject (const GpgContext &)=delete
 Construct a new Singleton Function Object object. More...
 
SingletonFunctionObjectoperator= (const SingletonFunctionObject< GpgContext > &)=delete
 prohibit copy More...
 
void operator= (const GpgContext &)=delete
 
int GetChannel () const
 Get the Channel object. More...
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object. More...
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
@@ -179,17 +193,21 @@ Static Public Member Functions - - - - - - - - + + + + + + + + + + + +

Static Public Member Functions

static GpgContextGetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
 Get the Instance object. More...
 
static GpgContextCreateInstance (int channel, std::function< std::unique_ptr< GpgContext >(void)> factory)
 Create a Instance object. More...
 
static GpgContextCreateInstance (int channel, std::unique_ptr< GpgContext > p_obj=nullptr)
 Create a Instance object. More...
 
static GpgContextReleaseChannel (int channel)
 
static GpgContextCreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
static std::vector< int > GetAllChannelId ()
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
@@ -229,9 +247,6 @@ Additional Inherited Members - - -

Private Types

virtual ~SingletonFunctionObject ()=default
 Destroy the Singleton Function Object object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Constructor & Destructor Documentation

diff --git a/docs/html/classGpgFrontend_1_1GpgContext__coll__graph.map b/docs/html/classGpgFrontend_1_1GpgContext__coll__graph.map index b329daa0..4cb1938e 100644 --- a/docs/html/classGpgFrontend_1_1GpgContext__coll__graph.map +++ b/docs/html/classGpgFrontend_1_1GpgContext__coll__graph.map @@ -1,19 +1,13 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1GpgContext__coll__graph.md5 b/docs/html/classGpgFrontend_1_1GpgContext__coll__graph.md5 index f1f2b198..a9803195 100644 --- a/docs/html/classGpgFrontend_1_1GpgContext__coll__graph.md5 +++ b/docs/html/classGpgFrontend_1_1GpgContext__coll__graph.md5 @@ -1 +1 @@ -c8c5c8ead5a393f666186835e9c4b7dc \ No newline at end of file +c5bcc7c96d717ea761c73e335d132cbf \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1GpgContext__coll__graph.png b/docs/html/classGpgFrontend_1_1GpgContext__coll__graph.png index d3908839..6eba2100 100644 Binary files a/docs/html/classGpgFrontend_1_1GpgContext__coll__graph.png and b/docs/html/classGpgFrontend_1_1GpgContext__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1GpgContext__inherit__graph.map b/docs/html/classGpgFrontend_1_1GpgContext__inherit__graph.map index 777350a9..81e94722 100644 --- a/docs/html/classGpgFrontend_1_1GpgContext__inherit__graph.map +++ b/docs/html/classGpgFrontend_1_1GpgContext__inherit__graph.map @@ -1,5 +1,6 @@ - - - + + + + diff --git a/docs/html/classGpgFrontend_1_1GpgContext__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1GpgContext__inherit__graph.md5 index 06723bc3..1e934484 100644 --- a/docs/html/classGpgFrontend_1_1GpgContext__inherit__graph.md5 +++ b/docs/html/classGpgFrontend_1_1GpgContext__inherit__graph.md5 @@ -1 +1 @@ -b3246c4cbc9bf116388395e6a666fae0 \ No newline at end of file +06031618fe5915f1f072a37ad7aa48f9 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1GpgContext__inherit__graph.png b/docs/html/classGpgFrontend_1_1GpgContext__inherit__graph.png index 513d9191..178ede75 100644 Binary files a/docs/html/classGpgFrontend_1_1GpgContext__inherit__graph.png and b/docs/html/classGpgFrontend_1_1GpgContext__inherit__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1GpgDecryptResultAnalyse.html b/docs/html/classGpgFrontend_1_1GpgDecryptResultAnalyse.html index c91bd1dd..8ccce7a4 100644 --- a/docs/html/classGpgFrontend_1_1GpgDecryptResultAnalyse.html +++ b/docs/html/classGpgFrontend_1_1GpgDecryptResultAnalyse.html @@ -272,7 +272,7 @@ bool analysed_ = false -

References GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::GpgKeyGetter::GetKey(), and GpgFrontend::GpgKey::GetName().

+

References GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::GpgKeyGetter::GetKey(), and GpgFrontend::GpgKey::GetName().

diff --git a/docs/html/classGpgFrontend_1_1GpgFileOpera-members.html b/docs/html/classGpgFrontend_1_1GpgFileOpera-members.html index caf0e468..8abd70a4 100644 --- a/docs/html/classGpgFrontend_1_1GpgFileOpera-members.html +++ b/docs/html/classGpgFrontend_1_1GpgFileOpera-members.html @@ -89,35 +89,34 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1GpgFileOpera.html'

This is the complete list of members for GpgFrontend::GpgFileOpera, including all inherited members.

- - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - + + + + - - - - - - + + + + + + +
_default_channel (defined in GpgFrontend::SingletonFunctionObject< GpgFileOpera >)GpgFrontend::SingletonFunctionObject< GpgFileOpera >privatestatic
_instance (defined in GpgFrontend::SingletonFunctionObject< GpgFileOpera >)GpgFrontend::SingletonFunctionObject< GpgFileOpera >privatestatic
_instance_mutex (defined in GpgFrontend::SingletonFunctionObject< GpgFileOpera >)GpgFrontend::SingletonFunctionObject< GpgFileOpera >privatestatic
_instances_map (defined in GpgFrontend::SingletonFunctionObject< GpgFileOpera >)GpgFrontend::SingletonFunctionObject< GpgFileOpera >privatestatic
_instances_mutex (defined in GpgFrontend::SingletonFunctionObject< GpgFileOpera >)GpgFrontend::SingletonFunctionObject< GpgFileOpera >privatestatic
channel_ (defined in GpgFrontend::SingletonFunctionObject< GpgFileOpera >)GpgFrontend::SingletonFunctionObject< GpgFileOpera >private
CreateInstance(int channel, std::function< std::unique_ptr< GpgFileOpera >(void)> factory)GpgFrontend::SingletonFunctionObject< GpgFileOpera >inlinestatic
CreateInstance(int channel, std::unique_ptr< GpgFileOpera > p_obj=nullptr)GpgFrontend::SingletonFunctionObject< GpgFileOpera >inlinestatic
DecryptFile(const std::string &in_path, const std::string &out_path, GpgDecrResult &result)GpgFrontend::GpgFileOperastatic
DecryptVerifyFile(const std::string &in_path, const std::string &out_path, GpgDecrResult &decr_res, GpgVerifyResult &verify_res)GpgFrontend::GpgFileOperastatic
EncryptFile(KeyListPtr keys, const std::string &in_path, const std::string &out_path, GpgEncrResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::GpgFileOperastatic
EncryptFileSymmetric(const std::string &in_path, const std::string &out_path, GpgEncrResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::GpgFileOperastatic
EncryptSignFile(KeyListPtr keys, KeyListPtr signer_keys, const std::string &in_path, const std::string &out_path, GpgEncrResult &encr_res, GpgSignResult &sign_res, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::GpgFileOperastatic
find_object_in_channel(int channel)GpgFrontend::SingletonFunctionObject< GpgFileOpera >inlineprivatestatic
GetChannel() constGpgFrontend::SingletonFunctionObject< GpgFileOpera >inline
_default_channelGpgFrontend::ChannelObjectprivatestatic
channel_GpgFrontend::ChannelObjectprivate
ChannelObject() noexceptGpgFrontend::ChannelObject
ChannelObject(int channel)GpgFrontend::ChannelObject
CreateInstance(int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)GpgFrontend::SingletonFunctionObject< GpgFileOpera >inlinestatic
DecryptFile(const std::string &in_path, const std::string &out_path, GpgDecrResult &result)GpgFrontend::GpgFileOperastatic
DecryptVerifyFile(const std::string &in_path, const std::string &out_path, GpgDecrResult &decr_res, GpgVerifyResult &verify_res)GpgFrontend::GpgFileOperastatic
EncryptFile(KeyListPtr keys, const std::string &in_path, const std::string &out_path, GpgEncrResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::GpgFileOperastatic
EncryptFileSymmetric(const std::string &in_path, const std::string &out_path, GpgEncrResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::GpgFileOperastatic
EncryptSignFile(KeyListPtr keys, KeyListPtr signer_keys, const std::string &in_path, const std::string &out_path, GpgEncrResult &encr_res, GpgSignResult &sign_res, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::GpgFileOperastatic
GetAllChannelId()GpgFrontend::SingletonFunctionObject< GpgFileOpera >inlinestatic
GetChannel() constGpgFrontend::SingletonFunctionObject< GpgFileOpera >inline
GpgFrontend::ChannelObject::GetChannel() constGpgFrontend::ChannelObject
GetDefaultChannel()GpgFrontend::SingletonFunctionObject< GpgFileOpera >inlinestatic
GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::SingletonFunctionObject< GpgFileOpera >inlinestatic
GpgFileOpera(int channel=SingletonFunctionObject::GetDefaultChannel())GpgFrontend::GpgFileOperaexplicit
operator=(const GpgFileOpera &)=delete (defined in GpgFrontend::SingletonFunctionObject< GpgFileOpera >)GpgFrontend::SingletonFunctionObject< GpgFileOpera >
ReleaseChannel(int channel)GpgFrontend::SingletonFunctionObject< GpgFileOpera >inlinestatic
set_object_in_channel(int channel, std::unique_ptr< GpgFileOpera > p_obj)GpgFrontend::SingletonFunctionObject< GpgFileOpera >inlineprivatestatic
SetChannel(int channel)GpgFrontend::SingletonFunctionObject< GpgFileOpera >inlineprotected
operator=(const SingletonFunctionObject< GpgFileOpera > &)=deleteGpgFrontend::SingletonFunctionObject< GpgFileOpera >
operator=(const GpgFileOpera &)=delete (defined in GpgFrontend::SingletonFunctionObject< GpgFileOpera >)GpgFrontend::SingletonFunctionObject< GpgFileOpera >
ReleaseChannel(int channel)GpgFrontend::SingletonFunctionObject< GpgFileOpera >inlinestatic
SetChannel(int channel)GpgFrontend::ChannelObject
SignFile(KeyListPtr keys, const std::string &in_path, const std::string &out_path, GpgSignResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::GpgFileOperastatic
SingletonFunctionObject(GpgFileOpera &&)=deleteGpgFrontend::SingletonFunctionObject< GpgFileOpera >
SingletonFunctionObject(const GpgFileOpera &)=deleteGpgFrontend::SingletonFunctionObject< GpgFileOpera >
SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< GpgFileOpera >protected
SingletonFunctionObject(int channel)GpgFrontend::SingletonFunctionObject< GpgFileOpera >inlineexplicitprotected
VerifyFile(const std::string &data_path, const std::string &sign_path, GpgVerifyResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::GpgFileOperastatic
~SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< GpgFileOpera >protectedvirtual
SingletonFunctionObject(const SingletonFunctionObject< GpgFileOpera > &)=deleteGpgFrontend::SingletonFunctionObject< GpgFileOpera >
SingletonFunctionObject(GpgFileOpera &&)=deleteGpgFrontend::SingletonFunctionObject< GpgFileOpera >
SingletonFunctionObject(const GpgFileOpera &)=deleteGpgFrontend::SingletonFunctionObject< GpgFileOpera >
SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< GpgFileOpera >protected
SingletonFunctionObject(int channel)GpgFrontend::SingletonFunctionObject< GpgFileOpera >inlineexplicitprotected
VerifyFile(const std::string &data_path, const std::string &sign_path, GpgVerifyResult &result, int _channel=GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::GpgFileOperastatic
~SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< GpgFileOpera >protectedvirtual
diff --git a/docs/html/classGpgFrontend_1_1GpgFileOpera.html b/docs/html/classGpgFrontend_1_1GpgFileOpera.html index 0fa1f5b9..20048fba 100644 --- a/docs/html/classGpgFrontend_1_1GpgFileOpera.html +++ b/docs/html/classGpgFrontend_1_1GpgFileOpera.html @@ -95,9 +95,10 @@ Inheritance diagram for GpgFrontend::GpgFileOpera:
Inheritance graph
- - - + + + +
@@ -105,18 +106,10 @@ Collaboration diagram for GpgFrontend::GpgFileOpera:
Collaboration graph
- - - - - - - - - - - - + + + +
@@ -125,18 +118,37 @@ Public Member Functions - - - + + + + + + + + + + + + + + + + + + + + + +
 GpgFileOpera (int channel=SingletonFunctionObject::GetDefaultChannel())
 
- Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgFileOpera >
int GetChannel () const
 Get the Channel object. More...
 
 SingletonFunctionObject (const SingletonFunctionObject< GpgFileOpera > &)=delete
 prohibit copy More...
 
 SingletonFunctionObject (GpgFileOpera &&)=delete
 Construct a new Singleton Function Object object. More...
 
 SingletonFunctionObject (const GpgFileOpera &)=delete
 Construct a new Singleton Function Object object. More...
 
SingletonFunctionObjectoperator= (const SingletonFunctionObject< GpgFileOpera > &)=delete
 prohibit copy More...
 
void operator= (const GpgFileOpera &)=delete
 
int GetChannel () const
 Get the Channel object. More...
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object. More...
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
@@ -160,17 +172,21 @@ Static Public Member Functions - - - - - - - - + + + + + + + + + + + +

Static Public Member Functions

static GpgFileOperaGetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
 Get the Instance object. More...
 
static GpgFileOperaCreateInstance (int channel, std::function< std::unique_ptr< GpgFileOpera >(void)> factory)
 Create a Instance object. More...
 
static GpgFileOperaCreateInstance (int channel, std::unique_ptr< GpgFileOpera > p_obj=nullptr)
 Create a Instance object. More...
 
static GpgFileOperaReleaseChannel (int channel)
 
static GpgFileOperaCreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
static std::vector< int > GetAllChannelId ()
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
@@ -184,9 +200,6 @@ Additional Inherited Members - - -

Additional Inherited Members

virtual ~SingletonFunctionObject ()=default
 Destroy the Singleton Function Object object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Constructor & Destructor Documentation

diff --git a/docs/html/classGpgFrontend_1_1GpgFileOpera__coll__graph.map b/docs/html/classGpgFrontend_1_1GpgFileOpera__coll__graph.map index 904649ed..a34bef25 100644 --- a/docs/html/classGpgFrontend_1_1GpgFileOpera__coll__graph.map +++ b/docs/html/classGpgFrontend_1_1GpgFileOpera__coll__graph.map @@ -1,14 +1,6 @@ - - - - - - - - - - - - + + + + diff --git a/docs/html/classGpgFrontend_1_1GpgFileOpera__coll__graph.md5 b/docs/html/classGpgFrontend_1_1GpgFileOpera__coll__graph.md5 index 3392a9ef..67f14fa1 100644 --- a/docs/html/classGpgFrontend_1_1GpgFileOpera__coll__graph.md5 +++ b/docs/html/classGpgFrontend_1_1GpgFileOpera__coll__graph.md5 @@ -1 +1 @@ -b74aaaebb1967a50361f90f2240e38d4 \ No newline at end of file +85e7ed79f88985ea3a5e87f5715fbdc6 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1GpgFileOpera__coll__graph.png b/docs/html/classGpgFrontend_1_1GpgFileOpera__coll__graph.png index 935251ae..19f9be7c 100644 Binary files a/docs/html/classGpgFrontend_1_1GpgFileOpera__coll__graph.png and b/docs/html/classGpgFrontend_1_1GpgFileOpera__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1GpgFileOpera__inherit__graph.map b/docs/html/classGpgFrontend_1_1GpgFileOpera__inherit__graph.map index 081e0dc4..a34bef25 100644 --- a/docs/html/classGpgFrontend_1_1GpgFileOpera__inherit__graph.map +++ b/docs/html/classGpgFrontend_1_1GpgFileOpera__inherit__graph.map @@ -1,5 +1,6 @@ - - - + + + + diff --git a/docs/html/classGpgFrontend_1_1GpgFileOpera__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1GpgFileOpera__inherit__graph.md5 index f3455d5e..67f14fa1 100644 --- a/docs/html/classGpgFrontend_1_1GpgFileOpera__inherit__graph.md5 +++ b/docs/html/classGpgFrontend_1_1GpgFileOpera__inherit__graph.md5 @@ -1 +1 @@ -a59fc0b0321adf481cba0607b24d4936 \ No newline at end of file +85e7ed79f88985ea3a5e87f5715fbdc6 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1GpgFileOpera__inherit__graph.png b/docs/html/classGpgFrontend_1_1GpgFileOpera__inherit__graph.png index 186bb356..19f9be7c 100644 Binary files a/docs/html/classGpgFrontend_1_1GpgFileOpera__inherit__graph.png and b/docs/html/classGpgFrontend_1_1GpgFileOpera__inherit__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1GpgKeyGetter-members.html b/docs/html/classGpgFrontend_1_1GpgKeyGetter-members.html index 22089e2a..d152c680 100644 --- a/docs/html/classGpgFrontend_1_1GpgKeyGetter-members.html +++ b/docs/html/classGpgFrontend_1_1GpgKeyGetter-members.html @@ -89,30 +89,34 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1GpgKeyGetter.html'

This is the complete list of members for GpgFrontend::GpgKeyGetter, including all inherited members.

- - - - - - - - - + + + + + + + - + + + - - - - - - - - + + + + + + + + + + + + - - - + + + diff --git a/docs/html/classGpgFrontend_1_1GpgKeyGetter.html b/docs/html/classGpgFrontend_1_1GpgKeyGetter.html index 1b7b6614..70ac729a 100644 --- a/docs/html/classGpgFrontend_1_1GpgKeyGetter.html +++ b/docs/html/classGpgFrontend_1_1GpgKeyGetter.html @@ -84,7 +84,7 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1GpgKeyGetter.html'
Public Member Functions | -Static Public Member Functions | +Private Member Functions | Private Attributes | List of all members
@@ -96,9 +96,10 @@ Inheritance diagram for GpgFrontend::GpgKeyGetter:
Inheritance graph
- - - + + + +
@@ -106,27 +107,25 @@ Collaboration diagram for GpgFrontend::GpgKeyGetter:
Collaboration graph
- - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + +
_default_channel (defined in GpgFrontend::SingletonFunctionObject< GpgKeyGetter >)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >privatestatic
_instance (defined in GpgFrontend::SingletonFunctionObject< GpgKeyGetter >)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >privatestatic
_instance_mutex (defined in GpgFrontend::SingletonFunctionObject< GpgKeyGetter >)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >privatestatic
_instances_map (defined in GpgFrontend::SingletonFunctionObject< GpgKeyGetter >)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >privatestatic
_instances_mutex (defined in GpgFrontend::SingletonFunctionObject< GpgKeyGetter >)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >privatestatic
channel_ (defined in GpgFrontend::SingletonFunctionObject< GpgKeyGetter >)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >private
CreateInstance(int channel, std::function< std::unique_ptr< GpgKeyGetter >(void)> factory)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >inlinestatic
CreateInstance(int channel, std::unique_ptr< GpgKeyGetter > p_obj=nullptr)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >inlinestatic
ctx_ (defined in GpgFrontend::GpgKeyGetter)GpgFrontend::GpgKeyGetterprivate
_default_channelGpgFrontend::ChannelObjectprivatestatic
channel_GpgFrontend::ChannelObjectprivate
ChannelObject() noexceptGpgFrontend::ChannelObject
ChannelObject(int channel)GpgFrontend::ChannelObject
CreateInstance(int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >inlinestatic
ctx_GpgFrontend::GpgKeyGetterprivate
ctx_mutex_GpgFrontend::GpgKeyGettermutableprivate
FetchKey()GpgFrontend::GpgKeyGetter
find_object_in_channel(int channel)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >inlineprivatestatic
FlushKeyCache()GpgFrontend::GpgKeyGetter
get_key_in_cache(const std::string &id)GpgFrontend::GpgKeyGetterprivate
GetAllChannelId()GpgFrontend::SingletonFunctionObject< GpgKeyGetter >inlinestatic
GetChannel() constGpgFrontend::SingletonFunctionObject< GpgKeyGetter >inline
GetDefaultChannel()GpgFrontend::SingletonFunctionObject< GpgKeyGetter >inlinestatic
GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >inlinestatic
GetKey(const std::string &fpr)GpgFrontend::GpgKeyGetter
GetKeys(const KeyIdArgsListPtr &ids)GpgFrontend::GpgKeyGetter
GetKeysCopy(const KeyListPtr &keys)GpgFrontend::GpgKeyGetterstatic
GetKeysCopy(const KeyLinkListPtr &keys)GpgFrontend::GpgKeyGetterstatic
GetPubkey(const std::string &fpr)GpgFrontend::GpgKeyGetter
GpgKeyGetter(int channel=SingletonFunctionObject::GetDefaultChannel())GpgFrontend::GpgKeyGetterexplicit
GpgFrontend::ChannelObject::GetChannel() constGpgFrontend::ChannelObject
GetDefaultChannel()GpgFrontend::SingletonFunctionObject< GpgKeyGetter >inlinestatic
GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >inlinestatic
GetKey(const std::string &id, bool use_cache=true)GpgFrontend::GpgKeyGetter
GetKeys(const KeyIdArgsListPtr &ids)GpgFrontend::GpgKeyGetter
GetKeysCopy(const KeyListPtr &keys)GpgFrontend::GpgKeyGetter
GetKeysCopy(const KeyLinkListPtr &keys)GpgFrontend::GpgKeyGetter
GetPubkey(const std::string &id, bool use_cache=true)GpgFrontend::GpgKeyGetter
GpgKeyGetter(int channel=SingletonFunctionObject::GetDefaultChannel())GpgFrontend::GpgKeyGetterexplicit
keys_cache_GpgFrontend::GpgKeyGetterprivate
keys_cache_mutex_GpgFrontend::GpgKeyGettermutableprivate
operator=(const SingletonFunctionObject< GpgKeyGetter > &)=deleteGpgFrontend::SingletonFunctionObject< GpgKeyGetter >
operator=(const GpgKeyGetter &)=delete (defined in GpgFrontend::SingletonFunctionObject< GpgKeyGetter >)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >
ReleaseChannel(int channel)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >inlinestatic
set_object_in_channel(int channel, std::unique_ptr< GpgKeyGetter > p_obj)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >inlineprivatestatic
SetChannel(int channel)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >inlineprotected
ReleaseChannel(int channel)GpgFrontend::SingletonFunctionObject< GpgKeyGetter >inlinestatic
SetChannel(int channel)GpgFrontend::ChannelObject
SingletonFunctionObject(const SingletonFunctionObject< GpgKeyGetter > &)=deleteGpgFrontend::SingletonFunctionObject< GpgKeyGetter >
SingletonFunctionObject(GpgKeyGetter &&)=deleteGpgFrontend::SingletonFunctionObject< GpgKeyGetter >
SingletonFunctionObject(const GpgKeyGetter &)=deleteGpgFrontend::SingletonFunctionObject< GpgKeyGetter >
SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< GpgKeyGetter >protected
@@ -135,62 +134,102 @@ Public Member Functions - - - + + + - - - + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + +
 GpgKeyGetter (int channel=SingletonFunctionObject::GetDefaultChannel())
 Construct a new Gpg Key Getter object. More...
 
GpgKey GetKey (const std::string &fpr)
 Get the Key object. More...
 
GpgKey GetKey (const std::string &id, bool use_cache=true)
 Get the Key object. More...
 
KeyListPtr GetKeys (const KeyIdArgsListPtr &ids)
 Get the Keys object. More...
 
GpgKey GetPubkey (const std::string &fpr)
 Get the Pubkey object. More...
 
GpgKey GetPubkey (const std::string &id, bool use_cache=true)
 Get the Pubkey object. More...
 
KeyLinkListPtr FetchKey ()
 Get all the keys by receiving a linked list. More...
 
void FlushKeyCache ()
 flush the keys in the cache More...
 
KeyListPtr GetKeysCopy (const KeyListPtr &keys)
 Get the Keys Copy object. More...
 
KeyLinkListPtr GetKeysCopy (const KeyLinkListPtr &keys)
 Get the Keys Copy object. More...
 
- Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgKeyGetter >
int GetChannel () const
 Get the Channel object. More...
 
 SingletonFunctionObject (const SingletonFunctionObject< GpgKeyGetter > &)=delete
 prohibit copy More...
 
 SingletonFunctionObject (GpgKeyGetter &&)=delete
 Construct a new Singleton Function Object object. More...
 
 SingletonFunctionObject (const GpgKeyGetter &)=delete
 Construct a new Singleton Function Object object. More...
 
SingletonFunctionObjectoperator= (const SingletonFunctionObject< GpgKeyGetter > &)=delete
 prohibit copy More...
 
void operator= (const GpgKeyGetter &)=delete
 
int GetChannel () const
 Get the Channel object. More...
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object. More...
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
- - - - - - - + + + + +

-Static Public Member Functions

static KeyListPtr GetKeysCopy (const KeyListPtr &keys)
 Get the Keys Copy object. More...
 
static KeyLinkListPtr GetKeysCopy (const KeyLinkListPtr &keys)
 Get the Keys Copy object. More...
 

+Private Member Functions

GpgKey get_key_in_cache (const std::string &id)
 Get the Key object. More...
 
+ + + + + + + + + + + + + +

+Private Attributes

GpgContextctx_
 Get the gpgme context object. More...
 
std::mutex ctx_mutex_
 shared mutex for the keys cache More...
 
std::map< std::string, GpgKeykeys_cache_
 cache the keys with key id More...
 
std::mutex keys_cache_mutex_
 shared mutex for the keys cache More...
 
+ - - - - - - - - + + + + + -

+Additional Inherited Members

- Static Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgKeyGetter >
static GpgKeyGetterGetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
 Get the Instance object. More...
 
static GpgKeyGetterCreateInstance (int channel, std::function< std::unique_ptr< GpgKeyGetter >(void)> factory)
 Create a Instance object. More...
 
static GpgKeyGetterCreateInstance (int channel, std::unique_ptr< GpgKeyGetter > p_obj=nullptr)
 Create a Instance object. More...
 
static GpgKeyGetterReleaseChannel (int channel)
 
static GpgKeyGetterCreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
- - - -

-Private Attributes

GpgContextctx_
 
- + + + + + + + @@ -201,9 +240,6 @@ Additional Inherited Members - - -

-Additional Inherited Members

static std::vector< int > GetAllChannelId ()
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
- Protected Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgKeyGetter >
 SingletonFunctionObject ()=default
 Construct a new Singleton Function Object object. More...
virtual ~SingletonFunctionObject ()=default
 Destroy the Singleton Function Object object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Constructor & Destructor Documentation

@@ -262,16 +298,74 @@ Additional Inherited Members
-
Returns
KeyLinkListPtr
-

References GpgFrontend::check_gpg_error_2_err_code().

+

Get all the keys by receiving a linked list.

+
Returns
KeyLinkListPtr

Referenced by GpgFrontend::UI::KeyTable::Refresh().

- -

◆ GetKey()

+ +

◆ FlushKeyCache()

+ +
+
+ + + + + + + +
void GpgFrontend::GpgKeyGetter::FlushKeyCache ()
+
+ +

flush the keys in the cache

+ +

References GpgFrontend::check_gpg_error_2_err_code().

+ +

Referenced by GpgFrontend::Thread::CtxCheckTask::Run(), and GpgFrontend::UI::CommonUtils::slot_update_key_status().

+ +
+
+ +

◆ get_key_in_cache()

+ +
+
+ + + + + +
+ + + + + + + + +
GpgFrontend::GpgKey GpgFrontend::GpgKeyGetter::get_key_in_cache (const std::string & id)
+
+private
+
+ +

Get the Key object.

+
Parameters
+ + +
id
+
+
+
Returns
GpgKey
+ +
+
+ +

◆ GetKey()

@@ -280,8 +374,18 @@ Additional Inherited Members GpgFrontend::GpgKey GpgFrontend::GpgKeyGetter::GetKey ( const std::string &  - fpr) + id, + + + + bool  + use_cache = true  + + + + ) +
@@ -333,9 +437,6 @@ Additional Inherited Members
- - - - - -
@@ -345,11 +446,6 @@ Additional Inherited Members
GpgFrontend::KeyLinkListPtr GpgFrontend::GpgKeyGetter::GetKeysCopy
-
-static

Get the Keys Copy object.

@@ -368,9 +464,6 @@ Additional Inherited Members
- - - - - -
@@ -380,11 +473,6 @@ Additional Inherited Members
GpgFrontend::KeyListPtr GpgFrontend::GpgKeyGetter::GetKeysCopy
-
-static

Get the Keys Copy object.

@@ -398,8 +486,8 @@ Additional Inherited Members
- -

◆ GetPubkey()

+ +

◆ GetPubkey()

@@ -408,8 +496,18 @@ Additional Inherited Members GpgFrontend::GpgKey GpgFrontend::GpgKeyGetter::GetPubkey ( const std::string &  - fpr) + id, + + + + bool  + use_cache = true  + + + + ) +
@@ -448,6 +546,80 @@ Additional Inherited Members Initial value: +

Get the gpgme context object.

+ +
+
+ +

◆ ctx_mutex_

+ +
+
+ + + + + +
+ + + + +
std::mutex GpgFrontend::GpgKeyGetter::ctx_mutex_
+
+mutableprivate
+
+ +

shared mutex for the keys cache

+ +
+
+ +

◆ keys_cache_

+ +
+
+ + + + + +
+ + + + +
std::map<std::string, GpgKey> GpgFrontend::GpgKeyGetter::keys_cache_
+
+private
+
+ +

cache the keys with key id

+ +
+
+ +

◆ keys_cache_mutex_

+ +
+
+ + + + + +
+ + + + +
std::mutex GpgFrontend::GpgKeyGetter::keys_cache_mutex_
+
+mutableprivate
+
+ +

shared mutex for the keys cache

+

The documentation for this class was generated from the following files:
    @@ -456,8 +628,8 @@ Additional Inherited Members
-
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
+
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
diff --git a/docs/html/classGpgFrontend_1_1GpgKeyImportExporter.html b/docs/html/classGpgFrontend_1_1GpgKeyImportExporter.html index df160c7c..75538311 100644 --- a/docs/html/classGpgFrontend_1_1GpgKeyImportExporter.html +++ b/docs/html/classGpgFrontend_1_1GpgKeyImportExporter.html @@ -95,9 +95,10 @@ Inheritance diagram for GpgFrontend::GpgKeyImportExporter:
Inheritance graph
- - - + + + +
@@ -105,27 +106,19 @@ Collaboration diagram for GpgFrontend::GpgKeyImportExporter:
Collaboration graph
- - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +
@@ -149,18 +142,37 @@ Public Member Functions - - - + + + + + + + + + + + + + + + + + + + + + +
bool ExportSecretKeyShortest (const GpgKey &key, ByteArrayPtr &outBuffer) const
 
- Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgKeyImportExporter >
int GetChannel () const
 Get the Channel object. More...
 
 SingletonFunctionObject (const SingletonFunctionObject< GpgKeyImportExporter > &)=delete
 prohibit copy More...
 
 SingletonFunctionObject (GpgKeyImportExporter &&)=delete
 Construct a new Singleton Function Object object. More...
 
 SingletonFunctionObject (const GpgKeyImportExporter &)=delete
 Construct a new Singleton Function Object object. More...
 
SingletonFunctionObjectoperator= (const SingletonFunctionObject< GpgKeyImportExporter > &)=delete
 prohibit copy More...
 
void operator= (const GpgKeyImportExporter &)=delete
 
int GetChannel () const
 Get the Channel object. More...
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object. More...
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
@@ -173,17 +185,21 @@ Additional Inherited Members - - - - - - - - + + + + + + + + + + + + @@ -194,9 +210,6 @@ Additional Inherited Members - - -

Private Attributes

static GpgKeyImportExporterGetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
 Get the Instance object. More...
 
static GpgKeyImportExporterCreateInstance (int channel, std::function< std::unique_ptr< GpgKeyImportExporter >(void)> factory)
 Create a Instance object. More...
 
static GpgKeyImportExporterCreateInstance (int channel, std::unique_ptr< GpgKeyImportExporter > p_obj=nullptr)
 Create a Instance object. More...
 
static GpgKeyImportExporterReleaseChannel (int channel)
 
static GpgKeyImportExporterCreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
static std::vector< int > GetAllChannelId ()
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
- Protected Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgKeyImportExporter >
 SingletonFunctionObject ()=default
 Construct a new Singleton Function Object object. More...
virtual ~SingletonFunctionObject ()=default
 Destroy the Singleton Function Object object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Constructor & Destructor Documentation

@@ -586,8 +599,8 @@ false -
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
+
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
diff --git a/docs/html/classGpgFrontend_1_1GpgKeyManager.html b/docs/html/classGpgFrontend_1_1GpgKeyManager.html index 9abc245e..09809f9a 100644 --- a/docs/html/classGpgFrontend_1_1GpgKeyManager.html +++ b/docs/html/classGpgFrontend_1_1GpgKeyManager.html @@ -95,9 +95,10 @@ Inheritance diagram for GpgFrontend::GpgKeyManager:
Inheritance graph
- - - + + + +
@@ -105,27 +106,19 @@ Collaboration diagram for GpgFrontend::GpgKeyManager:
Collaboration graph
- - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +
@@ -143,18 +136,37 @@ Public Member Functions - - - + + + + + + + + + + + + + + + + + + + + + +
 Set the Expire object. More...
 
- Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgKeyManager >
int GetChannel () const
 Get the Channel object. More...
 
 SingletonFunctionObject (const SingletonFunctionObject< GpgKeyManager > &)=delete
 prohibit copy More...
 
 SingletonFunctionObject (GpgKeyManager &&)=delete
 Construct a new Singleton Function Object object. More...
 
 SingletonFunctionObject (const GpgKeyManager &)=delete
 Construct a new Singleton Function Object object. More...
 
SingletonFunctionObjectoperator= (const SingletonFunctionObject< GpgKeyManager > &)=delete
 prohibit copy More...
 
void operator= (const GpgKeyManager &)=delete
 
int GetChannel () const
 Get the Channel object. More...
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object. More...
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
@@ -167,17 +179,21 @@ Additional Inherited Members - - - - - - - - + + + + + + + + + + + + @@ -188,9 +204,6 @@ Additional Inherited Members - - -

Private Attributes

static GpgKeyManagerGetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
 Get the Instance object. More...
 
static GpgKeyManagerCreateInstance (int channel, std::function< std::unique_ptr< GpgKeyManager >(void)> factory)
 Create a Instance object. More...
 
static GpgKeyManagerCreateInstance (int channel, std::unique_ptr< GpgKeyManager > p_obj=nullptr)
 Create a Instance object. More...
 
static GpgKeyManagerReleaseChannel (int channel)
 
static GpgKeyManagerCreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
static std::vector< int > GetAllChannelId ()
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
- Protected Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgKeyManager >
 SingletonFunctionObject ()=default
 Construct a new Singleton Function Object object. More...
virtual ~SingletonFunctionObject ()=default
 Destroy the Singleton Function Object object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Constructor & Destructor Documentation

@@ -408,8 +421,8 @@ false -
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
+
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
diff --git a/docs/html/classGpgFrontend_1_1GpgKeyOpera.html b/docs/html/classGpgFrontend_1_1GpgKeyOpera.html index af50e390..3f8a129a 100644 --- a/docs/html/classGpgFrontend_1_1GpgKeyOpera.html +++ b/docs/html/classGpgFrontend_1_1GpgKeyOpera.html @@ -96,9 +96,10 @@ Inheritance diagram for GpgFrontend::GpgKeyOpera:
Inheritance graph
- - - + + + +
@@ -106,27 +107,19 @@ Collaboration diagram for GpgFrontend::GpgKeyOpera:
Collaboration graph
- - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +
@@ -151,18 +144,37 @@ Public Member Functions - - - + + + + + + + + + + + + + + + + + + + + + +
GpgFrontend::GpgError GenerateSubkey (const GpgKey &key, const std::unique_ptr< GenKeyInfo > &params)
 
- Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgKeyOpera >
int GetChannel () const
 Get the Channel object. More...
 
 SingletonFunctionObject (const SingletonFunctionObject< GpgKeyOpera > &)=delete
 prohibit copy More...
 
 SingletonFunctionObject (GpgKeyOpera &&)=delete
 Construct a new Singleton Function Object object. More...
 
 SingletonFunctionObject (const GpgKeyOpera &)=delete
 Construct a new Singleton Function Object object. More...
 
SingletonFunctionObjectoperator= (const SingletonFunctionObject< GpgKeyOpera > &)=delete
 prohibit copy More...
 
void operator= (const GpgKeyOpera &)=delete
 
int GetChannel () const
 Get the Channel object. More...
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object. More...
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
@@ -172,17 +184,21 @@ Static Public Member Functions - - - - - - - - + + + + + + + + + + + +

Static Public Member Functions

static GpgKeyOperaGetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
 Get the Instance object. More...
 
static GpgKeyOperaCreateInstance (int channel, std::function< std::unique_ptr< GpgKeyOpera >(void)> factory)
 Create a Instance object. More...
 
static GpgKeyOperaCreateInstance (int channel, std::unique_ptr< GpgKeyOpera > p_obj=nullptr)
 Create a Instance object. More...
 
static GpgKeyOperaReleaseChannel (int channel)
 
static GpgKeyOperaCreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
static std::vector< int > GetAllChannelId ()
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
@@ -201,9 +217,6 @@ Additional Inherited Members - - -

Private Attributes

virtual ~SingletonFunctionObject ()=default
 Destroy the Singleton Function Object object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Constructor & Destructor Documentation

@@ -295,7 +308,7 @@ Additional Inherited Members -

References GpgFrontend::check_gpg_error(), GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), and GpgFrontend::GpgKeyGetter::GetKey().

+

References GpgFrontend::check_gpg_error(), GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), and GpgFrontend::GpgKeyGetter::GetKey().

Referenced by GpgFrontend::UI::KeyMgmt::delete_keys_with_warning().

@@ -596,8 +609,8 @@ Additional Inherited Members -
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
+
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
diff --git a/docs/html/classGpgFrontend_1_1GpgUIDOperator.html b/docs/html/classGpgFrontend_1_1GpgUIDOperator.html index dc4c291b..2c205fec 100644 --- a/docs/html/classGpgFrontend_1_1GpgUIDOperator.html +++ b/docs/html/classGpgFrontend_1_1GpgUIDOperator.html @@ -95,9 +95,10 @@ Inheritance diagram for GpgFrontend::GpgUIDOperator:
Inheritance graph
- - - + + + +
@@ -105,27 +106,19 @@ Collaboration diagram for GpgFrontend::GpgUIDOperator:
Collaboration graph
- - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +
@@ -143,18 +136,37 @@ Public Member Functions - - - + + + + + + + + + + + + + + + + + + + + + +
bool SetPrimaryUID (const GpgKey &key, const std::string &uid)
 
- Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgUIDOperator >
int GetChannel () const
 Get the Channel object. More...
 
 SingletonFunctionObject (const SingletonFunctionObject< GpgUIDOperator > &)=delete
 prohibit copy More...
 
 SingletonFunctionObject (GpgUIDOperator &&)=delete
 Construct a new Singleton Function Object object. More...
 
 SingletonFunctionObject (const GpgUIDOperator &)=delete
 Construct a new Singleton Function Object object. More...
 
SingletonFunctionObjectoperator= (const SingletonFunctionObject< GpgUIDOperator > &)=delete
 prohibit copy More...
 
void operator= (const GpgUIDOperator &)=delete
 
int GetChannel () const
 Get the Channel object. More...
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object. More...
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
@@ -167,17 +179,21 @@ Additional Inherited Members - - - - - - - - + + + + + + + + + + + + @@ -188,9 +204,6 @@ Additional Inherited Members - - -

Private Attributes

static GpgUIDOperatorGetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
 Get the Instance object. More...
 
static GpgUIDOperatorCreateInstance (int channel, std::function< std::unique_ptr< GpgUIDOperator >(void)> factory)
 Create a Instance object. More...
 
static GpgUIDOperatorCreateInstance (int channel, std::unique_ptr< GpgUIDOperator > p_obj=nullptr)
 Create a Instance object. More...
 
static GpgUIDOperatorReleaseChannel (int channel)
 
static GpgUIDOperatorCreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
static std::vector< int > GetAllChannelId ()
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
- Protected Member Functions inherited from GpgFrontend::SingletonFunctionObject< GpgUIDOperator >
 SingletonFunctionObject ()=default
 Construct a new Singleton Function Object object. More...
virtual ~SingletonFunctionObject ()=default
 Destroy the Singleton Function Object object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Constructor & Destructor Documentation

@@ -430,8 +443,8 @@ Additional Inherited Members -
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:57
-
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:134
+
GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance
static GpgContext & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
+
GpgFrontend::SingletonFunctionObject::GetChannel
int GetChannel() const
Get the Channel object.
Definition: GpgFunctionObject.h:239
diff --git a/docs/html/classGpgFrontend_1_1PassphraseGenerator-members.html b/docs/html/classGpgFrontend_1_1PassphraseGenerator-members.html index a3bd86d7..139cb245 100644 --- a/docs/html/classGpgFrontend_1_1PassphraseGenerator-members.html +++ b/docs/html/classGpgFrontend_1_1PassphraseGenerator-members.html @@ -89,31 +89,30 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1PassphraseGenerato

This is the complete list of members for GpgFrontend::PassphraseGenerator, including all inherited members.

- - - - - - - - - + + + + + - + + + - - - - - - - - - - - + + + + + + + + + + + +
_default_channel (defined in GpgFrontend::SingletonFunctionObject< PassphraseGenerator >)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >privatestatic
_instance (defined in GpgFrontend::SingletonFunctionObject< PassphraseGenerator >)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >privatestatic
_instance_mutex (defined in GpgFrontend::SingletonFunctionObject< PassphraseGenerator >)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >privatestatic
_instances_map (defined in GpgFrontend::SingletonFunctionObject< PassphraseGenerator >)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >privatestatic
_instances_mutex (defined in GpgFrontend::SingletonFunctionObject< PassphraseGenerator >)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >privatestatic
channel_ (defined in GpgFrontend::SingletonFunctionObject< PassphraseGenerator >)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >private
CreateInstance(int channel, std::function< std::unique_ptr< PassphraseGenerator >(void)> factory)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >inlinestatic
CreateInstance(int channel, std::unique_ptr< PassphraseGenerator > p_obj=nullptr)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >inlinestatic
find_object_in_channel(int channel)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >inlineprivatestatic
_default_channelGpgFrontend::ChannelObjectprivatestatic
channel_GpgFrontend::ChannelObjectprivate
ChannelObject() noexceptGpgFrontend::ChannelObject
ChannelObject(int channel)GpgFrontend::ChannelObject
CreateInstance(int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >inlinestatic
Generate(int len)GpgFrontend::PassphraseGeneratorinline
GetChannel() constGpgFrontend::SingletonFunctionObject< PassphraseGenerator >inline
GetAllChannelId()GpgFrontend::SingletonFunctionObject< PassphraseGenerator >inlinestatic
GetChannel() constGpgFrontend::SingletonFunctionObject< PassphraseGenerator >inline
GpgFrontend::ChannelObject::GetChannel() constGpgFrontend::ChannelObject
GetDefaultChannel()GpgFrontend::SingletonFunctionObject< PassphraseGenerator >inlinestatic
GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >inlinestatic
mt_GpgFrontend::PassphraseGenerator
operator=(const PassphraseGenerator &)=delete (defined in GpgFrontend::SingletonFunctionObject< PassphraseGenerator >)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >
PassphraseGenerator(int channel=SingletonFunctionObject::GetDefaultChannel())GpgFrontend::PassphraseGeneratorinlineexplicit
rd_GpgFrontend::PassphraseGenerator
ReleaseChannel(int channel)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >inlinestatic
set_object_in_channel(int channel, std::unique_ptr< PassphraseGenerator > p_obj)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >inlineprivatestatic
SetChannel(int channel)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >inlineprotected
SingletonFunctionObject(PassphraseGenerator &&)=deleteGpgFrontend::SingletonFunctionObject< PassphraseGenerator >
SingletonFunctionObject(const PassphraseGenerator &)=deleteGpgFrontend::SingletonFunctionObject< PassphraseGenerator >
SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< PassphraseGenerator >protected
SingletonFunctionObject(int channel)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >inlineexplicitprotected
~SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< PassphraseGenerator >protectedvirtual
operator=(const SingletonFunctionObject< PassphraseGenerator > &)=deleteGpgFrontend::SingletonFunctionObject< PassphraseGenerator >
operator=(const PassphraseGenerator &)=delete (defined in GpgFrontend::SingletonFunctionObject< PassphraseGenerator >)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >
PassphraseGenerator(int channel=SingletonFunctionObject::GetDefaultChannel())GpgFrontend::PassphraseGeneratorinlineexplicit
rd_GpgFrontend::PassphraseGenerator
ReleaseChannel(int channel)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >inlinestatic
SetChannel(int channel)GpgFrontend::ChannelObject
SingletonFunctionObject(const SingletonFunctionObject< PassphraseGenerator > &)=deleteGpgFrontend::SingletonFunctionObject< PassphraseGenerator >
SingletonFunctionObject(PassphraseGenerator &&)=deleteGpgFrontend::SingletonFunctionObject< PassphraseGenerator >
SingletonFunctionObject(const PassphraseGenerator &)=deleteGpgFrontend::SingletonFunctionObject< PassphraseGenerator >
SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< PassphraseGenerator >protected
SingletonFunctionObject(int channel)GpgFrontend::SingletonFunctionObject< PassphraseGenerator >inlineexplicitprotected
~SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< PassphraseGenerator >protectedvirtual
diff --git a/docs/html/classGpgFrontend_1_1PassphraseGenerator.html b/docs/html/classGpgFrontend_1_1PassphraseGenerator.html index 1867df12..4bdb9f91 100644 --- a/docs/html/classGpgFrontend_1_1PassphraseGenerator.html +++ b/docs/html/classGpgFrontend_1_1PassphraseGenerator.html @@ -100,9 +100,10 @@ Inheritance diagram for GpgFrontend::PassphraseGenerator:
Inheritance graph
- - - + + + +
@@ -110,18 +111,10 @@ Collaboration diagram for GpgFrontend::PassphraseGenerator:
Collaboration graph
- - - - - - - - - - - - + + + +
@@ -134,18 +127,37 @@ Public Member Functions - - - + + + + + + + + + + + + + + + + + + + + + +
 generate passphrase More...
 
- Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< PassphraseGenerator >
int GetChannel () const
 Get the Channel object. More...
 
 SingletonFunctionObject (const SingletonFunctionObject< PassphraseGenerator > &)=delete
 prohibit copy More...
 
 SingletonFunctionObject (PassphraseGenerator &&)=delete
 Construct a new Singleton Function Object object. More...
 
 SingletonFunctionObject (const PassphraseGenerator &)=delete
 Construct a new Singleton Function Object object. More...
 
SingletonFunctionObjectoperator= (const SingletonFunctionObject< PassphraseGenerator > &)=delete
 prohibit copy More...
 
void operator= (const PassphraseGenerator &)=delete
 
int GetChannel () const
 Get the Channel object. More...
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object. More...
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
@@ -164,17 +176,21 @@ Additional Inherited Members - - - - - - - - + + + + + + + + + + + + @@ -185,9 +201,6 @@ Additional Inherited Members - - -

Public Attributes

static PassphraseGeneratorGetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
 Get the Instance object. More...
 
static PassphraseGeneratorCreateInstance (int channel, std::function< std::unique_ptr< PassphraseGenerator >(void)> factory)
 Create a Instance object. More...
 
static PassphraseGeneratorCreateInstance (int channel, std::unique_ptr< PassphraseGenerator > p_obj=nullptr)
 Create a Instance object. More...
 
static PassphraseGeneratorReleaseChannel (int channel)
 
static PassphraseGeneratorCreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
static std::vector< int > GetAllChannelId ()
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
- Protected Member Functions inherited from GpgFrontend::SingletonFunctionObject< PassphraseGenerator >
 SingletonFunctionObject ()=default
 Construct a new Singleton Function Object object. More...
virtual ~SingletonFunctionObject ()=default
 Destroy the Singleton Function Object object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 

Detailed Description

The PassphraseGenerator class.

diff --git a/docs/html/classGpgFrontend_1_1PassphraseGenerator__coll__graph.map b/docs/html/classGpgFrontend_1_1PassphraseGenerator__coll__graph.map index fbe22942..3881f89f 100644 --- a/docs/html/classGpgFrontend_1_1PassphraseGenerator__coll__graph.map +++ b/docs/html/classGpgFrontend_1_1PassphraseGenerator__coll__graph.map @@ -1,14 +1,6 @@ - - - - - - - - - - - - + + + + diff --git a/docs/html/classGpgFrontend_1_1PassphraseGenerator__coll__graph.md5 b/docs/html/classGpgFrontend_1_1PassphraseGenerator__coll__graph.md5 index da3c13ed..5b0ae78e 100644 --- a/docs/html/classGpgFrontend_1_1PassphraseGenerator__coll__graph.md5 +++ b/docs/html/classGpgFrontend_1_1PassphraseGenerator__coll__graph.md5 @@ -1 +1 @@ -586eec749f8cf1cae1db5711b4968825 \ No newline at end of file +4889c84176c351f7074b5da3c88448ea \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1PassphraseGenerator__coll__graph.png b/docs/html/classGpgFrontend_1_1PassphraseGenerator__coll__graph.png index f2f8c1a7..09885aa2 100644 Binary files a/docs/html/classGpgFrontend_1_1PassphraseGenerator__coll__graph.png and b/docs/html/classGpgFrontend_1_1PassphraseGenerator__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1PassphraseGenerator__inherit__graph.map b/docs/html/classGpgFrontend_1_1PassphraseGenerator__inherit__graph.map index 7c65a83b..3881f89f 100644 --- a/docs/html/classGpgFrontend_1_1PassphraseGenerator__inherit__graph.map +++ b/docs/html/classGpgFrontend_1_1PassphraseGenerator__inherit__graph.map @@ -1,5 +1,6 @@ - - - + + + + diff --git a/docs/html/classGpgFrontend_1_1PassphraseGenerator__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1PassphraseGenerator__inherit__graph.md5 index 7c6c20d9..5b0ae78e 100644 --- a/docs/html/classGpgFrontend_1_1PassphraseGenerator__inherit__graph.md5 +++ b/docs/html/classGpgFrontend_1_1PassphraseGenerator__inherit__graph.md5 @@ -1 +1 @@ -88480d1ef7e1b982db2d2d34cf5f74f7 \ No newline at end of file +4889c84176c351f7074b5da3c88448ea \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1PassphraseGenerator__inherit__graph.png b/docs/html/classGpgFrontend_1_1PassphraseGenerator__inherit__graph.png index 0a365b5c..09885aa2 100644 Binary files a/docs/html/classGpgFrontend_1_1PassphraseGenerator__inherit__graph.png and b/docs/html/classGpgFrontend_1_1PassphraseGenerator__inherit__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1SingletonFunctionObject-members.html b/docs/html/classGpgFrontend_1_1SingletonFunctionObject-members.html index 2402bc94..48bdcd41 100644 --- a/docs/html/classGpgFrontend_1_1SingletonFunctionObject-members.html +++ b/docs/html/classGpgFrontend_1_1SingletonFunctionObject-members.html @@ -89,22 +89,20 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1SingletonFunctionO

This is the complete list of members for GpgFrontend::SingletonFunctionObject< T >, including all inherited members.

- - - - - - - - - - - - + + + + + + + + + + - - - + + + diff --git a/docs/html/classGpgFrontend_1_1SingletonFunctionObject.html b/docs/html/classGpgFrontend_1_1SingletonFunctionObject.html index e4f596ec..f8d2eab0 100644 --- a/docs/html/classGpgFrontend_1_1SingletonFunctionObject.html +++ b/docs/html/classGpgFrontend_1_1SingletonFunctionObject.html @@ -86,9 +86,6 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1SingletonFunctionO Public Member Functions | Static Public Member Functions | Protected Member Functions | -Static Private Member Functions | -Private Attributes | -Static Private Attributes | List of all members
GpgFrontend::SingletonFunctionObject< T > Class Template Reference
@@ -101,31 +98,34 @@ Inheritance diagram for GpgFrontend::SingletonFunctionObject< T >:
Inheritance graph
- - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -133,18 +133,19 @@ Collaboration diagram for GpgFrontend::SingletonFunctionObject< T >:
Collaboration graph
- - - - - - - + +
_default_channel (defined in GpgFrontend::SingletonFunctionObject< T >)GpgFrontend::SingletonFunctionObject< T >privatestatic
_instance (defined in GpgFrontend::SingletonFunctionObject< T >)GpgFrontend::SingletonFunctionObject< T >privatestatic
_instance_mutex (defined in GpgFrontend::SingletonFunctionObject< T >)GpgFrontend::SingletonFunctionObject< T >privatestatic
_instances_map (defined in GpgFrontend::SingletonFunctionObject< T >)GpgFrontend::SingletonFunctionObject< T >privatestatic
_instances_mutex (defined in GpgFrontend::SingletonFunctionObject< T >)GpgFrontend::SingletonFunctionObject< T >privatestatic
channel_ (defined in GpgFrontend::SingletonFunctionObject< T >)GpgFrontend::SingletonFunctionObject< T >private
CreateInstance(int channel, std::function< std::unique_ptr< T >(void)> factory)GpgFrontend::SingletonFunctionObject< T >inlinestatic
CreateInstance(int channel, std::unique_ptr< T > p_obj=nullptr)GpgFrontend::SingletonFunctionObject< T >inlinestatic
find_object_in_channel(int channel)GpgFrontend::SingletonFunctionObject< T >inlineprivatestatic
GetChannel() constGpgFrontend::SingletonFunctionObject< T >inline
GetDefaultChannel()GpgFrontend::SingletonFunctionObject< T >inlinestatic
GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::SingletonFunctionObject< T >inlinestatic
_default_channelGpgFrontend::ChannelObjectprivatestatic
channel_GpgFrontend::ChannelObjectprivate
ChannelObject() noexceptGpgFrontend::ChannelObject
ChannelObject(int channel)GpgFrontend::ChannelObject
CreateInstance(int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)GpgFrontend::SingletonFunctionObject< T >inlinestatic
GetAllChannelId()GpgFrontend::SingletonFunctionObject< T >inlinestatic
GetChannel() constGpgFrontend::SingletonFunctionObject< T >inline
GetDefaultChannel()GpgFrontend::SingletonFunctionObject< T >inlinestatic
GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::SingletonFunctionObject< T >inlinestatic
operator=(const SingletonFunctionObject< T > &)=deleteGpgFrontend::SingletonFunctionObject< T >
operator=(const T &)=delete (defined in GpgFrontend::SingletonFunctionObject< T >)GpgFrontend::SingletonFunctionObject< T >
ReleaseChannel(int channel)GpgFrontend::SingletonFunctionObject< T >inlinestatic
set_object_in_channel(int channel, std::unique_ptr< T > p_obj)GpgFrontend::SingletonFunctionObject< T >inlineprivatestatic
SetChannel(int channel)GpgFrontend::SingletonFunctionObject< T >inlineprotected
ReleaseChannel(int channel)GpgFrontend::SingletonFunctionObject< T >inlinestatic
SetChannel(int channel)GpgFrontend::ChannelObject
SingletonFunctionObject(const SingletonFunctionObject< T > &)=deleteGpgFrontend::SingletonFunctionObject< T >
SingletonFunctionObject(T &&)=deleteGpgFrontend::SingletonFunctionObject< T >
SingletonFunctionObject(const T &)=deleteGpgFrontend::SingletonFunctionObject< T >
SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< T >protected
+ + + + + + @@ -157,23 +158,40 @@ Public Member Functions + + + + + + + + + + + + +

Public Member Functions

 SingletonFunctionObject (const SingletonFunctionObject< T > &)=delete
 prohibit copy More...
 
SingletonFunctionObjectoperator= (const SingletonFunctionObject< T > &)=delete
 prohibit copy More...
 
int GetChannel () const
 Get the Channel object. More...
 
void operator= (const T &)=delete
 
- Public Member Functions inherited from GpgFrontend::ChannelObject
 ChannelObject () noexcept
 Construct a new Default Channel Object object. More...
 
 ChannelObject (int channel)
 Construct a new Channel Object object. More...
 
int GetChannel () const
 Get the Channel object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
- - - - - - - - + + + + + + + + + + + +

Static Public Member Functions

static T & GetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
 Get the Instance object. More...
 
static T & CreateInstance (int channel, std::function< std::unique_ptr< T >(void)> factory)
 Create a Instance object. More...
 
static T & CreateInstance (int channel, std::unique_ptr< T > p_obj=nullptr)
 Create a Instance object. More...
 
static T & ReleaseChannel (int channel)
 
static T & CreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
 Create a Instance object. More...
 
static void ReleaseChannel (int channel)
 
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
static std::vector< int > GetAllChannelId ()
 Get all the channel ids. More...
 
- Static Public Member Functions inherited from GpgFrontend::ChannelObject
static int GetDefaultChannel ()
 Get the Default Channel object. More...
 
@@ -186,40 +204,6 @@ Protected Member Functions - - - -

Protected Member Functions

virtual ~SingletonFunctionObject ()=default
 Destroy the Singleton Function Object object. More...
 
void SetChannel (int channel)
 Set the Channel object. More...
 
- - - - - - -

-Static Private Member Functions

static T * find_object_in_channel (int channel)
 
static T * set_object_in_channel (int channel, std::unique_ptr< T > p_obj)
 Set the object in channel object. More...
 
- - - -

-Private Attributes

-int channel_ = _default_channel
 
- - - - - - - - - - -

-Static Private Attributes

static int _default_channel
 
-static std::mutex _instance_mutex
 
-static std::shared_mutex _instances_mutex
 
-static std::unique_ptr< T > _instance = nullptr
 
-static std::map< int, std::unique_ptr< T > > _instances_map
 

Detailed Description

template<typename T>
@@ -232,8 +216,38 @@ class GpgFrontend::SingletonFunctionObject< T >

Constructor & Destructor Documentation

+ +

◆ SingletonFunctionObject() [1/5]

+ +
+
+
+template<typename T >
+ + + + + +
+ + + + + + + + +
GpgFrontend::SingletonFunctionObject< T >::SingletonFunctionObject (const SingletonFunctionObject< T > & )
+
+delete
+
+ +

prohibit copy

+ +
+
-

◆ SingletonFunctionObject() [1/4]

+

◆ SingletonFunctionObject() [2/5]

@@ -263,7 +277,7 @@ template<typename T >
-

◆ SingletonFunctionObject() [2/4]

+

◆ SingletonFunctionObject() [3/5]

@@ -293,7 +307,7 @@ template<typename T >
-

◆ SingletonFunctionObject() [3/4]

+

◆ SingletonFunctionObject() [4/5]

@@ -322,7 +336,7 @@ template<typename T >
-

◆ SingletonFunctionObject() [4/4]

+

◆ SingletonFunctionObject() [5/5]

@@ -387,8 +401,8 @@ template<typename T >

Member Function Documentation

- -

◆ CreateInstance() [1/2]

+ +

◆ CreateInstance()

@@ -407,7 +421,7 @@ template<typename T >
- std::function< std::unique_ptr< T >(void)>  + std::function< std::unique_ptr< ChannelObject >(void)>  factory  @@ -435,8 +449,8 @@ template<typename T >
- -

◆ CreateInstance() [2/2]

+ +

◆ GetAllChannelId()

@@ -447,21 +461,10 @@ template<typename T >
- + - - - - - + - - - - - - -
static T& GpgFrontend::SingletonFunctionObject< T >::CreateInstance static std::vector<int> GpgFrontend::SingletonFunctionObject< T >::GetAllChannelId (int channel,
) std::unique_ptr< T > p_obj = nullptr 
)
@@ -471,52 +474,8 @@ template<typename T >
-

Create a Instance object.

-
Parameters
- - - -
channel
p_obj
-
-
-
Returns
T&
- -
- - -

◆ find_object_in_channel()

- -
-
-
-template<typename T >
- - - - - -
- - - - - - - - -
static T* GpgFrontend::SingletonFunctionObject< T >::find_object_in_channel (int channel)
-
-inlinestaticprivate
-
-
Parameters
- - -
channel
-
-
-
Returns
T*
- -

Referenced by GpgFrontend::SingletonFunctionObject< GpgContext >::CreateInstance(), and GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance().

+

Get all the channel ids.

+
Returns
std::vector<int>
@@ -617,8 +576,8 @@ template<typename T > - -

◆ ReleaseChannel()

+ +

◆ operator=()

@@ -629,7 +588,38 @@ template<typename T >
- + + + + + + +
static T& GpgFrontend::SingletonFunctionObject< T >::ReleaseChannel SingletonFunctionObject& GpgFrontend::SingletonFunctionObject< T >::operator= (const SingletonFunctionObject< T > & )
+ + +delete + + +
+ +

prohibit copy

+
Returns
SingletonFunctionObject&
+ +
+ + +

◆ ReleaseChannel()

+ +
+
+
+template<typename T >
+ + + - + + + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils.html b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils.html index 80a31d5d..5d1ec9ec 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils.html @@ -88,6 +88,7 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1CommonUtils. Signals | Public Member Functions | Static Public Member Functions | +Private Slots | Static Private Attributes | List of all members
@@ -99,7 +100,7 @@ Inheritance diagram for GpgFrontend::UI::CommonUtils:
Inheritance graph
- +
@@ -108,10 +109,10 @@ Collaboration diagram for GpgFrontend::UI::CommonUtils:
Collaboration graph
- - + + - +
@@ -145,6 +146,9 @@ void  + + +
+ + + @@ -650,119 +640,6 @@ template<typename T >
Returns
T&
- - - -

◆ set_object_in_channel()

- -
-
-
-template<typename T >
-
static void GpgFrontend::SingletonFunctionObject< T >::ReleaseChannel ( int  channel)
- - - - -
- - - - - - - - - - - - - - - - - - -
static T* GpgFrontend::SingletonFunctionObject< T >::set_object_in_channel (int channel,
std::unique_ptr< T > p_obj 
)
-
-inlinestaticprivate
-
- -

Set the object in channel object.

-
Parameters
- - - -
channel
p_obj
-
-
-
Returns
T*
- -

Referenced by GpgFrontend::SingletonFunctionObject< GpgContext >::CreateInstance(), and GpgFrontend::SingletonFunctionObject< GpgContext >::GetInstance().

- -
- - -

◆ SetChannel()

- -
-
-
-template<typename T >
- - - - - -
- - - - - - - - -
void GpgFrontend::SingletonFunctionObject< T >::SetChannel (int channel)
-
-inlineprotected
-
- -

Set the Channel object.

-
Parameters
- - -
channel
-
-
- -
-
-

Member Data Documentation

- -

◆ _default_channel

- -
-
-
-template<typename T >
- - - - - -
- - - - -
int GpgFrontend::SingletonFunctionObject< T >::_default_channel
-
-staticprivate
-
-Initial value:
=
-
GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL
-

The documentation for this class was generated from the following file:
    diff --git a/docs/html/classGpgFrontend_1_1SingletonFunctionObject.js b/docs/html/classGpgFrontend_1_1SingletonFunctionObject.js index 19b7486f..9b7e673b 100644 --- a/docs/html/classGpgFrontend_1_1SingletonFunctionObject.js +++ b/docs/html/classGpgFrontend_1_1SingletonFunctionObject.js @@ -1,24 +1,17 @@ var classGpgFrontend_1_1SingletonFunctionObject = [ + [ "SingletonFunctionObject", "classGpgFrontend_1_1SingletonFunctionObject.html#a194e49b07d46345bdad386505d743a61", null ], [ "SingletonFunctionObject", "classGpgFrontend_1_1SingletonFunctionObject.html#aabc5fe8e5a372ac276a265286457cb9a", null ], [ "SingletonFunctionObject", "classGpgFrontend_1_1SingletonFunctionObject.html#a7090636bed6f4bad5b99f28f6872c645", null ], [ "SingletonFunctionObject", "classGpgFrontend_1_1SingletonFunctionObject.html#a02e76b42ab51d77588b01c7508bed258", null ], [ "SingletonFunctionObject", "classGpgFrontend_1_1SingletonFunctionObject.html#a4aa7f1eb1d3281bb1fccfcbb1b416251", null ], [ "~SingletonFunctionObject", "classGpgFrontend_1_1SingletonFunctionObject.html#a8296be8c449f88175285186831b995bc", null ], - [ "CreateInstance", "classGpgFrontend_1_1SingletonFunctionObject.html#a43b21fa20b4102b826e3527f7bbdf218", null ], - [ "CreateInstance", "classGpgFrontend_1_1SingletonFunctionObject.html#a3d40217b6536ffafff8e58078d8e6b95", null ], - [ "find_object_in_channel", "classGpgFrontend_1_1SingletonFunctionObject.html#a6c6c54060c4f4926adb1ee4a71ee8c89", null ], + [ "CreateInstance", "classGpgFrontend_1_1SingletonFunctionObject.html#a083807ff8cec58dc0aa732844edaf518", null ], + [ "GetAllChannelId", "classGpgFrontend_1_1SingletonFunctionObject.html#a5f2f0474871971f86ff91fb6a2408621", null ], [ "GetChannel", "classGpgFrontend_1_1SingletonFunctionObject.html#aa99440b9177f5d0c18840f08a40d64b7", null ], [ "GetDefaultChannel", "classGpgFrontend_1_1SingletonFunctionObject.html#a50e2b3794d6553f4231eaec72d9d0a50", null ], [ "GetInstance", "classGpgFrontend_1_1SingletonFunctionObject.html#a70484d7cfe9f9dcbcd5f8bb749250f36", null ], + [ "operator=", "classGpgFrontend_1_1SingletonFunctionObject.html#aabb190a60f7a5d4ded43cae16ab8f59e", null ], [ "operator=", "classGpgFrontend_1_1SingletonFunctionObject.html#a03ce3095a745ecbf5e6a032e7da4bc97", null ], - [ "ReleaseChannel", "classGpgFrontend_1_1SingletonFunctionObject.html#aadb8743cd8943395f5cbb631667da363", null ], - [ "set_object_in_channel", "classGpgFrontend_1_1SingletonFunctionObject.html#a7377f8bddac073dbf9aa631726d8c021", null ], - [ "SetChannel", "classGpgFrontend_1_1SingletonFunctionObject.html#a56ba12077251893e48f5ec360e8c7040", null ], - [ "_default_channel", "classGpgFrontend_1_1SingletonFunctionObject.html#ae22a3ffbf6ef1adde906178a022c973c", null ], - [ "_instance", "classGpgFrontend_1_1SingletonFunctionObject.html#ac07ca33d2400724851c5e96dff4d54a4", null ], - [ "_instance_mutex", "classGpgFrontend_1_1SingletonFunctionObject.html#a6bf75b5dab3e8bb0f81a69df4fed4c39", null ], - [ "_instances_map", "classGpgFrontend_1_1SingletonFunctionObject.html#a09a5ce042da5d1528bdef02932e17717", null ], - [ "_instances_mutex", "classGpgFrontend_1_1SingletonFunctionObject.html#aecf86e20874606b7176bfe7063efc2e0", null ], - [ "channel_", "classGpgFrontend_1_1SingletonFunctionObject.html#a03629fe438e2ab6b9e278bbe36e8ba72", null ] + [ "ReleaseChannel", "classGpgFrontend_1_1SingletonFunctionObject.html#ab49b1d50252e1934691a9483a6df2106", null ] ]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1SingletonFunctionObject__coll__graph.map b/docs/html/classGpgFrontend_1_1SingletonFunctionObject__coll__graph.map index d53f2554..fbd385ee 100644 --- a/docs/html/classGpgFrontend_1_1SingletonFunctionObject__coll__graph.map +++ b/docs/html/classGpgFrontend_1_1SingletonFunctionObject__coll__graph.map @@ -1,9 +1,4 @@ - - - - - - - + + diff --git a/docs/html/classGpgFrontend_1_1SingletonFunctionObject__coll__graph.md5 b/docs/html/classGpgFrontend_1_1SingletonFunctionObject__coll__graph.md5 index 2808aa63..c2974463 100644 --- a/docs/html/classGpgFrontend_1_1SingletonFunctionObject__coll__graph.md5 +++ b/docs/html/classGpgFrontend_1_1SingletonFunctionObject__coll__graph.md5 @@ -1 +1 @@ -11203742178893f79f814f95aa52b9e9 \ No newline at end of file +2b46c748646bbc438083e676a9397c62 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1SingletonFunctionObject__coll__graph.png b/docs/html/classGpgFrontend_1_1SingletonFunctionObject__coll__graph.png index 1ac15296..bc61aa6d 100644 Binary files a/docs/html/classGpgFrontend_1_1SingletonFunctionObject__coll__graph.png and b/docs/html/classGpgFrontend_1_1SingletonFunctionObject__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1SingletonFunctionObject__inherit__graph.map b/docs/html/classGpgFrontend_1_1SingletonFunctionObject__inherit__graph.map index 5765dacd..c09aa8aa 100644 --- a/docs/html/classGpgFrontend_1_1SingletonFunctionObject__inherit__graph.map +++ b/docs/html/classGpgFrontend_1_1SingletonFunctionObject__inherit__graph.map @@ -1,27 +1,30 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1SingletonFunctionObject__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1SingletonFunctionObject__inherit__graph.md5 index 1434bd12..f6032bab 100644 --- a/docs/html/classGpgFrontend_1_1SingletonFunctionObject__inherit__graph.md5 +++ b/docs/html/classGpgFrontend_1_1SingletonFunctionObject__inherit__graph.md5 @@ -1 +1 @@ -ff66778f52a579181323a7fc4d76fbff \ No newline at end of file +b6af3f17df8c75e787dfff4934f053ca \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1SingletonFunctionObject__inherit__graph.png b/docs/html/classGpgFrontend_1_1SingletonFunctionObject__inherit__graph.png index 88cee1de..ef51adee 100644 Binary files a/docs/html/classGpgFrontend_1_1SingletonFunctionObject__inherit__graph.png and b/docs/html/classGpgFrontend_1_1SingletonFunctionObject__inherit__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread-members.html b/docs/html/classGpgFrontend_1_1SingletonStorage-members.html similarity index 64% rename from docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread-members.html rename to docs/html/classGpgFrontend_1_1SingletonStorage-members.html index 36145967..45e599ff 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread-members.html +++ b/docs/html/classGpgFrontend_1_1SingletonStorage-members.html @@ -63,7 +63,7 @@ $(function() {
    @@ -83,17 +83,18 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1VersionCheck
    -
    GpgFrontend::UI::VersionCheckThread Member List
    +
    GpgFrontend::SingletonStorage Member List
    diff --git a/docs/html/classGpgFrontend_1_1SingletonStorage.html b/docs/html/classGpgFrontend_1_1SingletonStorage.html new file mode 100644 index 00000000..1e7db856 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1SingletonStorage.html @@ -0,0 +1,264 @@ + + + + + + + +GpgFrontend Project: GpgFrontend::SingletonStorage Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    GpgFrontend Project +
    +
    A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    GpgFrontend::SingletonStorage Class Reference
    +
    +
    +
    +Collaboration diagram for GpgFrontend::SingletonStorage:
    +
    +
    Collaboration graph
    + + + + + + + + + + + +
    + + + + + + + + + + + + +

    +Public Member Functions

    void ReleaseChannel (int channel)
     
    ChannelObjectFindObjectInChannel (int channel)
     
    std::vector< int > GetAllChannelId ()
     Get all the channel ids. More...
     
    ChannelObjectSetObjectInChannel (int channel, std::unique_ptr< ChannelObject > p_obj)
     Set a new object in channel object. More...
     
    + + + + + + + +

    +Private Attributes

    +std::shared_mutex instances_mutex_
     mutex for _instances_map
     
    +std::map< int, std::unique_ptr< ChannelObject > > instances_map_
     map of singleton instances
     
    +

    Member Function Documentation

    + +

    ◆ FindObjectInChannel()

    + +
    +
    + + + + + + + + +
    GpgFrontend::ChannelObject * GpgFrontend::SingletonStorage::FindObjectInChannel (int channel)
    +
    +
    Parameters
    + + +
    channel
    +
    +
    +
    Returns
    T*
    + +
    +
    + +

    ◆ GetAllChannelId()

    + +
    +
    + + + + + + + +
    std::vector< int > GpgFrontend::SingletonStorage::GetAllChannelId ()
    +
    + +

    Get all the channel ids.

    +
    Returns
    std::vector<int>
    + +

    Referenced by GpgFrontend::SingletonFunctionObject< GpgContext >::GetAllChannelId().

    + +
    +
    + +

    ◆ ReleaseChannel()

    + +
    +
    + + + + + + + + +
    void GpgFrontend::SingletonStorage::ReleaseChannel (int channel)
    +
    +
    Parameters
    + + +
    channel
    +
    +
    + +

    Referenced by GpgFrontend::SingletonFunctionObject< GpgContext >::ReleaseChannel().

    + +
    +
    + +

    ◆ SetObjectInChannel()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GpgFrontend::ChannelObject * GpgFrontend::SingletonStorage::SetObjectInChannel (int channel,
    std::unique_ptr< ChannelObjectp_obj 
    )
    +
    + +

    Set a new object in channel object.

    +
    Parameters
    + + + +
    channel
    p_obj
    +
    +
    +
    Returns
    T*
    + +

    References GpgFrontend::ChannelObject::SetChannel().

    + +
    +
    +
    The documentation for this class was generated from the following files: +
    +
    + + + + diff --git a/docs/html/classGpgFrontend_1_1SingletonStorage.js b/docs/html/classGpgFrontend_1_1SingletonStorage.js new file mode 100644 index 00000000..23709a1f --- /dev/null +++ b/docs/html/classGpgFrontend_1_1SingletonStorage.js @@ -0,0 +1,9 @@ +var classGpgFrontend_1_1SingletonStorage = +[ + [ "FindObjectInChannel", "classGpgFrontend_1_1SingletonStorage.html#a4c16c32e549494e394a0ddd859890a02", null ], + [ "GetAllChannelId", "classGpgFrontend_1_1SingletonStorage.html#a3f09424ebdc097fbdab77564a7d723ea", null ], + [ "ReleaseChannel", "classGpgFrontend_1_1SingletonStorage.html#adb22cc80a1ab040b6e4bce962625edfd", null ], + [ "SetObjectInChannel", "classGpgFrontend_1_1SingletonStorage.html#ab0097bb648b2303d68a975c7cbea5a52", null ], + [ "instances_map_", "classGpgFrontend_1_1SingletonStorage.html#a6181f2b5af39c6b86de89e1ba9eeff1c", null ], + [ "instances_mutex_", "classGpgFrontend_1_1SingletonStorage.html#a15161d0afafec602018a89266dab5641", null ] +]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1SingletonStorageCollection-members.html b/docs/html/classGpgFrontend_1_1SingletonStorageCollection-members.html new file mode 100644 index 00000000..e82a65e9 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1SingletonStorageCollection-members.html @@ -0,0 +1,107 @@ + + + + + + + +GpgFrontend Project: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    GpgFrontend Project +
    +
    A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    GpgFrontend::SingletonStorageCollection Member List
    +
    + +
    + + + + diff --git a/docs/html/classGpgFrontend_1_1SingletonStorageCollection.html b/docs/html/classGpgFrontend_1_1SingletonStorageCollection.html new file mode 100644 index 00000000..1b79e0bc --- /dev/null +++ b/docs/html/classGpgFrontend_1_1SingletonStorageCollection.html @@ -0,0 +1,212 @@ + + + + + + + +GpgFrontend Project: GpgFrontend::SingletonStorageCollection Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    GpgFrontend Project +
    +
    A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    GpgFrontend::SingletonStorageCollection Class Reference
    +
    +
    +
    +Collaboration diagram for GpgFrontend::SingletonStorageCollection:
    +
    +
    Collaboration graph
    + + + + + + + + + + + + + + +
    + + + + + +

    +Public Member Functions

    SingletonStorageGetSingletonStorage (const std::type_info &)
     Get the Singleton Storage object. More...
     
    + + + + +

    +Static Public Member Functions

    static SingletonStorageCollectionGetInstance ()
     Get the Instance object. More...
     
    + + + + + + +

    +Private Attributes

    +std::shared_mutex storages_mutex_
     mutex for storages_map_
     
    +std::map< size_t, std::unique_ptr< SingletonStorage > > storages_map_
     
    +

    Member Function Documentation

    + +

    ◆ GetInstance()

    + + + +

    ◆ GetSingletonStorage()

    + +
    +
    + + + + + + + + +
    GpgFrontend::SingletonStorage * GpgFrontend::SingletonStorageCollection::GetSingletonStorage (const std::type_info & type_id)
    +
    +
    +
    The documentation for this class was generated from the following files: +
    +
    + + + + diff --git a/docs/html/classGpgFrontend_1_1SingletonStorageCollection.js b/docs/html/classGpgFrontend_1_1SingletonStorageCollection.js new file mode 100644 index 00000000..3a782c6d --- /dev/null +++ b/docs/html/classGpgFrontend_1_1SingletonStorageCollection.js @@ -0,0 +1,7 @@ +var classGpgFrontend_1_1SingletonStorageCollection = +[ + [ "GetInstance", "classGpgFrontend_1_1SingletonStorageCollection.html#a16b4729ca79dcdccc794df70aa2a5aaf", null ], + [ "GetSingletonStorage", "classGpgFrontend_1_1SingletonStorageCollection.html#a6f933390c54b7f55d5ffb4624074725f", null ], + [ "storages_map_", "classGpgFrontend_1_1SingletonStorageCollection.html#ae28930630a2dce804cff5589155aadfc", null ], + [ "storages_mutex_", "classGpgFrontend_1_1SingletonStorageCollection.html#ab648cb257beb2475eb5fca6453c331f9", null ] +]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1SingletonStorageCollection__coll__graph.map b/docs/html/classGpgFrontend_1_1SingletonStorageCollection__coll__graph.map new file mode 100644 index 00000000..3e800d87 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1SingletonStorageCollection__coll__graph.map @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1SingletonStorageCollection__coll__graph.md5 b/docs/html/classGpgFrontend_1_1SingletonStorageCollection__coll__graph.md5 new file mode 100644 index 00000000..f32734c2 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1SingletonStorageCollection__coll__graph.md5 @@ -0,0 +1 @@ +b86d142b29de3c5fc61b65c24fca14b7 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1SingletonStorageCollection__coll__graph.png b/docs/html/classGpgFrontend_1_1SingletonStorageCollection__coll__graph.png new file mode 100644 index 00000000..326964b7 Binary files /dev/null and b/docs/html/classGpgFrontend_1_1SingletonStorageCollection__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1SingletonStorage__coll__graph.map b/docs/html/classGpgFrontend_1_1SingletonStorage__coll__graph.map new file mode 100644 index 00000000..fd440dc1 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1SingletonStorage__coll__graph.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1SingletonStorage__coll__graph.md5 b/docs/html/classGpgFrontend_1_1SingletonStorage__coll__graph.md5 new file mode 100644 index 00000000..88d3dcf9 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1SingletonStorage__coll__graph.md5 @@ -0,0 +1 @@ +8ea153c0d8cdb8014926ae288a4d713d \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1SingletonStorage__coll__graph.png b/docs/html/classGpgFrontend_1_1SingletonStorage__coll__graph.png new file mode 100644 index 00000000..d2ce6f1d Binary files /dev/null and b/docs/html/classGpgFrontend_1_1SingletonStorage__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask-members.html b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask-members.html new file mode 100644 index 00000000..a9c6a228 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask-members.html @@ -0,0 +1,129 @@ + + + + + + + +GpgFrontend Project: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    GpgFrontend Project +
    +
    A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    GpgFrontend::Thread::CtxCheckTask Member List
    +
    +
    + +

    This is the complete list of members for GpgFrontend::Thread::CtxCheckTask, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    before_finish_task() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    callback_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    callback_thread_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    CtxCheckTask()GpgFrontend::Thread::CtxCheckTask
    data_object_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    DataObjectPtr typedef (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Task
    finish_after_run_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    generate_uuid()GpgFrontend::Thread::Taskprivatestatic
    GetUUID() constGpgFrontend::Thread::Task
    init() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    rtn_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    run() override (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivatevirtual
    Run() overrideGpgFrontend::Thread::CtxCheckTaskprotectedvirtual
    runnable_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    SetFinishAfterRun(bool finish_after_run)GpgFrontend::Thread::Taskprotected
    SetRTN(int rtn)GpgFrontend::Thread::Taskprotected
    SignalGnupgNotInstall() (defined in GpgFrontend::Thread::CtxCheckTask)GpgFrontend::Thread::CtxCheckTasksignal
    SignalTaskFinished() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Tasksignal
    SignalTaskPostFinishedDone() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Tasksignal
    Task()GpgFrontend::Thread::Task
    Task(TaskCallback callback, DataObjectPtr data_object=nullptr)GpgFrontend::Thread::Task
    Task(TaskRunnable runnable, TaskCallback callback=[](int, std::shared_ptr< DataObject >) {}, DataObjectPtr data=nullptr)GpgFrontend::Thread::Task
    TaskCallback typedef (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Task
    TaskRunnable typedef (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Task
    uuid_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    ~Task() overrideGpgFrontend::Thread::Taskvirtual
    +
    + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask.html b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask.html new file mode 100644 index 00000000..62d3bc13 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask.html @@ -0,0 +1,262 @@ + + + + + + + +GpgFrontend Project: GpgFrontend::Thread::CtxCheckTask Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    GpgFrontend Project +
    +
    A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    GpgFrontend::Thread::CtxCheckTask Class Reference
    +
    +
    +
    +Inheritance diagram for GpgFrontend::Thread::CtxCheckTask:
    +
    +
    Inheritance graph
    + + + + + + +
    +
    +Collaboration diagram for GpgFrontend::Thread::CtxCheckTask:
    +
    +
    Collaboration graph
    + + + + + + + + + + + + + + + +
    + + + + + + + + + +

    +Signals

    +void SignalGnupgNotInstall ()
     
    - Signals inherited from GpgFrontend::Thread::Task
    +void SignalTaskFinished ()
     
    +void SignalTaskPostFinishedDone ()
     
    + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     CtxCheckTask ()
     Construct a new Ctx Check Thread object. More...
     
    - Public Member Functions inherited from GpgFrontend::Thread::Task
     Task ()
     Construct a new Task object. More...
     
     Task (TaskCallback callback, DataObjectPtr data_object=nullptr)
     Construct a new Task object. More...
     
     Task (TaskRunnable runnable, TaskCallback callback=[](int, std::shared_ptr< DataObject >) {}, DataObjectPtr data=nullptr)
     Construct a new Task object. More...
     
    virtual ~Task () override
     Destroy the Task object. More...
     
    std::string GetUUID () const
     
    + + + + + + + + + + +

    +Protected Member Functions

    void Run () override
     Run - run the task. More...
     
    - Protected Member Functions inherited from GpgFrontend::Thread::Task
    void SetFinishAfterRun (bool finish_after_run)
     Set the Finish After Run object. More...
     
    void SetRTN (int rtn)
     
    + + + + + + + + +

    +Additional Inherited Members

    - Public Types inherited from GpgFrontend::Thread::Task
    +using DataObjectPtr = std::shared_ptr< DataObject >
     
    +using TaskRunnable = std::function< int(DataObjectPtr)>
     
    +using TaskCallback = std::function< void(int, DataObjectPtr)>
     
    +

    Constructor & Destructor Documentation

    + +

    ◆ CtxCheckTask()

    + +
    +
    + + + + + + + +
    GpgFrontend::Thread::CtxCheckTask::CtxCheckTask ()
    +
    + +

    Construct a new Ctx Check Thread object.

    +

    Copyright (C) 2021 Saturneric

    +

    This file is part of GpgFrontend.

    +

    GpgFrontend is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

    +

    GpgFrontend 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 General Public License for more details.

    +

    You should have received a copy of the GNU General Public License along with GpgFrontend. If not, see https://www.gnu.org/licenses/.

    +

    The initial version of the source code is inherited from the gpg4usb project, which is under GPL-3.0-or-later.

    +

    The source code version of this software was modified and released by Saturnericeric@.nosp@m.bktu.nosp@m.s.comeric@.nosp@m.bktu.nosp@m.s.com starting on May 12, 2021.

    + +

    References GpgFrontend::CoreCommonUtil::GetInstance().

    + +
    +
    +

    Member Function Documentation

    + +

    ◆ Run()

    + +
    +
    + + + + + +
    + + + + + + + +
    void GpgFrontend::Thread::CtxCheckTask::Run ()
    +
    +overrideprotectedvirtual
    +
    +
    +
    The documentation for this class was generated from the following files: +
    +
    + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask.js b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask.js new file mode 100644 index 00000000..4c8f0a3f --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask.js @@ -0,0 +1,6 @@ +var classGpgFrontend_1_1Thread_1_1CtxCheckTask = +[ + [ "CtxCheckTask", "classGpgFrontend_1_1Thread_1_1CtxCheckTask.html#a9d5f0969bcedc5687e0a50ed3b36a869", null ], + [ "Run", "classGpgFrontend_1_1Thread_1_1CtxCheckTask.html#a1c94cb1290df40a9043fe2d1a9a231f2", null ], + [ "SignalGnupgNotInstall", "classGpgFrontend_1_1Thread_1_1CtxCheckTask.html#a7eb264d11146110a8783a8a209ef9c2a", null ] +]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.map b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.map new file mode 100644 index 00000000..e294ef65 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.map @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.md5 b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.md5 new file mode 100644 index 00000000..6940997e --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.md5 @@ -0,0 +1 @@ +f32eeab23814943a7ffc67d3fdc21663 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.png b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.png new file mode 100644 index 00000000..5f6ba0e3 Binary files /dev/null and b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__inherit__graph.map b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__inherit__graph.map new file mode 100644 index 00000000..2700d31e --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__inherit__graph.map @@ -0,0 +1,6 @@ + + + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__inherit__graph.md5 new file mode 100644 index 00000000..cc810e9e --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__inherit__graph.md5 @@ -0,0 +1 @@ +905a63ecc2ff51f66558af84d043a391 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__inherit__graph.png b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__inherit__graph.png new file mode 100644 index 00000000..12bf1649 Binary files /dev/null and b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__inherit__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task-members.html b/docs/html/classGpgFrontend_1_1Thread_1_1Task-members.html new file mode 100644 index 00000000..baecf41e --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1Task-members.html @@ -0,0 +1,128 @@ + + + + + + + +GpgFrontend Project: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    GpgFrontend Project +
    +
    A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    GpgFrontend::Thread::Task Member List
    +
    +
    + +

    This is the complete list of members for GpgFrontend::Thread::Task, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    before_finish_task() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    callback_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    callback_thread_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    data_object_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    DataObjectPtr typedef (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Task
    finish_after_run_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    generate_uuid()GpgFrontend::Thread::Taskprivatestatic
    GetUUID() constGpgFrontend::Thread::Task
    init() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    rtn_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    run() override (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivatevirtual
    Run()GpgFrontend::Thread::Taskvirtual
    runnable_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    SetFinishAfterRun(bool finish_after_run)GpgFrontend::Thread::Taskprotected
    SetRTN(int rtn)GpgFrontend::Thread::Taskprotected
    SignalTaskFinished() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Tasksignal
    SignalTaskPostFinishedDone() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Tasksignal
    Task()GpgFrontend::Thread::Task
    Task(TaskCallback callback, DataObjectPtr data_object=nullptr)GpgFrontend::Thread::Task
    Task(TaskRunnable runnable, TaskCallback callback=[](int, std::shared_ptr< DataObject >) {}, DataObjectPtr data=nullptr)GpgFrontend::Thread::Task
    TaskCallback typedef (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Task
    TaskRunnable typedef (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Task
    TaskRunner (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskfriend
    uuid_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
    ~Task() overrideGpgFrontend::Thread::Taskvirtual
    +
    + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task.html b/docs/html/classGpgFrontend_1_1Thread_1_1Task.html new file mode 100644 index 00000000..40e76748 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1Task.html @@ -0,0 +1,527 @@ + + + + + + + +GpgFrontend Project: GpgFrontend::Thread::Task Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    GpgFrontend Project +
    +
    A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + + +
    +
    +Inheritance diagram for GpgFrontend::Thread::Task:
    +
    +
    Inheritance graph
    + + + + + + + + +
    +
    +Collaboration diagram for GpgFrontend::Thread::Task:
    +
    +
    Collaboration graph
    + + + + + + + + + + + + + + +
    + + + + + +

    +Classes

    class  DataObject
     DataObject to be passed to the callback function. More...
     
    + + + + + + + +

    +Public Types

    +using DataObjectPtr = std::shared_ptr< DataObject >
     
    +using TaskRunnable = std::function< int(DataObjectPtr)>
     
    +using TaskCallback = std::function< void(int, DataObjectPtr)>
     
    + + + + + +

    +Signals

    +void SignalTaskFinished ()
     
    +void SignalTaskPostFinishedDone ()
     
    + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     Task ()
     Construct a new Task object. More...
     
     Task (TaskCallback callback, DataObjectPtr data_object=nullptr)
     Construct a new Task object. More...
     
     Task (TaskRunnable runnable, TaskCallback callback=[](int, std::shared_ptr< DataObject >) {}, DataObjectPtr data=nullptr)
     Construct a new Task object. More...
     
    virtual ~Task () override
     Destroy the Task object. More...
     
    virtual void Run ()
     Run - run the task. More...
     
    std::string GetUUID () const
     
    + + + + + + +

    +Protected Member Functions

    void SetFinishAfterRun (bool finish_after_run)
     Set the Finish After Run object. More...
     
    void SetRTN (int rtn)
     
    + + + + + + + +

    +Private Member Functions

    +void before_finish_task ()
     
    +void init ()
     
    +virtual void run () override
     
    + + + +

    +Static Private Member Functions

    static std::string generate_uuid ()
     
    + + + + + + + + + + + + + + + +

    +Private Attributes

    +const std::string uuid_
     
    +TaskCallback callback_
     
    +TaskRunnable runnable_
     
    +bool finish_after_run_ = true
     
    +int rtn_ = 0
     
    +QThread * callback_thread_ = nullptr
     
    +DataObjectPtr data_object_ = nullptr
     
    + + + +

    +Friends

    +class TaskRunner
     
    +

    Constructor & Destructor Documentation

    + +

    ◆ Task() [1/3]

    + +
    +
    + + + + + + + +
    GpgFrontend::Thread::Task::Task ()
    +
    + +

    Construct a new Task object.

    +

    Copyright (C) 2021 Saturneric

    +

    This file is part of GpgFrontend.

    +

    GpgFrontend is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

    +

    GpgFrontend 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 General Public License for more details.

    +

    You should have received a copy of the GNU General Public License along with GpgFrontend. If not, see https://www.gnu.org/licenses/.

    +

    The initial version of the source code is inherited from the gpg4usb project, which is under GPL-3.0-or-later.

    +

    The source code version of this software was modified and released by Saturnericeric@.nosp@m.bktu.nosp@m.s.comeric@.nosp@m.bktu.nosp@m.s.com starting on May 12, 2021.

    + +
    +
    + +

    ◆ Task() [2/3]

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    GpgFrontend::Thread::Task::Task (TaskCallback callback,
    DataObjectPtr data_object = nullptr 
    )
    +
    + +

    Construct a new Task object.

    +
    Parameters
    + + +
    callbackThe callback function to be executed.
    +
    +
    + +
    +
    + +

    ◆ Task() [3/3]

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    GpgFrontend::Thread::Task::Task (TaskRunnable runnable,
    TaskCallback callback = [](int, std::shared_ptr<DataObject>) {},
    DataObjectPtr data = nullptr 
    )
    +
    + +

    Construct a new Task object.

    +
    Parameters
    + + +
    runnable
    +
    +
    + +
    +
    + +

    ◆ ~Task()

    + +
    +
    + + + + + +
    + + + + + + + +
    GpgFrontend::Thread::Task::~Task ()
    +
    +overridevirtual
    +
    + +

    Destroy the Task object.

    + +
    +
    +

    Member Function Documentation

    + +

    ◆ generate_uuid()

    + +
    +
    + + + + + +
    + + + + + + + +
    std::string GpgFrontend::Thread::Task::generate_uuid ()
    +
    +staticprivate
    +
    +
    Returns
    std::string
    + +
    +
    + +

    ◆ GetUUID()

    + +
    +
    + + + + + + + +
    std::string GpgFrontend::Thread::Task::GetUUID () const
    +
    +
    Returns
    std::string
    + +

    Referenced by GpgFrontend::Thread::TaskRunner::PostTask().

    + +
    +
    + +

    ◆ Run()

    + +
    +
    + + + + + +
    + + + + + + + +
    void GpgFrontend::Thread::Task::Run ()
    +
    +virtual
    +
    +
    + +

    ◆ SetFinishAfterRun()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void GpgFrontend::Thread::Task::SetFinishAfterRun (bool finish_after_run)
    +
    +protected
    +
    + +

    Set the Finish After Run object.

    +
    Parameters
    + + +
    finish_after_run
    +
    +
    + +

    Referenced by GpgFrontend::UI::FileReadTask::Run(), and GpgFrontend::UI::VersionCheckTask::Run().

    + +
    +
    + +

    ◆ SetRTN()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void GpgFrontend::Thread::Task::SetRTN (int rtn)
    +
    +protected
    +
    +
    Parameters
    + + +
    rtn
    +
    +
    + +
    +
    +
    The documentation for this class was generated from the following files:
      +
    • src/core/thread/Task.h
    • +
    • src/core/thread/Task.cpp
    • +
    +
    +
    + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task.js b/docs/html/classGpgFrontend_1_1Thread_1_1Task.js new file mode 100644 index 00000000..88ee7329 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1Task.js @@ -0,0 +1,29 @@ +var classGpgFrontend_1_1Thread_1_1Task = +[ + [ "DataObject", "classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html", "classGpgFrontend_1_1Thread_1_1Task_1_1DataObject" ], + [ "DataObjectPtr", "classGpgFrontend_1_1Thread_1_1Task.html#a58f0de628876e2c064f3867f209ce1c9", null ], + [ "TaskCallback", "classGpgFrontend_1_1Thread_1_1Task.html#a492f8b0f6ec2832da20fc481bfa5cdbd", null ], + [ "TaskRunnable", "classGpgFrontend_1_1Thread_1_1Task.html#aa0015912ca0513a10252e01db7b527bb", null ], + [ "Task", "classGpgFrontend_1_1Thread_1_1Task.html#a1ec53d301fc83e0da39e43055ded5d14", null ], + [ "Task", "classGpgFrontend_1_1Thread_1_1Task.html#a35f3065116d2295bb2ddc9f41b1192bb", null ], + [ "Task", "classGpgFrontend_1_1Thread_1_1Task.html#aa242a8e025c448aacd0704b7d0b3c001", null ], + [ "~Task", "classGpgFrontend_1_1Thread_1_1Task.html#a37766a505662b33ad14672c29e209ea8", null ], + [ "before_finish_task", "classGpgFrontend_1_1Thread_1_1Task.html#a98486634324dc28d05fb0b812ed807e3", null ], + [ "generate_uuid", "classGpgFrontend_1_1Thread_1_1Task.html#a96d087abb7cf99d16f778f1a93b4f9e5", null ], + [ "GetUUID", "classGpgFrontend_1_1Thread_1_1Task.html#a50b91d27874af31ef13c493b00824ccf", null ], + [ "init", "classGpgFrontend_1_1Thread_1_1Task.html#a5ee1ea118ac5d91f005faecef54742b8", null ], + [ "Run", "classGpgFrontend_1_1Thread_1_1Task.html#ac60aa71a24f452fd8031597ff4cbbd00", null ], + [ "run", "classGpgFrontend_1_1Thread_1_1Task.html#a024a05bb89556c5b93336cb35d4bd10c", null ], + [ "SetFinishAfterRun", "classGpgFrontend_1_1Thread_1_1Task.html#a689969e7d88ba7ad73a693a1b38aedd7", null ], + [ "SetRTN", "classGpgFrontend_1_1Thread_1_1Task.html#aa6d702417bdd6a88c447ed6a457fa098", null ], + [ "SignalTaskFinished", "classGpgFrontend_1_1Thread_1_1Task.html#af50c7642efe45554c61943fb3d8825b3", null ], + [ "SignalTaskPostFinishedDone", "classGpgFrontend_1_1Thread_1_1Task.html#a0902637c033d34cc3c4281e309c10830", null ], + [ "TaskRunner", "classGpgFrontend_1_1Thread_1_1Task.html#a1956d94b45592a4096a335641aab65f8", null ], + [ "callback_", "classGpgFrontend_1_1Thread_1_1Task.html#a5b47295d027309aee116d219b50de4f8", null ], + [ "callback_thread_", "classGpgFrontend_1_1Thread_1_1Task.html#a1a6a92c92febc94e8abbc1a96d489446", null ], + [ "data_object_", "classGpgFrontend_1_1Thread_1_1Task.html#aa500f907beee47f99fdeb626d2c788bd", null ], + [ "finish_after_run_", "classGpgFrontend_1_1Thread_1_1Task.html#a4f29cfb3a72d718da6d835f3a049f7cc", null ], + [ "rtn_", "classGpgFrontend_1_1Thread_1_1Task.html#ad6388db7b0e4960db5bf8296481481dd", null ], + [ "runnable_", "classGpgFrontend_1_1Thread_1_1Task.html#a0cb0482d29d502870dc8d38b8aaedf68", null ], + [ "uuid_", "classGpgFrontend_1_1Thread_1_1Task.html#a468f4b05a8eb6b66c3f240bc2a660a08", null ] +]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner-members.html b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner-members.html new file mode 100644 index 00000000..91d86478 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner-members.html @@ -0,0 +1,110 @@ + + + + + + + +GpgFrontend Project: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    GpgFrontend Project +
    +
    A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    GpgFrontend::Thread::TaskRunner Member List
    +
    + +
    + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner.html b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner.html new file mode 100644 index 00000000..5a24cf94 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner.html @@ -0,0 +1,276 @@ + + + + + + + +GpgFrontend Project: GpgFrontend::Thread::TaskRunner Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    GpgFrontend Project +
    +
    A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    GpgFrontend::Thread::TaskRunner Class Reference
    +
    +
    +
    +Inheritance diagram for GpgFrontend::Thread::TaskRunner:
    +
    +
    Inheritance graph
    + + + + +
    +
    +Collaboration diagram for GpgFrontend::Thread::TaskRunner:
    +
    +
    Collaboration graph
    + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +

    +Public Slots

    void PostTask (Task *task)
     
    + + + + + + + + + +

    +Public Member Functions

     TaskRunner ()
     Construct a new Task Runner object. More...
     
    virtual ~TaskRunner () override
     Destroy the Task Runner object. More...
     
    +void run () override
     
    + + + + + + + + + + +

    +Private Attributes

    +std::queue< Task * > tasks
     The task queue.
     
    +std::map< std::string, Task * > pending_tasks_
     The pending tasks.
     
    +std::mutex tasks_mutex_
     The task queue mutex.
     
    +

    Constructor & Destructor Documentation

    + +

    ◆ TaskRunner()

    + +
    +
    + + + + + +
    + + + + + + + +
    GpgFrontend::Thread::TaskRunner::TaskRunner ()
    +
    +default
    +
    + +

    Construct a new Task Runner object.

    +

    Copyright (C) 2021 Saturneric

    +

    This file is part of GpgFrontend.

    +

    GpgFrontend is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

    +

    GpgFrontend 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 General Public License for more details.

    +

    You should have received a copy of the GNU General Public License along with GpgFrontend. If not, see https://www.gnu.org/licenses/.

    +

    The initial version of the source code is inherited from the gpg4usb project, which is under GPL-3.0-or-later.

    +

    The source code version of this software was modified and released by Saturnericeric@.nosp@m.bktu.nosp@m.s.comeric@.nosp@m.bktu.nosp@m.s.com starting on May 12, 2021.

    + +
    +
    + +

    ◆ ~TaskRunner()

    + +
    +
    + + + + + +
    + + + + + + + +
    GpgFrontend::Thread::TaskRunner::~TaskRunner ()
    +
    +overridevirtualdefault
    +
    + +

    Destroy the Task Runner object.

    + +
    +
    +

    Member Function Documentation

    + +

    ◆ PostTask

    + +
    +
    + + + + + +
    + + + + + + + + +
    void GpgFrontend::Thread::TaskRunner::PostTask (Tasktask)
    +
    +slot
    +
    +
    Parameters
    + + +
    task
    +
    +
    + +

    References GpgFrontend::Thread::Task::GetUUID(), pending_tasks_, tasks, and tasks_mutex_.

    + +
    +
    +
    The documentation for this class was generated from the following files:
      +
    • src/core/thread/TaskRunner.h
    • +
    • src/core/thread/TaskRunner.cpp
    • +
    +
    +
    + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner.js b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner.js new file mode 100644 index 00000000..3943ab62 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner.js @@ -0,0 +1,10 @@ +var classGpgFrontend_1_1Thread_1_1TaskRunner = +[ + [ "TaskRunner", "classGpgFrontend_1_1Thread_1_1TaskRunner.html#ad3c8612cbe60112f9b14e616fb0a4acf", null ], + [ "~TaskRunner", "classGpgFrontend_1_1Thread_1_1TaskRunner.html#ac3e57b59d537e2a75e741d4a5418ae6d", null ], + [ "PostTask", "classGpgFrontend_1_1Thread_1_1TaskRunner.html#a4fae01eb0a5b296b8c4c6bf8408f1c6b", null ], + [ "run", "classGpgFrontend_1_1Thread_1_1TaskRunner.html#a66d2cce41130ada199636815c52332a6", null ], + [ "pending_tasks_", "classGpgFrontend_1_1Thread_1_1TaskRunner.html#a6d92421bbbfcf3136335a5173d1b2a22", null ], + [ "tasks", "classGpgFrontend_1_1Thread_1_1TaskRunner.html#a774775e9a91d33072b27dcf78cead6e2", null ], + [ "tasks_mutex_", "classGpgFrontend_1_1Thread_1_1TaskRunner.html#a5e72f1ce00d41c225a4304f1ed20b3f1", null ] +]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter-members.html b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter-members.html new file mode 100644 index 00000000..5e3cffed --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter-members.html @@ -0,0 +1,131 @@ + + + + + + + +GpgFrontend Project: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    GpgFrontend Project +
    +
    A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    GpgFrontend::Thread::TaskRunnerGetter Member List
    +
    +
    + +

    This is the complete list of members for GpgFrontend::Thread::TaskRunnerGetter, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    _default_channelGpgFrontend::ChannelObjectprivatestatic
    channel_GpgFrontend::ChannelObjectprivate
    ChannelObject() noexceptGpgFrontend::ChannelObject
    ChannelObject(int channel)GpgFrontend::ChannelObject
    CreateInstance(int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >inlinestatic
    GetAllChannelId()GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >inlinestatic
    GetChannel() constGpgFrontend::SingletonFunctionObject< TaskRunnerGetter >inline
    GpgFrontend::ChannelObject::GetChannel() constGpgFrontend::ChannelObject
    GetDefaultChannel()GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >inlinestatic
    GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >inlinestatic
    GetTaskRunner(TaskRunnerType runner_type=kTaskRunnerType_Default) (defined in GpgFrontend::Thread::TaskRunnerGetter)GpgFrontend::Thread::TaskRunnerGetter
    kTaskRunnerType_Default enum value (defined in GpgFrontend::Thread::TaskRunnerGetter)GpgFrontend::Thread::TaskRunnerGetter
    kTaskRunnerType_GPG enum value (defined in GpgFrontend::Thread::TaskRunnerGetter)GpgFrontend::Thread::TaskRunnerGetter
    kTaskRunnerType_IO enum value (defined in GpgFrontend::Thread::TaskRunnerGetter)GpgFrontend::Thread::TaskRunnerGetter
    kTaskRunnerType_Network enum value (defined in GpgFrontend::Thread::TaskRunnerGetter)GpgFrontend::Thread::TaskRunnerGetter
    operator=(const SingletonFunctionObject< TaskRunnerGetter > &)=deleteGpgFrontend::SingletonFunctionObject< TaskRunnerGetter >
    operator=(const TaskRunnerGetter &)=delete (defined in GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >)GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >
    ReleaseChannel(int channel)GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >inlinestatic
    SetChannel(int channel)GpgFrontend::ChannelObject
    SingletonFunctionObject(const SingletonFunctionObject< TaskRunnerGetter > &)=deleteGpgFrontend::SingletonFunctionObject< TaskRunnerGetter >
    SingletonFunctionObject(TaskRunnerGetter &&)=deleteGpgFrontend::SingletonFunctionObject< TaskRunnerGetter >
    SingletonFunctionObject(const TaskRunnerGetter &)=deleteGpgFrontend::SingletonFunctionObject< TaskRunnerGetter >
    SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< TaskRunnerGetter >protected
    SingletonFunctionObject(int channel)GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >inlineexplicitprotected
    task_runners_ (defined in GpgFrontend::Thread::TaskRunnerGetter)GpgFrontend::Thread::TaskRunnerGetterprivate
    TaskRunnerGetter(int channel=SingletonFunctionObject::GetDefaultChannel())GpgFrontend::Thread::TaskRunnerGetter
    TaskRunnerType enum name (defined in GpgFrontend::Thread::TaskRunnerGetter)GpgFrontend::Thread::TaskRunnerGetter
    ~SingletonFunctionObject()=defaultGpgFrontend::SingletonFunctionObject< TaskRunnerGetter >protectedvirtual
    +
    + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.html b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.html new file mode 100644 index 00000000..9e18f401 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.html @@ -0,0 +1,267 @@ + + + + + + + +GpgFrontend Project: GpgFrontend::Thread::TaskRunnerGetter Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    GpgFrontend Project +
    +
    A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    GpgFrontend::Thread::TaskRunnerGetter Class Reference
    +
    +
    +
    +Inheritance diagram for GpgFrontend::Thread::TaskRunnerGetter:
    +
    +
    Inheritance graph
    + + + + + + +
    +
    +Collaboration diagram for GpgFrontend::Thread::TaskRunnerGetter:
    +
    +
    Collaboration graph
    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +

    +Public Types

    enum  TaskRunnerType { kTaskRunnerType_Default, +kTaskRunnerType_GPG, +kTaskRunnerType_IO, +kTaskRunnerType_Network + }
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     TaskRunnerGetter (int channel=SingletonFunctionObject::GetDefaultChannel())
     
    +TaskRunnerGetTaskRunner (TaskRunnerType runner_type=kTaskRunnerType_Default)
     
    - Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >
     SingletonFunctionObject (const SingletonFunctionObject< TaskRunnerGetter > &)=delete
     prohibit copy More...
     
     SingletonFunctionObject (TaskRunnerGetter &&)=delete
     Construct a new Singleton Function Object object. More...
     
     SingletonFunctionObject (const TaskRunnerGetter &)=delete
     Construct a new Singleton Function Object object. More...
     
    SingletonFunctionObjectoperator= (const SingletonFunctionObject< TaskRunnerGetter > &)=delete
     prohibit copy More...
     
    +void operator= (const TaskRunnerGetter &)=delete
     
    int GetChannel () const
     Get the Channel object. More...
     
    - Public Member Functions inherited from GpgFrontend::ChannelObject
     ChannelObject () noexcept
     Construct a new Default Channel Object object. More...
     
     ChannelObject (int channel)
     Construct a new Channel Object object. More...
     
    int GetChannel () const
     Get the Channel object. More...
     
    void SetChannel (int channel)
     Set the Channel object. More...
     
    + + + +

    +Private Attributes

    +std::map< TaskRunnerType, TaskRunner * > task_runners_
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Additional Inherited Members

    - Static Public Member Functions inherited from GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >
    static TaskRunnerGetter & GetInstance (int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
     Get the Instance object. More...
     
    static TaskRunnerGetter & CreateInstance (int channel, std::function< std::unique_ptr< ChannelObject >(void)> factory)
     Create a Instance object. More...
     
    static void ReleaseChannel (int channel)
     
    static int GetDefaultChannel ()
     Get the Default Channel object. More...
     
    static std::vector< int > GetAllChannelId ()
     Get all the channel ids. More...
     
    - Static Public Member Functions inherited from GpgFrontend::ChannelObject
    static int GetDefaultChannel ()
     Get the Default Channel object. More...
     
    - Protected Member Functions inherited from GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >
     SingletonFunctionObject ()=default
     Construct a new Singleton Function Object object. More...
     
     SingletonFunctionObject (int channel)
     Construct a new Singleton Function Object object. More...
     
    virtual ~SingletonFunctionObject ()=default
     Destroy the Singleton Function Object object. More...
     
    +

    Constructor & Destructor Documentation

    + +

    ◆ TaskRunnerGetter()

    + +
    +
    + + + + + + + + +
    GpgFrontend::Thread::TaskRunnerGetter::TaskRunnerGetter (int channel = SingletonFunctionObject::GetDefaultChannel())
    +
    +

    Copyright (C) 2021 Saturneric

    +

    This file is part of GpgFrontend.

    +

    GpgFrontend is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

    +

    GpgFrontend 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 General Public License for more details.

    +

    You should have received a copy of the GNU General Public License along with GpgFrontend. If not, see https://www.gnu.org/licenses/.

    +

    The initial version of the source code is inherited from the gpg4usb project, which is under GPL-3.0-or-later.

    +

    The source code version of this software was modified and released by Saturnericeric@.nosp@m.bktu.nosp@m.s.comeric@.nosp@m.bktu.nosp@m.s.com starting on May 12, 2021.

    + +
    +
    +
    The documentation for this class was generated from the following files: +
    +
    + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.js b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.js new file mode 100644 index 00000000..932f7040 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.js @@ -0,0 +1,12 @@ +var classGpgFrontend_1_1Thread_1_1TaskRunnerGetter = +[ + [ "TaskRunnerType", "classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.html#aa2f427dd9cb0d68187504a7363e2d746", [ + [ "kTaskRunnerType_Default", "classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.html#aa2f427dd9cb0d68187504a7363e2d746aa6137891f9f6f5d09bd29c9194bf65c1", null ], + [ "kTaskRunnerType_GPG", "classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.html#aa2f427dd9cb0d68187504a7363e2d746a15737749c87b6182b6a11e16d53ef896", null ], + [ "kTaskRunnerType_IO", "classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.html#aa2f427dd9cb0d68187504a7363e2d746aba946fe7627d4f2d5fcf6baf17ec6fee", null ], + [ "kTaskRunnerType_Network", "classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.html#aa2f427dd9cb0d68187504a7363e2d746ae97ef03f1df29675111cd840558eab96", null ] + ] ], + [ "TaskRunnerGetter", "classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.html#a80794d81179f66f4b4ed3122a64f27cf", null ], + [ "GetTaskRunner", "classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.html#a99e5ce5e8dd25c49755356f4ff8f6d30", null ], + [ "task_runners_", "classGpgFrontend_1_1Thread_1_1TaskRunnerGetter.html#a802df7f9d3ddd1424f0c386388eae128", null ] +]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__coll__graph.map b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__coll__graph.map new file mode 100644 index 00000000..201cba38 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__coll__graph.map @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__coll__graph.md5 b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__coll__graph.md5 new file mode 100644 index 00000000..ee14a1ef --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__coll__graph.md5 @@ -0,0 +1 @@ +b63f3e09707ca573c9447b292ffc9aa8 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__coll__graph.png b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__coll__graph.png new file mode 100644 index 00000000..7811f1eb Binary files /dev/null and b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__inherit__graph.map b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__inherit__graph.map new file mode 100644 index 00000000..0bf7981f --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__inherit__graph.map @@ -0,0 +1,6 @@ + + + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__inherit__graph.md5 new file mode 100644 index 00000000..ccfa313f --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__inherit__graph.md5 @@ -0,0 +1 @@ +ec147f4b2ac8a05274bf05190998c096 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__inherit__graph.png b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__inherit__graph.png new file mode 100644 index 00000000..6db0d20a Binary files /dev/null and b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunnerGetter__inherit__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__coll__graph.map b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__coll__graph.map new file mode 100644 index 00000000..c7ea447d --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__coll__graph.map @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__coll__graph.md5 b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__coll__graph.md5 new file mode 100644 index 00000000..cc214857 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__coll__graph.md5 @@ -0,0 +1 @@ +af9ae06f158671a46919cc8db2a2f9d6 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__coll__graph.png b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__coll__graph.png new file mode 100644 index 00000000..e6c450e3 Binary files /dev/null and b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__inherit__graph.map b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__inherit__graph.map new file mode 100644 index 00000000..f241015f --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__inherit__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__inherit__graph.md5 new file mode 100644 index 00000000..fe0a56fa --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__inherit__graph.md5 @@ -0,0 +1 @@ +19cd0c6ec550e11ea3a7b04223caf456 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__inherit__graph.png b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__inherit__graph.png new file mode 100644 index 00000000..e036936c Binary files /dev/null and b/docs/html/classGpgFrontend_1_1Thread_1_1TaskRunner__inherit__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject-members.html b/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject-members.html new file mode 100644 index 00000000..5b4ba371 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject-members.html @@ -0,0 +1,111 @@ + + + + + + + +GpgFrontend Project: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    GpgFrontend Project +
    +
    A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    GpgFrontend::Thread::Task::DataObject Member List
    +
    + +
    + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html b/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html new file mode 100644 index 00000000..813f81e1 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html @@ -0,0 +1,390 @@ + + + + + + + +GpgFrontend Project: GpgFrontend::Thread::Task::DataObject Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    GpgFrontend Project +
    +
    A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    GpgFrontend::Thread::Task::DataObject Class Reference
    +
    +
    + +

    DataObject to be passed to the callback function. + More...

    + +

    #include <Task.h>

    +
    +Collaboration diagram for GpgFrontend::Thread::Task::DataObject:
    +
    +
    Collaboration graph
    + + + + + + + +
    + + + + +

    +Classes

    struct  Destructor
     
    + + + + + + + + + + + + + + + + +

    +Public Member Functions

    size_t GetObjectSize ()
     Get the Objects Size. More...
     
    template<typename T >
    void AppendObject (T &&obj)
     
    template<typename T >
    void AppendObject (T *obj)
     
    template<typename T >
    PopObject ()
     
     ~DataObject ()
     Destroy the Data Object object. More...
     
    + + + + + + +

    +Private Member Functions

    Destructorget_heap_ptr (size_t bytes_size)
     Get the heap ptr object. More...
     
    void free_heap_ptr (Destructor *)
     
    + + + +

    +Private Attributes

    +std::stack< Destructor * > data_objects_
     
    +

    Detailed Description

    +

    DataObject to be passed to the callback function.

    +

    Constructor & Destructor Documentation

    + +

    ◆ ~DataObject()

    + +
    +
    + + + + + + + +
    GpgFrontend::Thread::Task::DataObject::~DataObject ()
    +
    + +

    Destroy the Data Object object.

    + +
    +
    +

    Member Function Documentation

    + +

    ◆ AppendObject() [1/2]

    + +
    +
    +
    +template<typename T >
    + + + + + +
    + + + + + + + + +
    void GpgFrontend::Thread::Task::DataObject::AppendObject (T && obj)
    +
    +inline
    +
    +
    Template Parameters
    + + +
    T
    +
    +
    +
    Parameters
    + + +
    ptr
    +
    +
    + +
    +
    + +

    ◆ AppendObject() [2/2]

    + +
    +
    +
    +template<typename T >
    + + + + + +
    + + + + + + + + +
    void GpgFrontend::Thread::Task::DataObject::AppendObject (T * obj)
    +
    +inline
    +
    +
    Template Parameters
    + + +
    T
    +
    +
    +
    Parameters
    + + +
    ptr
    +
    +
    + +
    +
    + +

    ◆ free_heap_ptr()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void GpgFrontend::Thread::Task::DataObject::free_heap_ptr (Destructorptr)
    +
    +private
    +
    +
    Parameters
    + + +
    heap_ptr
    +
    +
    + +
    +
    + +

    ◆ get_heap_ptr()

    + +
    +
    + + + + + +
    + + + + + + + + +
    GpgFrontend::Thread::Task::DataObject::Destructor * GpgFrontend::Thread::Task::DataObject::get_heap_ptr (size_t bytes_size)
    +
    +private
    +
    + +

    Get the heap ptr object.

    +
    Parameters
    + + +
    bytes_size
    +
    +
    +
    Returns
    void*
    + +
    +
    + +

    ◆ GetObjectSize()

    + +
    +
    + + + + + + + +
    size_t GpgFrontend::Thread::Task::DataObject::GetObjectSize ()
    +
    + +

    Get the Objects Size.

    +
    Returns
    size_t
    + +
    +
    + +

    ◆ PopObject()

    + +
    +
    +
    +template<typename T >
    + + + + + +
    + + + + + + + +
    T GpgFrontend::Thread::Task::DataObject::PopObject ()
    +
    +inline
    +
    +
    Template Parameters
    + + +
    T
    +
    +
    +
    Returns
    std::shared_ptr<T>
    + +
    +
    +
    The documentation for this class was generated from the following files:
      +
    • src/core/thread/Task.h
    • +
    • src/core/thread/Task.cpp
    • +
    +
    +
    + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.js b/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.js new file mode 100644 index 00000000..d7e04902 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.js @@ -0,0 +1,12 @@ +var classGpgFrontend_1_1Thread_1_1Task_1_1DataObject = +[ + [ "Destructor", "structGpgFrontend_1_1Thread_1_1Task_1_1DataObject_1_1Destructor.html", "structGpgFrontend_1_1Thread_1_1Task_1_1DataObject_1_1Destructor" ], + [ "~DataObject", "classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html#a85bb3c482bf6f47edcd6593cca568a22", null ], + [ "AppendObject", "classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html#a521dccfd42e13769b4edc4286318cc4c", null ], + [ "AppendObject", "classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html#a5812bb84c6241e89f8b8b04d2a2f3b55", null ], + [ "free_heap_ptr", "classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html#a17252d07835dab3772381639ec8473ea", null ], + [ "get_heap_ptr", "classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html#a0e1ab5e5bf5ef647a30a5ee2884ac63a", null ], + [ "GetObjectSize", "classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html#aa35e6ad1ef3a5733fb338f3333b5c637", null ], + [ "PopObject", "classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html#a5ef5ddec0b82017cc4ad7f34b9b13f64", null ], + [ "data_objects_", "classGpgFrontend_1_1Thread_1_1Task_1_1DataObject.html#add6080349c4774da4f37a62ab68561c7", null ] +]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject__coll__graph.map b/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject__coll__graph.map new file mode 100644 index 00000000..68ee9482 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject__coll__graph.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject__coll__graph.md5 b/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject__coll__graph.md5 new file mode 100644 index 00000000..daaa9f71 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject__coll__graph.md5 @@ -0,0 +1 @@ +85a2c6449d2534e83dbb39c04c17d450 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject__coll__graph.png b/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject__coll__graph.png new file mode 100644 index 00000000..9c0f44cf Binary files /dev/null and b/docs/html/classGpgFrontend_1_1Thread_1_1Task_1_1DataObject__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task__coll__graph.map b/docs/html/classGpgFrontend_1_1Thread_1_1Task__coll__graph.map new file mode 100644 index 00000000..6b7bd147 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1Task__coll__graph.map @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task__coll__graph.md5 b/docs/html/classGpgFrontend_1_1Thread_1_1Task__coll__graph.md5 new file mode 100644 index 00000000..344df226 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1Task__coll__graph.md5 @@ -0,0 +1 @@ +39701d735c96d3bf118f7e07d3064132 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task__coll__graph.png b/docs/html/classGpgFrontend_1_1Thread_1_1Task__coll__graph.png new file mode 100644 index 00000000..aaa4fa16 Binary files /dev/null and b/docs/html/classGpgFrontend_1_1Thread_1_1Task__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task__inherit__graph.map b/docs/html/classGpgFrontend_1_1Thread_1_1Task__inherit__graph.map new file mode 100644 index 00000000..91d6e763 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1Task__inherit__graph.map @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1Thread_1_1Task__inherit__graph.md5 new file mode 100644 index 00000000..3293b9d1 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1Thread_1_1Task__inherit__graph.md5 @@ -0,0 +1 @@ +4c780ad5cd5d8319d8b1ae494007589e \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1Task__inherit__graph.png b/docs/html/classGpgFrontend_1_1Thread_1_1Task__inherit__graph.png new file mode 100644 index 00000000..db4d9824 Binary files /dev/null and b/docs/html/classGpgFrontend_1_1Thread_1_1Task__inherit__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils-members.html b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils-members.html index 0082ae3c..5e06316b 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils-members.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils-members.html @@ -94,7 +94,9 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1CommonUtils.
ImportCallbackFunctiopn typedef (defined in GpgFrontend::UI::CommonUtils)GpgFrontend::UI::CommonUtils
instance_ (defined in GpgFrontend::UI::CommonUtils)GpgFrontend::UI::CommonUtilsprivatestatic
SignalGnupgNotInstall() (defined in GpgFrontend::UI::CommonUtils)GpgFrontend::UI::CommonUtilssignal
SignalKeyStatusUpdated() (defined in GpgFrontend::UI::CommonUtils)GpgFrontend::UI::CommonUtilssignal
SignalKeyDatabaseRefreshDone()GpgFrontend::UI::CommonUtilssignal
SignalKeyStatusUpdated() (defined in GpgFrontend::UI::CommonUtils)GpgFrontend::UI::CommonUtilssignal
slot_update_key_status()GpgFrontend::UI::CommonUtilsprivateslot
SlotExecuteGpgCommand(const QStringList &arguments, const std::function< void(QProcess *)> &interact_func)GpgFrontend::UI::CommonUtilsslot
SlotImportKeyFromClipboard(QWidget *parent)GpgFrontend::UI::CommonUtilsslot
SlotImportKeyFromFile(QWidget *parent)GpgFrontend::UI::CommonUtilsslot
SignalKeyStatusUpdate
void SignalGnupgNotInstall ()
 
void SignalKeyDatabaseRefreshDone ()
 emit when the key database is refreshed More...
 
@@ -158,6 +162,12 @@ Static Public Member Functions

Public Member Functions

 Get the Instance object. More...
 
+ + + + +

+Private Slots

void slot_update_key_status ()
 update the key status when signal is emitted More...
 
- + @@ -259,8 +280,8 @@ size_t  - + @@ -289,7 +310,7 @@ size_t  - - + +

Static Private Attributes

@@ -182,7 +192,7 @@ static std::unique_ptr< References GpgFrontend::CoreCommonUtil::GetInstance(), and GpgFrontend::UI::SignalStation::GetInstance().

+

References GpgFrontend::CoreCommonUtil::GetInstance(), GpgFrontend::UI::SignalStation::GetInstance(), SignalKeyDatabaseRefreshDone(), and slot_update_key_status().

@@ -213,7 +223,67 @@ static std::unique_ptr<
Returns
CommonUtils*
-

Referenced by GpgFrontend::UI::KeyMgmt::create_actions(), GpgFrontend::UI::MainWindow::create_actions(), and GpgFrontend::UI::MainWindow::slot_import_key_from_edit().

+

Referenced by GpgFrontend::UI::KeyMgmt::create_actions(), GpgFrontend::UI::MainWindow::create_actions(), GpgFrontend::UI::InitGpgFrontendUI(), and GpgFrontend::UI::MainWindow::slot_import_key_from_edit().

+ + + + +

◆ SignalKeyDatabaseRefreshDone

+ +
+
+ + + + + +
+ + + + + + + +
void GpgFrontend::UI::CommonUtils::SignalKeyDatabaseRefreshDone ()
+
+signal
+
+ +

emit when the key database is refreshed

+ +

Referenced by CommonUtils(), and slot_update_key_status().

+ +
+
+ +

◆ slot_update_key_status

+ +
+
+ + + + + +
+ + + + + + + +
void GpgFrontend::UI::CommonUtils::slot_update_key_status ()
+
+privateslot
+
@@ -376,7 +446,7 @@ static std::unique_ptr< References GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance(), GpgFrontend::SingletonFunctionObject< GpgKeyImportExporter >::GetInstance(), GpgFrontend::GlobalSettingStation::GetUISettings(), and GpgFrontend::GpgKeyImportExporter::ImportKey().

+

References GpgFrontend::UI::SettingsObject::Check(), GpgFrontend::SingletonFunctionObject< GpgKeyImportExporter >::GetInstance(), GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance(), GpgFrontend::GlobalSettingStation::GetUISettings(), and GpgFrontend::GpgKeyImportExporter::ImportKey().

diff --git a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils.js b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils.js index 7f80db0c..a410789f 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils.js +++ b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils.js @@ -4,7 +4,9 @@ var classGpgFrontend_1_1UI_1_1CommonUtils = [ "CommonUtils", "classGpgFrontend_1_1UI_1_1CommonUtils.html#a78f5c2696152e9326e845c76c94be965", null ], [ "GetInstance", "classGpgFrontend_1_1UI_1_1CommonUtils.html#aed529969f54e39e3f9da14ae6dd00d49", null ], [ "SignalGnupgNotInstall", "classGpgFrontend_1_1UI_1_1CommonUtils.html#a4d2f10c2089c2bfb23be5c1f573af31f", null ], + [ "SignalKeyDatabaseRefreshDone", "classGpgFrontend_1_1UI_1_1CommonUtils.html#a1abc83bba95579aa94d0870181991a28", null ], [ "SignalKeyStatusUpdated", "classGpgFrontend_1_1UI_1_1CommonUtils.html#a4bc9e91daa0d3c4ee4141ba4bd8726bb", null ], + [ "slot_update_key_status", "classGpgFrontend_1_1UI_1_1CommonUtils.html#ab4ac26378d6a07757720163eb4b1cb0e", null ], [ "SlotExecuteGpgCommand", "classGpgFrontend_1_1UI_1_1CommonUtils.html#afc845c1c37487c99f78d8e66f6874f6d", null ], [ "SlotImportKeyFromClipboard", "classGpgFrontend_1_1UI_1_1CommonUtils.html#a0c8bf56fc5371cd2c5e9d2a0f67bf72a", null ], [ "SlotImportKeyFromFile", "classGpgFrontend_1_1UI_1_1CommonUtils.html#a057526790f6b2f6288c3a35322c34d8d", null ], diff --git a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__coll__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__coll__graph.map index 1fc3ff25..fa81702a 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__coll__graph.map +++ b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__coll__graph.map @@ -1,7 +1,7 @@ - - + + - + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__coll__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__coll__graph.md5 index 531e8217..5c1311e3 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__coll__graph.md5 +++ b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__coll__graph.md5 @@ -1 +1 @@ -49c5e966db9efe2aa393f3b5d3a3f87d \ No newline at end of file +560351efc4363f80264d923d25a352f5 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__coll__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__coll__graph.png index 051db301..09b8dfa1 100644 Binary files a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__coll__graph.png and b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__inherit__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__inherit__graph.map index 79ae6b81..941bcfd8 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__inherit__graph.map +++ b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__inherit__graph.map @@ -1,4 +1,4 @@ - + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__inherit__graph.md5 index 7de44e55..06769d3d 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__inherit__graph.md5 +++ b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__inherit__graph.md5 @@ -1 +1 @@ -cb4b9106827a12a3e362be86421e6d63 \ No newline at end of file +71bb20f4f362da2a09cf8ab41b059b81 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__inherit__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__inherit__graph.png index bd8a8049..e4194189 100644 Binary files a/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__inherit__graph.png and b/docs/html/classGpgFrontend_1_1UI_1_1CommonUtils__inherit__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask-members.html b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask-members.html new file mode 100644 index 00000000..6402d751 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask-members.html @@ -0,0 +1,137 @@ + + + + + + + +GpgFrontend Project: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
GpgFrontend Project +
+
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
GpgFrontend::UI::FileReadTask Member List
+
+
+ +

This is the complete list of members for GpgFrontend::UI::FileReadTask, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
before_finish_task() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
buffer_size_ (defined in GpgFrontend::UI::FileReadTask)GpgFrontend::UI::FileReadTaskprivate
callback_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
callback_thread_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
data_object_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
DataObjectPtr typedef (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Task
FileReadTask(std::string path) (defined in GpgFrontend::UI::FileReadTask)GpgFrontend::UI::FileReadTaskexplicit
finish_after_run_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
generate_uuid()GpgFrontend::Thread::Taskprivatestatic
GetUUID() constGpgFrontend::Thread::Task
init() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
looper (defined in GpgFrontend::UI::FileReadTask)GpgFrontend::UI::FileReadTaskprivate
read_bytes() (defined in GpgFrontend::UI::FileReadTask)GpgFrontend::UI::FileReadTaskprivateslot
read_file_path_ (defined in GpgFrontend::UI::FileReadTask)GpgFrontend::UI::FileReadTaskprivate
rtn_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
run() override (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivatevirtual
Run() overrideGpgFrontend::UI::FileReadTaskvirtual
runnable_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
SetFinishAfterRun(bool finish_after_run)GpgFrontend::Thread::Taskprotected
SetRTN(int rtn)GpgFrontend::Thread::Taskprotected
SignalFileBytesRead(QByteArray bytes) (defined in GpgFrontend::UI::FileReadTask)GpgFrontend::UI::FileReadTasksignal
SignalFileBytesReadEnd() (defined in GpgFrontend::UI::FileReadTask)GpgFrontend::UI::FileReadTasksignal
SignalFileBytesReadNext() (defined in GpgFrontend::UI::FileReadTask)GpgFrontend::UI::FileReadTasksignal
SignalTaskFinished() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Tasksignal
SignalTaskPostFinishedDone() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Tasksignal
target_file_ (defined in GpgFrontend::UI::FileReadTask)GpgFrontend::UI::FileReadTaskprivate
Task()GpgFrontend::Thread::Task
Task(TaskCallback callback, DataObjectPtr data_object=nullptr)GpgFrontend::Thread::Task
Task(TaskRunnable runnable, TaskCallback callback=[](int, std::shared_ptr< DataObject >) {}, DataObjectPtr data=nullptr)GpgFrontend::Thread::Task
TaskCallback typedef (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Task
TaskRunnable typedef (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Task
uuid_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
~FileReadTask() override (defined in GpgFrontend::UI::FileReadTask)GpgFrontend::UI::FileReadTaskvirtual
~Task() overrideGpgFrontend::Thread::Taskvirtual
+
+ + + + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask.html b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask.html new file mode 100644 index 00000000..238486a3 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask.html @@ -0,0 +1,258 @@ + + + + + + + +GpgFrontend Project: GpgFrontend::UI::FileReadTask Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
GpgFrontend Project +
+
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
GpgFrontend::UI::FileReadTask Class Reference
+
+
+
+Inheritance diagram for GpgFrontend::UI::FileReadTask:
+
+
Inheritance graph
+ + + + + + +
+
+Collaboration diagram for GpgFrontend::UI::FileReadTask:
+
+
Collaboration graph
+ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +

+Signals

+void SignalFileBytesRead (QByteArray bytes)
 
+void SignalFileBytesReadEnd ()
 
+void SignalFileBytesReadNext ()
 
- Signals inherited from GpgFrontend::Thread::Task
+void SignalTaskFinished ()
 
+void SignalTaskPostFinishedDone ()
 
+ + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

FileReadTask (std::string path)
 
void Run () override
 Run - run the task. More...
 
- Public Member Functions inherited from GpgFrontend::Thread::Task
 Task ()
 Construct a new Task object. More...
 
 Task (TaskCallback callback, DataObjectPtr data_object=nullptr)
 Construct a new Task object. More...
 
 Task (TaskRunnable runnable, TaskCallback callback=[](int, std::shared_ptr< DataObject >) {}, DataObjectPtr data=nullptr)
 Construct a new Task object. More...
 
virtual ~Task () override
 Destroy the Task object. More...
 
std::string GetUUID () const
 
+ + + +

+Private Slots

+void read_bytes ()
 
+ + + + + + + + + +

+Private Attributes

+std::filesystem::path read_file_path_
 
+QFile target_file_
 
+const size_t buffer_size_ = 4096
 
+QEventLoop looper
 
+ + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from GpgFrontend::Thread::Task
+using DataObjectPtr = std::shared_ptr< DataObject >
 
+using TaskRunnable = std::function< int(DataObjectPtr)>
 
+using TaskCallback = std::function< void(int, DataObjectPtr)>
 
- Protected Member Functions inherited from GpgFrontend::Thread::Task
void SetFinishAfterRun (bool finish_after_run)
 Set the Finish After Run object. More...
 
void SetRTN (int rtn)
 
+

Member Function Documentation

+ +

◆ Run()

+ +
+
+ + + + + +
+ + + + + + + +
void GpgFrontend::UI::FileReadTask::Run ()
+
+overridevirtual
+
+ +

Run - run the task.

+ +

Reimplemented from GpgFrontend::Thread::Task.

+ +

References GpgFrontend::Thread::Task::SetFinishAfterRun().

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask.js b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask.js new file mode 100644 index 00000000..3d821b6f --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask.js @@ -0,0 +1,14 @@ +var classGpgFrontend_1_1UI_1_1FileReadTask = +[ + [ "FileReadTask", "classGpgFrontend_1_1UI_1_1FileReadTask.html#abf21650d2597034d3307f530ebfb7f18", null ], + [ "~FileReadTask", "classGpgFrontend_1_1UI_1_1FileReadTask.html#ad431aee5396454deee20b3d178f26ecc", null ], + [ "read_bytes", "classGpgFrontend_1_1UI_1_1FileReadTask.html#afe44eab4abfe0b3b950f332d54662159", null ], + [ "Run", "classGpgFrontend_1_1UI_1_1FileReadTask.html#a0f8bc1c253380b68c0e65cabc011ac09", null ], + [ "SignalFileBytesRead", "classGpgFrontend_1_1UI_1_1FileReadTask.html#a4e3c97cfac764af80919ed838bc00561", null ], + [ "SignalFileBytesReadEnd", "classGpgFrontend_1_1UI_1_1FileReadTask.html#ae5787665efd04214a14111787deee57c", null ], + [ "SignalFileBytesReadNext", "classGpgFrontend_1_1UI_1_1FileReadTask.html#a964920606f5873fd6a9407b9865e8fba", null ], + [ "buffer_size_", "classGpgFrontend_1_1UI_1_1FileReadTask.html#a2bc7e5bb1c67490ba12c82200634bd97", null ], + [ "looper", "classGpgFrontend_1_1UI_1_1FileReadTask.html#afb248c339ac074f0a7602711ed2f5e39", null ], + [ "read_file_path_", "classGpgFrontend_1_1UI_1_1FileReadTask.html#ac00874dbef395dda534e32c6502c7913", null ], + [ "target_file_", "classGpgFrontend_1_1UI_1_1FileReadTask.html#af3896c6ef4dc49bd371746aa9fea1120", null ] +]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__coll__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__coll__graph.map new file mode 100644 index 00000000..0fa8a1aa --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__coll__graph.map @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__coll__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__coll__graph.md5 new file mode 100644 index 00000000..e6c849e3 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__coll__graph.md5 @@ -0,0 +1 @@ +c9f1d25ff75dfaff10c06e6c45b700a8 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__coll__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__coll__graph.png new file mode 100644 index 00000000..773d2dd7 Binary files /dev/null and b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__inherit__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__inherit__graph.map new file mode 100644 index 00000000..35414687 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__inherit__graph.map @@ -0,0 +1,6 @@ + + + + + + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__inherit__graph.md5 new file mode 100644 index 00000000..dfb8dbc4 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__inherit__graph.md5 @@ -0,0 +1 @@ +f79d19039765d4bec2af08d752745671 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__inherit__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__inherit__graph.png new file mode 100644 index 00000000..f399e1b0 Binary files /dev/null and b/docs/html/classGpgFrontend_1_1UI_1_1FileReadTask__inherit__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread.html b/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread.html deleted file mode 100644 index 0d54a132..00000000 --- a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - -GpgFrontend Project: GpgFrontend::UI::FileReadThread Class Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
GpgFrontend Project -
-
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
GpgFrontend::UI::FileReadThread Class Reference
-
-
-
-Inheritance diagram for GpgFrontend::UI::FileReadThread:
-
-
Inheritance graph
- - - - -
-
-Collaboration diagram for GpgFrontend::UI::FileReadThread:
-
-
Collaboration graph
- - - - - - -
- - - - - - -

-Signals

void SignalSendReadBlock (const std::string &block)
 
-void SignalReadDone ()
 
- - - - -

-Public Member Functions

 FileReadThread (std::string path)
 Construct a new File Read Thread object. More...
 
- - - -

-Protected Member Functions

-void run () override
 
- - - -

-Private Attributes

-std::string path_
 
-

Constructor & Destructor Documentation

- -

◆ FileReadThread()

- -
-
- - - - - -
- - - - - - - - -
GpgFrontend::UI::FileReadThread::FileReadThread (std::string path)
-
-explicit
-
- -

Construct a new File Read Thread object.

-
Parameters
- - -
path
-
-
- -
-
-

Member Function Documentation

- -

◆ SignalSendReadBlock

- -
-
- - - - - -
- - - - - - - - -
void GpgFrontend::UI::FileReadThread::SignalSendReadBlock (const std::string & block)
-
-signal
-
-
Parameters
- - -
block
-
-
- -
-
-
The documentation for this class was generated from the following files: -
-
- - - - diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread.js b/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread.js deleted file mode 100644 index dcb2f050..00000000 --- a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread.js +++ /dev/null @@ -1,8 +0,0 @@ -var classGpgFrontend_1_1UI_1_1FileReadThread = -[ - [ "FileReadThread", "classGpgFrontend_1_1UI_1_1FileReadThread.html#abceee444fe8212efd638c8d5b98b24c5", null ], - [ "run", "classGpgFrontend_1_1UI_1_1FileReadThread.html#adadf23a38fccec07692a13c4b23b2601", null ], - [ "SignalReadDone", "classGpgFrontend_1_1UI_1_1FileReadThread.html#ade3bb7844d1430bc9831a9a13e3b66bb", null ], - [ "SignalSendReadBlock", "classGpgFrontend_1_1UI_1_1FileReadThread.html#a152a32021b66ea7de5aaf8cf6376c9ab", null ], - [ "path_", "classGpgFrontend_1_1UI_1_1FileReadThread.html#abec15f169720245a01a818e7cb74278a", null ] -]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__coll__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__coll__graph.map deleted file mode 100644 index b1cdb608..00000000 --- a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__coll__graph.map +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__coll__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__coll__graph.md5 deleted file mode 100644 index d2519ec9..00000000 --- a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -9d24ce1c5c440752632060b13fbf98ba \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__coll__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__coll__graph.png deleted file mode 100644 index 7522b851..00000000 Binary files a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__coll__graph.png and /dev/null differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__inherit__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__inherit__graph.map deleted file mode 100644 index e3b58c75..00000000 --- a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__inherit__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__inherit__graph.md5 deleted file mode 100644 index b0c1141e..00000000 --- a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -b8ff69fee27ecbc530023e553cabbd7b \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__inherit__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__inherit__graph.png deleted file mode 100644 index f62659e0..00000000 Binary files a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread__inherit__graph.png and /dev/null differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FindWidget.html b/docs/html/classGpgFrontend_1_1UI_1_1FindWidget.html index 008b9381..d556d1ed 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1FindWidget.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1FindWidget.html @@ -112,12 +112,14 @@ Collaboration diagram for GpgFrontend::UI::FindWidget:
Collaboration graph
- - - - - - + + + + + + + +
diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FindWidget__coll__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1FindWidget__coll__graph.map index 93ebc21a..cc1792b5 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1FindWidget__coll__graph.map +++ b/docs/html/classGpgFrontend_1_1UI_1_1FindWidget__coll__graph.map @@ -1,8 +1,10 @@ - - - - - - + + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FindWidget__coll__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1FindWidget__coll__graph.md5 index d460109e..d1f513e2 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1FindWidget__coll__graph.md5 +++ b/docs/html/classGpgFrontend_1_1UI_1_1FindWidget__coll__graph.md5 @@ -1 +1 @@ -a33d6019cc8ae07002e4cc739b40a974 \ No newline at end of file +fbc93561e5f0a3a8d0b469d5054e826d \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FindWidget__coll__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1FindWidget__coll__graph.png index d80a86ee..bcdfa365 100644 Binary files a/docs/html/classGpgFrontend_1_1UI_1_1FindWidget__coll__graph.png and b/docs/html/classGpgFrontend_1_1UI_1_1FindWidget__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread-members.html b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication-members.html similarity index 66% rename from docs/html/classGpgFrontend_1_1UI_1_1FileReadThread-members.html rename to docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication-members.html index 3823f1ef..4f23f227 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1FileReadThread-members.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication-members.html @@ -63,7 +63,7 @@ $(function() {
@@ -83,17 +83,16 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1FileReadThre
-
GpgFrontend::UI::FileReadThread Member List
+
GpgFrontend::UI::GpgFrontendApplication Member List
-

This is the complete list of members for GpgFrontend::UI::FileReadThread, including all inherited members.

+

This is the complete list of members for GpgFrontend::UI::GpgFrontendApplication, including all inherited members.

- - - - - + + + +
FileReadThread(std::string path)GpgFrontend::UI::FileReadThreadexplicit
path_ (defined in GpgFrontend::UI::FileReadThread)GpgFrontend::UI::FileReadThreadprivate
run() override (defined in GpgFrontend::UI::FileReadThread)GpgFrontend::UI::FileReadThreadprotected
SignalReadDone() (defined in GpgFrontend::UI::FileReadThread)GpgFrontend::UI::FileReadThreadsignal
SignalSendReadBlock(const std::string &block)GpgFrontend::UI::FileReadThreadsignal
GetInstance(int argc=0, char *argv[]=nullptr, bool new_instance=false)GpgFrontend::UI::GpgFrontendApplicationstatic
GpgFrontendApplication(int &argc, char **argv)GpgFrontend::UI::GpgFrontendApplicationexplicit
notify(QObject *receiver, QEvent *event) overrideGpgFrontend::UI::GpgFrontendApplicationprotected
~GpgFrontendApplication() override=defaultGpgFrontend::UI::GpgFrontendApplication
diff --git a/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication.html b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication.html new file mode 100644 index 00000000..858f8825 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication.html @@ -0,0 +1,315 @@ + + + + + + + +GpgFrontend Project: GpgFrontend::UI::GpgFrontendApplication Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
GpgFrontend Project +
+
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
GpgFrontend::UI::GpgFrontendApplication Class Reference
+
+
+
+Inheritance diagram for GpgFrontend::UI::GpgFrontendApplication:
+
+
Inheritance graph
+ + + + +
+
+Collaboration diagram for GpgFrontend::UI::GpgFrontendApplication:
+
+
Collaboration graph
+ + + + +
+ + + + + + + + +

+Public Member Functions

 GpgFrontendApplication (int &argc, char **argv)
 Construct a new GpgFrontend Application object. More...
 
 ~GpgFrontendApplication () override=default
 Destroy the GpgFrontend Application object. More...
 
+ + + + +

+Static Public Member Functions

static GpgFrontendApplicationGetInstance (int argc=0, char *argv[]=nullptr, bool new_instance=false)
 Get the GpgFrontend Application object. More...
 
+ + + +

+Protected Member Functions

bool notify (QObject *receiver, QEvent *event) override
 
+

Constructor & Destructor Documentation

+ +

◆ GpgFrontendApplication()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
GpgFrontend::UI::GpgFrontendApplication::GpgFrontendApplication (int & argc,
char ** argv 
)
+
+explicit
+
+ +

Construct a new GpgFrontend Application object.

+
Parameters
+ + + +
argc
argv
+
+
+ +

Referenced by GetInstance().

+ +
+
+ +

◆ ~GpgFrontendApplication()

+ +
+
+ + + + + +
+ + + + + + + +
GpgFrontend::UI::GpgFrontendApplication::~GpgFrontendApplication ()
+
+overridedefault
+
+ +

Destroy the GpgFrontend Application object.

+ +
+
+

Member Function Documentation

+ +

◆ GetInstance()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
GpgFrontendApplication * GpgFrontend::UI::GpgFrontendApplication::GetInstance (int argc = 0,
char * argv[] = nullptr,
bool new_instance = false 
)
+
+static
+
+ +

Get the GpgFrontend Application object.

+
Returns
GpgFrontendApplication*
+ +

References GpgFrontendApplication().

+ +
+
+ +

◆ notify()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool GpgFrontend::UI::GpgFrontendApplication::notify (QObject * receiver,
QEvent * event 
)
+
+overrideprotected
+
+
Parameters
+ + +
event
+
+
+
Returns
bool
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication.js b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication.js new file mode 100644 index 00000000..c5ddb15f --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication.js @@ -0,0 +1,7 @@ +var classGpgFrontend_1_1UI_1_1GpgFrontendApplication = +[ + [ "GpgFrontendApplication", "classGpgFrontend_1_1UI_1_1GpgFrontendApplication.html#ae0c8f5dda829371d9f1e2d4d6913be21", null ], + [ "~GpgFrontendApplication", "classGpgFrontend_1_1UI_1_1GpgFrontendApplication.html#a32f0e7dda69f7b1e3cc869340736c590", null ], + [ "GetInstance", "classGpgFrontend_1_1UI_1_1GpgFrontendApplication.html#a9b341a1a903cec0c70a6af4bb230905e", null ], + [ "notify", "classGpgFrontend_1_1UI_1_1GpgFrontendApplication.html#a6f8ab335d89948c48cd634ab20ff9aa0", null ] +]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__coll__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__coll__graph.map new file mode 100644 index 00000000..19bdef6c --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__coll__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__coll__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__coll__graph.md5 new file mode 100644 index 00000000..264a5126 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__coll__graph.md5 @@ -0,0 +1 @@ +bf35a48a987205732ab34b718c43f164 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__coll__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__coll__graph.png new file mode 100644 index 00000000..743b4e8b Binary files /dev/null and b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__inherit__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__inherit__graph.map new file mode 100644 index 00000000..19bdef6c --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__inherit__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__inherit__graph.md5 new file mode 100644 index 00000000..264a5126 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__inherit__graph.md5 @@ -0,0 +1 @@ +bf35a48a987205732ab34b718c43f164 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__inherit__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__inherit__graph.png new file mode 100644 index 00000000..743b4e8b Binary files /dev/null and b/docs/html/classGpgFrontend_1_1UI_1_1GpgFrontendApplication__inherit__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1KeyImportDetailDialog.html b/docs/html/classGpgFrontend_1_1UI_1_1KeyImportDetailDialog.html index 60680584..0e07614b 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1KeyImportDetailDialog.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1KeyImportDetailDialog.html @@ -291,7 +291,7 @@ QDialogButtonBox * 
button_

Create a keys table object.

-

References get_status_string(), GpgFrontend::GpgKey::GetEmail(), GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::GpgKeyGetter::GetKey(), GpgFrontend::GpgKey::GetName(), and GpgFrontend::GpgKey::IsGood().

+

References get_status_string(), GpgFrontend::GpgKey::GetEmail(), GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::GpgKeyGetter::GetKey(), GpgFrontend::GpgKey::GetName(), and GpgFrontend::GpgKey::IsGood().

Referenced by KeyImportDetailDialog().

diff --git a/docs/html/classGpgFrontend_1_1UI_1_1KeyList.html b/docs/html/classGpgFrontend_1_1UI_1_1KeyList.html index bbdd84bf..eab15c3f 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1KeyList.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1KeyList.html @@ -918,7 +918,7 @@ false -

References GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), and GpgFrontend::GpgKeyGetter::GetKey().

+

References GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), and GpgFrontend::GpgKeyGetter::GetKey().

Referenced by AddListGroupTab().

diff --git a/docs/html/classGpgFrontend_1_1UI_1_1KeyMgmt.html b/docs/html/classGpgFrontend_1_1UI_1_1KeyMgmt.html index 03f0ec31..b26a06df 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1KeyMgmt.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1KeyMgmt.html @@ -454,7 +454,7 @@ QAction * 
show_key_details

TODO: Different Messages for private/public key, check if more than one selected... compare to seahorse "delete-dialog"

-

References GpgFrontend::GpgKeyOpera::DeleteKeys(), GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::SingletonFunctionObject< GpgKeyOpera >::GetInstance(), and GpgFrontend::GpgKeyGetter::GetKey().

+

References GpgFrontend::GpgKeyOpera::DeleteKeys(), GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::SingletonFunctionObject< GpgKeyOpera >::GetInstance(), and GpgFrontend::GpgKeyGetter::GetKey().

diff --git a/docs/html/classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html b/docs/html/classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html index 27b3828a..fc6dc166 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1KeyServerImportDialog.html @@ -250,7 +250,7 @@ QNetworkAccessManager * 
ne -

References create_comboBox(), create_keys_table(), GpgFrontend::UI::SignalStation::GetInstance(), GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance(), and GpgFrontend::GlobalSettingStation::GetUISettings().

+

References GpgFrontend::UI::SettingsObject::Check(), create_comboBox(), create_keys_table(), and GpgFrontend::UI::SignalStation::GetInstance().

@@ -363,7 +363,7 @@ QNetworkAccessManager * 
ne

Create a comboBox object.

Returns
QComboBox*
-

References GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance(), and GpgFrontend::GlobalSettingStation::GetUISettings().

+

References GpgFrontend::UI::SettingsObject::Check().

Referenced by KeyServerImportDialog().

diff --git a/docs/html/classGpgFrontend_1_1UI_1_1MainWindow.html b/docs/html/classGpgFrontend_1_1UI_1_1MainWindow.html index c0533f53..bcada46e 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1MainWindow.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1MainWindow.html @@ -765,7 +765,7 @@ bool 
prohibit_update_check

ONLY Called from main()

-

References GpgFrontend::UI::KeyList::AddMenuAction(), append_selected_keys_act_, copy_mail_address_to_clipboard_act_, create_actions(), create_dock_windows(), create_menus(), create_status_bar(), create_tool_bars(), GpgFrontend::UI::TextEdit::CurTextPage(), edit_, GpgFrontend::UI::SignalStation::GetInstance(), GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance(), GpgFrontend::GlobalSettingStation::GetUISettings(), GpgFrontend::UI::TextEdit::LoadFile(), restore_settings(), show_key_details_act_, GpgFrontend::UI::SignalStation::SignalRefreshStatusBar(), GpgFrontend::UI::VersionCheckThread::SignalUpgradeVersion(), slot_disable_tab_actions(), slot_start_wizard(), slot_version_upgrade(), and SlotSetRestartNeeded().

+

References GpgFrontend::UI::KeyList::AddMenuAction(), append_selected_keys_act_, copy_mail_address_to_clipboard_act_, create_actions(), create_dock_windows(), create_menus(), create_status_bar(), create_tool_bars(), GpgFrontend::UI::TextEdit::CurTextPage(), edit_, GpgFrontend::UI::SignalStation::GetInstance(), GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance(), GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >::GetInstance(), GpgFrontend::GlobalSettingStation::GetUISettings(), restore_settings(), show_key_details_act_, GpgFrontend::UI::SignalStation::SignalRefreshStatusBar(), GpgFrontend::UI::VersionCheckTask::SignalUpgradeVersion(), slot_disable_tab_actions(), slot_start_wizard(), slot_version_upgrade(), and SlotSetRestartNeeded().

@@ -992,7 +992,7 @@ bool 
prohibit_update_check prohibit_update_check prohibit_update_check

decrypt and verify the text of currently active textedit-page with the currently checked keys

-

References GpgFrontend::check_gpg_error_2_err_code(), GpgFrontend::UI::TextEdit::CurTextPage(), GpgFrontend::GpgBasicOperator::DecryptVerify(), edit_, GpgFrontend::SingletonFunctionObject< GpgBasicOperator >::GetInstance(), GpgFrontend::UI::PlainTextEditorPage::GetTextPage(), GpgFrontend::UI::import_unknown_key_from_keyserver(), GpgFrontend::UI::process_operation(), GpgFrontend::UI::process_result_analyse(), GpgFrontend::UI::show_verify_details(), GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView(), GpgFrontend::UI::TextEdit::SlotCurPageTextEdit(), SlotFileDecryptVerify(), GpgFrontend::UI::TextEdit::SlotFillTextEditWithText(), and GpgFrontend::UI::TextEdit::TabCount().

+

References GpgFrontend::check_gpg_error_2_err_code(), GpgFrontend::UI::TextEdit::CurTextPage(), GpgFrontend::GpgBasicOperator::DecryptVerify(), edit_, GpgFrontend::SingletonFunctionObject< GpgBasicOperator >::GetInstance(), GpgFrontend::UI::PlainTextEditorPage::GetTextPage(), GpgFrontend::UI::import_unknown_key_from_keyserver(), GpgFrontend::UI::process_operation(), GpgFrontend::UI::process_result_analyse(), GpgFrontend::UI::show_verify_details(), GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView(), GpgFrontend::UI::TextEdit::SlotCurPageTextEdit(), SlotFileDecryptVerify(), GpgFrontend::UI::TextEdit::SlotFillTextEditWithText(), and GpgFrontend::UI::TextEdit::TabCount().

Referenced by create_actions().

@@ -1149,7 +1149,7 @@ bool 
prohibit_update_check

encrypt the text of currently active textedit-page with the currently checked keys

Encrypt Entry(Text & File)

-

References GpgFrontend::check_gpg_error_2_err_code(), GpgFrontend::UI::TextEdit::CurTextPage(), edit_, GpgFrontend::GpgBasicOperator::Encrypt(), GpgFrontend::GpgBasicOperator::EncryptSymmetric(), GpgFrontend::UI::KeyList::GetChecked(), GpgFrontend::SingletonFunctionObject< GpgBasicOperator >::GetInstance(), GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::GpgKeyGetter::GetKeys(), GpgFrontend::UI::process_operation(), GpgFrontend::UI::process_result_analyse(), GpgFrontend::UI::InfoBoardWidget::ResetOptionActionsMenu(), GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView(), GpgFrontend::UI::TextEdit::SlotCurPageTextEdit(), SlotFileEncrypt(), GpgFrontend::UI::TextEdit::SlotFillTextEditWithText(), and GpgFrontend::UI::TextEdit::TabCount().

+

References GpgFrontend::check_gpg_error_2_err_code(), GpgFrontend::UI::TextEdit::CurTextPage(), edit_, GpgFrontend::GpgBasicOperator::Encrypt(), GpgFrontend::GpgBasicOperator::EncryptSymmetric(), GpgFrontend::UI::KeyList::GetChecked(), GpgFrontend::SingletonFunctionObject< GpgBasicOperator >::GetInstance(), GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::GpgKeyGetter::GetKeys(), GpgFrontend::UI::PlainTextEditorPage::GetTextPage(), GpgFrontend::UI::process_operation(), GpgFrontend::UI::process_result_analyse(), GpgFrontend::UI::InfoBoardWidget::ResetOptionActionsMenu(), GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView(), GpgFrontend::UI::TextEdit::SlotCurPageTextEdit(), SlotFileEncrypt(), GpgFrontend::UI::TextEdit::SlotFillTextEditWithText(), and GpgFrontend::UI::TextEdit::TabCount().

Referenced by create_actions().

@@ -1179,7 +1179,7 @@ bool 
prohibit_update_check

encrypt and sign the text of currently active textedit-page with the currently checked keys

-

References GpgFrontend::check_gpg_error_2_err_code(), GpgFrontend::UI::TextEdit::CurTextPage(), edit_, GpgFrontend::GpgBasicOperator::EncryptSign(), GpgFrontend::UI::KeyList::GetChecked(), GpgFrontend::SingletonFunctionObject< GpgBasicOperator >::GetInstance(), GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::GpgKeyGetter::GetKeys(), GpgFrontend::UI::process_operation(), GpgFrontend::UI::process_result_analyse(), GpgFrontend::UI::InfoBoardWidget::ResetOptionActionsMenu(), GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView(), GpgFrontend::UI::TextEdit::SlotCurPageTextEdit(), SlotFileEncryptSign(), GpgFrontend::UI::TextEdit::SlotFillTextEditWithText(), and GpgFrontend::UI::TextEdit::TabCount().

+

References GpgFrontend::check_gpg_error_2_err_code(), GpgFrontend::UI::TextEdit::CurTextPage(), edit_, GpgFrontend::GpgBasicOperator::EncryptSign(), GpgFrontend::UI::KeyList::GetChecked(), GpgFrontend::SingletonFunctionObject< GpgBasicOperator >::GetInstance(), GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::GpgKeyGetter::GetKeys(), GpgFrontend::UI::PlainTextEditorPage::GetTextPage(), GpgFrontend::UI::process_operation(), GpgFrontend::UI::process_result_analyse(), GpgFrontend::UI::InfoBoardWidget::ResetOptionActionsMenu(), GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView(), GpgFrontend::UI::TextEdit::SlotCurPageTextEdit(), SlotFileEncryptSign(), GpgFrontend::UI::TextEdit::SlotFillTextEditWithText(), and GpgFrontend::UI::TextEdit::TabCount().

Referenced by create_actions().

@@ -1357,7 +1357,7 @@ bool 
prohibit_update_check prohibit_update_check

Sign the text of currently active tab with the checked private keys

-

References GpgFrontend::check_gpg_error_2_err_code(), GpgFrontend::UI::TextEdit::CurTextPage(), edit_, GpgFrontend::SingletonFunctionObject< GpgBasicOperator >::GetInstance(), GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::GpgKeyGetter::GetKeys(), GpgFrontend::UI::KeyList::GetPrivateChecked(), GpgFrontend::UI::process_operation(), GpgFrontend::UI::process_result_analyse(), GpgFrontend::GpgBasicOperator::Sign(), GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView(), GpgFrontend::UI::TextEdit::SlotCurPageTextEdit(), SlotFileSign(), GpgFrontend::UI::TextEdit::SlotFillTextEditWithText(), and GpgFrontend::UI::TextEdit::TabCount().

+

References GpgFrontend::check_gpg_error_2_err_code(), GpgFrontend::UI::TextEdit::CurTextPage(), edit_, GpgFrontend::SingletonFunctionObject< GpgBasicOperator >::GetInstance(), GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::GpgKeyGetter::GetKeys(), GpgFrontend::UI::KeyList::GetPrivateChecked(), GpgFrontend::UI::PlainTextEditorPage::GetTextPage(), GpgFrontend::UI::process_operation(), GpgFrontend::UI::process_result_analyse(), GpgFrontend::GpgBasicOperator::Sign(), GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView(), GpgFrontend::UI::TextEdit::SlotCurPageTextEdit(), SlotFileSign(), GpgFrontend::UI::TextEdit::SlotFillTextEditWithText(), and GpgFrontend::UI::TextEdit::TabCount().

Referenced by create_actions().

@@ -1445,7 +1445,7 @@ bool 
prohibit_update_check prohibit_update_check prohibit_update_check prohibit_update_check prohibit_update_check prohibit_update_check prohibit_update_check prohibit_update_check

Open dialog for verifying file.

-

References edit_, GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance(), GpgFrontend::UI::FilePage::GetSelected(), GpgFrontend::GlobalSettingStation::GetUISettings(), GpgFrontend::UI::import_unknown_key_from_keyserver(), GpgFrontend::UI::process_operation(), GpgFrontend::UI::process_result_analyse(), GpgFrontend::UI::show_verify_details(), GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView(), and GpgFrontend::GpgFileOpera::VerifyFile().

+

References edit_, GpgFrontend::SingletonFunctionObject< GlobalSettingStation >::GetInstance(), GpgFrontend::UI::FilePage::GetSelected(), GpgFrontend::GlobalSettingStation::GetUISettings(), GpgFrontend::UI::import_unknown_key_from_keyserver(), GpgFrontend::UI::process_operation(), GpgFrontend::UI::process_result_analyse(), GpgFrontend::UI::show_verify_details(), GpgFrontend::UI::TextEdit::SlotCurPageFileTreeView(), and GpgFrontend::GpgFileOpera::VerifyFile().

Referenced by slot_verify().

diff --git a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage-members.html b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage-members.html index 7b186ab5..82f57759 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage-members.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage-members.html @@ -90,25 +90,30 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1PlainTextEdi

This is the complete list of members for GpgFrontend::UI::PlainTextEditorPage, including all inherited members.

+ + - + - - + + + + - - - - - - + + + + + + - + +
binary_mode_ (defined in GpgFrontend::UI::PlainTextEditorPage)GpgFrontend::UI::PlainTextEditorPageprivate
charset_confidence_ (defined in GpgFrontend::UI::PlainTextEditorPage)GpgFrontend::UI::PlainTextEditorPageprivate
charset_name_ (defined in GpgFrontend::UI::PlainTextEditorPage)GpgFrontend::UI::PlainTextEditorPageprivate
CloseNoteByClass(const char *className)GpgFrontend::UI::PlainTextEditorPage
detect_cr_lf(const QString &data)GpgFrontend::UI::PlainTextEditorPageprivate
detect_cr_lf(const std::string &data)GpgFrontend::UI::PlainTextEditorPageprivate
detect_encoding(const std::string &data)GpgFrontend::UI::PlainTextEditorPageprivate
full_file_path_GpgFrontend::UI::PlainTextEditorPageprivate
GetFilePath() constGpgFrontend::UI::PlainTextEditorPage
GetTextPage()GpgFrontend::UI::PlainTextEditorPage
PlainTextEditorPage(QString file_path="", QWidget *parent=nullptr)GpgFrontend::UI::PlainTextEditorPageexplicit
PrepareToDestroy() (defined in GpgFrontend::UI::PlainTextEditorPage)GpgFrontend::UI::PlainTextEditorPage
is_crlf_ (defined in GpgFrontend::UI::PlainTextEditorPage)GpgFrontend::UI::PlainTextEditorPageprivate
language_name_ (defined in GpgFrontend::UI::PlainTextEditorPage)GpgFrontend::UI::PlainTextEditorPageprivate
NotifyFileSaved()GpgFrontend::UI::PlainTextEditorPage
PlainTextEditorPage(QString file_path={}, QWidget *parent=nullptr)GpgFrontend::UI::PlainTextEditorPageexplicit
read_bytes_ (defined in GpgFrontend::UI::PlainTextEditorPage)GpgFrontend::UI::PlainTextEditorPageprivate
read_done_ (defined in GpgFrontend::UI::PlainTextEditorPage)GpgFrontend::UI::PlainTextEditorPageprivate
read_thread_ (defined in GpgFrontend::UI::PlainTextEditorPage)GpgFrontend::UI::PlainTextEditorPageprivate
ReadDone() constGpgFrontend::UI::PlainTextEditorPageinline
ReadFile() (defined in GpgFrontend::UI::PlainTextEditorPage)GpgFrontend::UI::PlainTextEditorPage
SetFilePath(const QString &filePath)GpgFrontend::UI::PlainTextEditorPage
ShowNotificationWidget(QWidget *widget, const char *className)GpgFrontend::UI::PlainTextEditorPage
sign_marked_GpgFrontend::UI::PlainTextEditorPageprivate
ReadDone() constGpgFrontend::UI::PlainTextEditorPageinline
ReadFile() (defined in GpgFrontend::UI::PlainTextEditorPage)GpgFrontend::UI::PlainTextEditorPage
SetFilePath(const QString &filePath)GpgFrontend::UI::PlainTextEditorPage
ShowNotificationWidget(QWidget *widget, const char *className)GpgFrontend::UI::PlainTextEditorPage
sign_marked_GpgFrontend::UI::PlainTextEditorPageprivate
SignalUIBytesDisplayed()GpgFrontend::UI::PlainTextEditorPagesignal
slot_format_gpg_header()GpgFrontend::UI::PlainTextEditorPageprivateslot
slot_insert_text(const std::string &data)GpgFrontend::UI::PlainTextEditorPageprivateslot
slot_insert_text(QByteArray bytes_data)GpgFrontend::UI::PlainTextEditorPageprivateslot
ui_ (defined in GpgFrontend::UI::PlainTextEditorPage)GpgFrontend::UI::PlainTextEditorPageprivate
WillCharsetChange() constGpgFrontend::UI::PlainTextEditorPage
diff --git a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html index 6dfb5dd5..0627b941 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html @@ -83,6 +83,7 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1PlainTextEdi
+Signals | Public Member Functions | Private Slots | Private Member Functions | @@ -102,7 +103,7 @@ Inheritance diagram for GpgFrontend::UI::PlainTextEditorPage:
Inheritance graph
- +
@@ -111,18 +112,26 @@ Collaboration diagram for GpgFrontend::UI::PlainTextEditorPage:
Collaboration graph
- - - - - + + + + + + +
+ + + + +

+Signals

void SignalUIBytesDisplayed ()
 this signal is emitted when the bytes has been append in texteditor. More...
 
- - + + @@ -138,23 +147,26 @@ void < - - + + + + + +

Public Member Functions

 PlainTextEditorPage (QString file_path="", QWidget *parent=nullptr)
 
 PlainTextEditorPage (QString file_path={}, QWidget *parent=nullptr)
 
const QString & GetFilePath () const
 
void SetFilePath (const QString &filePath)
ReadFile ()
 
bool ReadDone () const
 
-void PrepareToDestroy ()
 
bool WillCharsetChange () const
 detect if the charset of the file will change More...
 
void NotifyFileSaved ()
 notify the user that the file has been saved. More...
 
- - + +

Private Slots

void slot_format_gpg_header ()
 
void slot_insert_text (const std::string &data)
 
void slot_insert_text (QByteArray bytes_data)
 
- - + +

Private Member Functions

void detect_encoding (const std::string &data)
 
void detect_cr_lf (const QString &data)
 
void detect_cr_lf (const std::string &data)
 
@@ -172,21 +184,30 @@ bool  - - + + + + + + + +

Private Attributes

bool read_done_ = false
 
-QThread * read_thread_ = nullptr
 
bool binary_mode_ = false
 
size_t read_bytes_ = 0
 
+std::string charset_name_
 
+std::string language_name_
 
+int32_t charset_confidence_
 
+bool is_crlf_ = false
 

Detailed Description

Class for handling a single tab of the tabwidget.

Constructor & Destructor Documentation

- -

◆ PlainTextEditorPage()

+ +

◆ PlainTextEditorPage()

@@ -198,7 +219,7 @@ size_t 
read_bytes_ = 0 GpgFrontend::UI::PlainTextEditorPage::PlainTextEditorPage ( QString file_path = "", file_path = {},
read_bytes_ = 0 - -

◆ detect_cr_lf()

+ +

◆ detect_cr_lf()

@@ -271,7 +292,7 @@ size_t 
read_bytes_ = 0
void GpgFrontend::UI::PlainTextEditorPage::detect_cr_lf (const QString & const std::string &  data)
read_bytes_ = 0 -

Referenced by slot_insert_text().

+

Referenced by slot_insert_text().

@@ -323,7 +344,9 @@ size_t 
read_bytes_ = 0 -

Referenced by slot_insert_text().

+

References GpgFrontend::CharsetOperator::Detect().

+ +

Referenced by slot_insert_text().

@@ -365,7 +388,28 @@ size_t 
read_bytes_ = 0

Return pointer tp the textedit of the currently activated tab.

-

Referenced by GpgFrontend::UI::TextEdit::LoadFile(), GpgFrontend::UI::TextEdit::maybe_save_current_tab(), GpgFrontend::UI::TextEdit::save_file(), GpgFrontend::UI::FindWidget::set_background(), GpgFrontend::UI::MainWindow::slot_add_pgp_header(), GpgFrontend::UI::MainWindow::slot_append_selected_keys(), GpgFrontend::UI::MainWindow::slot_clean_double_line_breaks(), GpgFrontend::UI::MainWindow::slot_cut_pgp_header(), GpgFrontend::UI::MainWindow::slot_decrypt(), GpgFrontend::UI::MainWindow::slot_decrypt_verify(), GpgFrontend::UI::MainWindow::slot_import_key_from_edit(), slot_insert_text(), GpgFrontend::UI::MainWindow::slot_verify(), GpgFrontend::UI::TextEdit::SlotCloseTab(), GpgFrontend::UI::TextEdit::SlotCopy(), GpgFrontend::UI::TextEdit::SlotCut(), GpgFrontend::UI::TextEdit::SlotFillTextEditWithText(), GpgFrontend::UI::TextEdit::SlotPaste(), GpgFrontend::UI::TextEdit::SlotPrint(), GpgFrontend::UI::TextEdit::SlotRedo(), GpgFrontend::UI::TextEdit::SlotSelectAll(), and GpgFrontend::UI::TextEdit::SlotUndo().

+

Referenced by GpgFrontend::UI::TextEdit::LoadFile(), GpgFrontend::UI::TextEdit::maybe_save_current_tab(), GpgFrontend::UI::TextEdit::save_file(), GpgFrontend::UI::FindWidget::set_background(), GpgFrontend::UI::MainWindow::slot_add_pgp_header(), GpgFrontend::UI::MainWindow::slot_append_selected_keys(), GpgFrontend::UI::MainWindow::slot_clean_double_line_breaks(), GpgFrontend::UI::MainWindow::slot_cut_pgp_header(), GpgFrontend::UI::MainWindow::slot_decrypt(), GpgFrontend::UI::MainWindow::slot_decrypt_verify(), GpgFrontend::UI::MainWindow::slot_encrypt(), GpgFrontend::UI::MainWindow::slot_encrypt_sign(), GpgFrontend::UI::MainWindow::slot_import_key_from_edit(), slot_insert_text(), GpgFrontend::UI::MainWindow::slot_sign(), GpgFrontend::UI::MainWindow::slot_verify(), GpgFrontend::UI::TextEdit::SlotCloseTab(), GpgFrontend::UI::TextEdit::SlotCopy(), GpgFrontend::UI::TextEdit::SlotCut(), GpgFrontend::UI::TextEdit::SlotFillTextEditWithText(), GpgFrontend::UI::TextEdit::SlotPaste(), GpgFrontend::UI::TextEdit::SlotPrint(), GpgFrontend::UI::TextEdit::SlotRedo(), GpgFrontend::UI::TextEdit::SlotSelectAll(), and GpgFrontend::UI::TextEdit::SlotUndo().

+ +
+ + +

◆ NotifyFileSaved()

+ +
+
+ + + + + + + +
void GpgFrontend::UI::PlainTextEditorPage::NotifyFileSaved ()
+
+ +

notify the user that the file has been saved.

+ +

Referenced by GpgFrontend::UI::TextEdit::save_file().

@@ -464,6 +508,35 @@ false

Referenced by GpgFrontend::UI::MainWindow::slot_find().

+ + + +

◆ SignalUIBytesDisplayed

+ +
+
+ + + + + +
+ + + + + + + +
void GpgFrontend::UI::PlainTextEditorPage::SignalUIBytesDisplayed ()
+
+signal
+
+ +

this signal is emitted when the bytes has been append in texteditor.

+ +

Referenced by slot_insert_text().

+
@@ -494,8 +567,8 @@ false - -

◆ slot_insert_text

+ +

◆ slot_insert_text

@@ -506,8 +579,8 @@ false
void GpgFrontend::UI::PlainTextEditorPage::slot_insert_text (const std::string & data)QByteArray bytes_data)
@@ -524,7 +597,28 @@ false -

References detect_cr_lf(), detect_encoding(), and GetTextPage().

+

References detect_cr_lf(), detect_encoding(), GetTextPage(), and SignalUIBytesDisplayed().

+ +
+
+ +

◆ WillCharsetChange()

+ +
+
+ + + + + + + +
bool GpgFrontend::UI::PlainTextEditorPage::WillCharsetChange () const
+
+ +

detect if the charset of the file will change

+ +

Referenced by GpgFrontend::UI::TextEdit::save_file().

diff --git a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage.js b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage.js index 86e08a03..32080ccb 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage.js +++ b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage.js @@ -1,23 +1,28 @@ var classGpgFrontend_1_1UI_1_1PlainTextEditorPage = [ - [ "PlainTextEditorPage", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a68a9460aabd6cbcb2af9420dd2d96e0c", null ], + [ "PlainTextEditorPage", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a8759224e57d4c322933ed3df6d96e5f1", null ], [ "CloseNoteByClass", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#aee4f46e54f29da671838ed232e526700", null ], - [ "detect_cr_lf", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a770be847f7d01556a2674972f848e1aa", null ], + [ "detect_cr_lf", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#af08be6a1eaec76403b12dc6e42df546c", null ], [ "detect_encoding", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a14b7431a786ce59e98576e3680cb9a58", null ], [ "GetFilePath", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#aff81f0f98a399fa55b6b0ebf2230d4cf", null ], [ "GetTextPage", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a6218e6e12bdba0228e4ab4276f7fed7a", null ], - [ "PrepareToDestroy", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a36781cbecac79299404bd5e1f7e608ea", null ], + [ "NotifyFileSaved", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a29b3d63ba9590e775f42c779c76102e5", null ], [ "ReadDone", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#ac1902b063decfeebe7f0908cbfe618ce", null ], [ "ReadFile", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#ac3404f71f0f93cd7f5cb64d5d56624d7", null ], [ "SetFilePath", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#aa9e82690824c82e7628ba4ace9d6e2fe", null ], [ "ShowNotificationWidget", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#af5dfdfd48ef64cc46e524ec70a22fe3a", null ], + [ "SignalUIBytesDisplayed", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#afd3749488fdd3d1c53446fb8c833f3f4", null ], [ "slot_format_gpg_header", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a45267bcfc8fc83851894061c0fe2a9c2", null ], - [ "slot_insert_text", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a8ba8f52aa2d1102d3513fdf0f4760b28", null ], + [ "slot_insert_text", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a184985104f23da8fdf2b9aaf7b27405b", null ], + [ "WillCharsetChange", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a1c1c0174ed1ed9c5a90739eafc5c3267", null ], [ "binary_mode_", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a43d23c1bcac73b772aa0154151538bbf", null ], + [ "charset_confidence_", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#ae756fc49724212d8d9937601a48b436b", null ], + [ "charset_name_", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#aec4ec03dbf1363d1517aa37d160c31e7", null ], [ "full_file_path_", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#ae867b6329fcb1978479a9d70f7b017db", null ], + [ "is_crlf_", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a0e64bcd36cf90b0eec2f05361c6c6fb3", null ], + [ "language_name_", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#ab1108b77925647d1a930e5252fa956b8", null ], [ "read_bytes_", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a010bae8d8d967c8cc81cd42547de5dcb", null ], [ "read_done_", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a5b8ce290e1b949b56734227e8d42adba", null ], - [ "read_thread_", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a46cf39e2449ed63abad59e0a177635fd", null ], [ "sign_marked_", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a4f94e9ef7889a169bda5a47b7f657358", null ], [ "ui_", "classGpgFrontend_1_1UI_1_1PlainTextEditorPage.html#a0e0a36396ea55f5dbe6197284cf98192", null ] ]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__coll__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__coll__graph.map index 461c0be5..11304f5b 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__coll__graph.map +++ b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__coll__graph.map @@ -1,7 +1,9 @@ - - - - - + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__coll__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__coll__graph.md5 index 2b124487..b73be0bb 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__coll__graph.md5 +++ b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__coll__graph.md5 @@ -1 +1 @@ -5edeb06532deacaccb312fa18b3e3689 \ No newline at end of file +476bf241b56f0d95438c2a5040cac6ec \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__coll__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__coll__graph.png index ed8532ca..9c2a0fe1 100644 Binary files a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__coll__graph.png and b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__inherit__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__inherit__graph.map index 87528e99..17a087de 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__inherit__graph.map +++ b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__inherit__graph.map @@ -1,4 +1,4 @@ - + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__inherit__graph.md5 index 5762b151..9ca293ca 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__inherit__graph.md5 +++ b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__inherit__graph.md5 @@ -1 +1 @@ -720f6b40d3c0710b502aba996dc40e45 \ No newline at end of file +45cfdbbe54a5c8875d222a55f8eb4c15 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__inherit__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__inherit__graph.png index f3513cdc..31e8792c 100644 Binary files a/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__inherit__graph.png and b/docs/html/classGpgFrontend_1_1UI_1_1PlainTextEditorPage__inherit__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1ProxyConnectionTestThread.html b/docs/html/classGpgFrontend_1_1UI_1_1ProxyConnectionTestThread.html index 8c889032..b376fd81 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1ProxyConnectionTestThread.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1ProxyConnectionTestThread.html @@ -119,7 +119,7 @@ Signals

Public Member Functions

 ProxyConnectionTestThread (QString url, int timeout, QWidget *parent=nullptr) - Construct a new Proxy Connection Test Thread object. More...
+ Construct a new Proxy Connection Test Thread object. More...
 
-

Construct a new Proxy Connection Test Thread object.

+

Construct a new Proxy Connection Test Thread object.

Parameters

@@ -180,7 +180,7 @@ int 

timeout_ = 500
diff --git a/docs/html/classGpgFrontend_1_1UI_1_1SettingsObject.html b/docs/html/classGpgFrontend_1_1UI_1_1SettingsObject.html index d9794173..59a4b2a7 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1SettingsObject.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1SettingsObject.html @@ -310,7 +310,7 @@ std::string  - - + + +
url
settings_name_

All the source code of GpgFrontend was modified and released by Saturnericeric@.nosp@m.bktu.nosp@m.s.com starting on May 12, 2021.

SPDX-License-Identifier: GPL-3.0-or-later

-

Referenced by GpgFrontend::UI::MainWindow::restore_settings(), GpgFrontend::UI::InfoBoardWidget::SetInfoBoard(), GpgFrontend::UI::AppearanceTab::SetSettings(), GpgFrontend::UI::KeyserverTab::SetSettings(), and GpgFrontend::UI::MainWindow::slot_open_settings_dialog().

+

Referenced by GpgFrontend::UI::KeyServerImportDialog::create_comboBox(), GpgFrontend::UI::KeyServerImportDialog::KeyServerImportDialog(), GpgFrontend::UI::MainWindow::restore_settings(), GpgFrontend::UI::InfoBoardWidget::SetInfoBoard(), GpgFrontend::UI::AppearanceTab::SetSettings(), GpgFrontend::UI::KeyserverTab::SetSettings(), GpgFrontend::UI::MainWindow::slot_open_settings_dialog(), and GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer().

diff --git a/docs/html/classGpgFrontend_1_1UI_1_1SignalStation-members.html b/docs/html/classGpgFrontend_1_1UI_1_1SignalStation-members.html index 71e51f0b..c1d68c77 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1SignalStation-members.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1SignalStation-members.html @@ -92,8 +92,9 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1SignalStatio
_instance (defined in GpgFrontend::UI::SignalStation)GpgFrontend::UI::SignalStationprivatestatic
GetInstance()GpgFrontend::UI::SignalStationstatic
SignalKeyDatabaseRefresh() (defined in GpgFrontend::UI::SignalStation)GpgFrontend::UI::SignalStationsignal
SignalRefreshInfoBoard(const QString &text, InfoBoardStatus verify_label_status)GpgFrontend::UI::SignalStationsignal
SignalRefreshStatusBar(const QString &message, int timeout)GpgFrontend::UI::SignalStationsignal
SignalKeyDatabaseRefreshDone() (defined in GpgFrontend::UI::SignalStation)GpgFrontend::UI::SignalStationsignal
SignalRefreshInfoBoard(const QString &text, InfoBoardStatus verify_label_status)GpgFrontend::UI::SignalStationsignal
SignalRefreshStatusBar(const QString &message, int timeout)GpgFrontend::UI::SignalStationsignal
diff --git a/docs/html/classGpgFrontend_1_1UI_1_1SignalStation.html b/docs/html/classGpgFrontend_1_1UI_1_1SignalStation.html index ba5bee4b..cc944aae 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1SignalStation.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1SignalStation.html @@ -118,6 +118,9 @@ Signals void SignalKeyDatabaseRefresh ()   + +void SignalKeyDatabaseRefreshDone () +  void SignalRefreshInfoBoard (const QString &text, InfoBoardStatus verify_label_status)   void SignalRefreshStatusBar (const QString &message, int timeout) @@ -162,7 +165,7 @@ static std::unique_ptr<
Returns
SignalStation*
-

Referenced by GpgFrontend::UI::CommonUtils::CommonUtils(), GpgFrontend::UI::InfoBoardWidget::InfoBoardWidget(), GpgFrontend::UI::MainWindow::Init(), GpgFrontend::UI::KeyGenDialog::KeyGenDialog(), GpgFrontend::UI::KeyMgmt::KeyMgmt(), GpgFrontend::UI::KeyNewUIDDialog::KeyNewUIDDialog(), GpgFrontend::UI::KeyPairDetailTab::KeyPairDetailTab(), GpgFrontend::UI::KeyPairSubkeyTab::KeyPairSubkeyTab(), GpgFrontend::UI::KeyPairUIDTab::KeyPairUIDTab(), GpgFrontend::UI::KeyServerImportDialog::KeyServerImportDialog(), GpgFrontend::UI::KeyUIDSignDialog::KeyUIDSignDialog(), and GpgFrontend::UI::SubkeyGenerateDialog::SubkeyGenerateDialog().

+

Referenced by GpgFrontend::UI::CommonUtils::CommonUtils(), GpgFrontend::UI::InfoBoardWidget::InfoBoardWidget(), GpgFrontend::UI::MainWindow::Init(), GpgFrontend::UI::InitGpgFrontendUI(), GpgFrontend::UI::KeyGenDialog::KeyGenDialog(), GpgFrontend::UI::KeyMgmt::KeyMgmt(), GpgFrontend::UI::KeyNewUIDDialog::KeyNewUIDDialog(), GpgFrontend::UI::KeyPairDetailTab::KeyPairDetailTab(), GpgFrontend::UI::KeyPairSubkeyTab::KeyPairSubkeyTab(), GpgFrontend::UI::KeyPairUIDTab::KeyPairUIDTab(), GpgFrontend::UI::KeyServerImportDialog::KeyServerImportDialog(), GpgFrontend::UI::KeyUIDSignDialog::KeyUIDSignDialog(), and GpgFrontend::UI::SubkeyGenerateDialog::SubkeyGenerateDialog().

diff --git a/docs/html/classGpgFrontend_1_1UI_1_1SignalStation.js b/docs/html/classGpgFrontend_1_1UI_1_1SignalStation.js index 2b07d28f..2d1ea783 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1SignalStation.js +++ b/docs/html/classGpgFrontend_1_1UI_1_1SignalStation.js @@ -2,6 +2,7 @@ var classGpgFrontend_1_1UI_1_1SignalStation = [ [ "GetInstance", "classGpgFrontend_1_1UI_1_1SignalStation.html#abe381ce56a7b157a3760b2fd9c3b7419", null ], [ "SignalKeyDatabaseRefresh", "classGpgFrontend_1_1UI_1_1SignalStation.html#a1581aaebc459f3eda06195c1e43f068f", null ], + [ "SignalKeyDatabaseRefreshDone", "classGpgFrontend_1_1UI_1_1SignalStation.html#aaec7938466ed4b1e912b25038a253f84", null ], [ "SignalRefreshInfoBoard", "classGpgFrontend_1_1UI_1_1SignalStation.html#a94d4c7d79e0deb7026083689bc5dc2ad", null ], [ "SignalRefreshStatusBar", "classGpgFrontend_1_1UI_1_1SignalStation.html#a7b5fb2e2c0ad238313650a08ea648ce3", null ], [ "_instance", "classGpgFrontend_1_1UI_1_1SignalStation.html#ac98e4fff1e400f810ecea9903ee880df", null ] diff --git a/docs/html/classGpgFrontend_1_1UI_1_1TextEdit.html b/docs/html/classGpgFrontend_1_1UI_1_1TextEdit.html index d1b73937..edb63d7d 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1TextEdit.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1TextEdit.html @@ -303,8 +303,6 @@ int References CurTextPage(), GpgFrontend::UI::PlainTextEditorPage::GetTextPage(), GpgFrontend::UI::PlainTextEditorPage::SetFilePath(), SlotCurPageTextEdit(), and stripped_name().

-

Referenced by GpgFrontend::UI::MainWindow::Init().

- @@ -402,7 +400,7 @@ int References GpgFrontend::UI::PlainTextEditorPage::GetTextPage(), GpgFrontend::UI::PlainTextEditorPage::SetFilePath(), SlotCurPageTextEdit(), and stripped_name().

+

References GpgFrontend::UI::PlainTextEditorPage::GetTextPage(), GpgFrontend::UI::PlainTextEditorPage::NotifyFileSaved(), GpgFrontend::UI::PlainTextEditorPage::SetFilePath(), SlotCurPageTextEdit(), stripped_name(), and GpgFrontend::UI::PlainTextEditorPage::WillCharsetChange().

Referenced by maybe_save_current_tab(), SlotSave(), and SlotSaveAs().

diff --git a/docs/html/classGpgFrontend_1_1UI_1_1UpdateTab.html b/docs/html/classGpgFrontend_1_1UI_1_1UpdateTab.html index 8e54a834..ea542e63 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1UpdateTab.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1UpdateTab.html @@ -211,7 +211,7 @@ QPushButton * download_but

Get the Latest Version object.

-

References GpgFrontend::UI::VersionCheckThread::SignalUpgradeVersion(), and slot_show_version_status().

+

References GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >::GetInstance(), GpgFrontend::UI::VersionCheckTask::SignalUpgradeVersion(), and slot_show_version_status().

Referenced by GpgFrontend::UI::AboutDialog::showEvent().

diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VerifyKeyDetailBox-members.html b/docs/html/classGpgFrontend_1_1UI_1_1VerifyKeyDetailBox-members.html index 676f1398..8cbb25e9 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1VerifyKeyDetailBox-members.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1VerifyKeyDetailBox-members.html @@ -90,7 +90,7 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1UI_1_1VerifyKeyDet

This is the complete list of members for GpgFrontend::UI::VerifyKeyDetailBox, including all inherited members.

- +
create_key_info_grid(const GpgSignature &signature)GpgFrontend::UI::VerifyKeyDetailBoxprivate
fpr_ (defined in GpgFrontend::UI::VerifyKeyDetailBox)GpgFrontend::UI::VerifyKeyDetailBoxprivate
fpr_GpgFrontend::UI::VerifyKeyDetailBoxprivate
slot_import_form_key_server() (defined in GpgFrontend::UI::VerifyKeyDetailBox)GpgFrontend::UI::VerifyKeyDetailBoxprivateslot
VerifyKeyDetailBox(const GpgSignature &signature, QWidget *parent)GpgFrontend::UI::VerifyKeyDetailBoxexplicit
diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VerifyKeyDetailBox.html b/docs/html/classGpgFrontend_1_1UI_1_1VerifyKeyDetailBox.html index edb34b40..3ef54e50 100644 --- a/docs/html/classGpgFrontend_1_1UI_1_1VerifyKeyDetailBox.html +++ b/docs/html/classGpgFrontend_1_1UI_1_1VerifyKeyDetailBox.html @@ -134,7 +134,8 @@ Private Member Functions

Private Attributes

-std::string fpr_ +std::string fpr_ + fingerprint of the key
 

Constructor & Destructor Documentation

@@ -181,7 +182,7 @@ std::string fpr_< -

References create_key_info_grid(), GpgFrontend::GpgSignature::GetFingerprint(), and GpgFrontend::GpgSignature::GetStatus().

+

References create_key_info_grid(), fpr_, GpgFrontend::GpgSignature::GetFingerprint(), and GpgFrontend::GpgSignature::GetStatus().

@@ -219,7 +220,7 @@ std::string fpr_<
Returns
QGridLayout*
-

References GpgFrontend::beautify_fingerprint(), GpgFrontend::GpgKey::GetEmail(), GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::GpgKeyGetter::GetKey(), GpgFrontend::GpgKey::GetName(), GpgFrontend::GpgSignature::GetSummary(), and GpgFrontend::GpgKey::IsGood().

+

References GpgFrontend::beautify_fingerprint(), fpr_, GpgFrontend::GpgKey::GetEmail(), GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance(), GpgFrontend::GpgKeyGetter::GetKey(), GpgFrontend::GpgKey::GetName(), GpgFrontend::GpgSignature::GetSummary(), and GpgFrontend::GpgKey::IsGood().

Referenced by VerifyKeyDetailBox().

diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask-members.html b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask-members.html new file mode 100644 index 00000000..cdb2a422 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask-members.html @@ -0,0 +1,138 @@ + + + + + + + +GpgFrontend Project: Member List + + + + + + + + + + + + + +
+
+ + + + + + +
+
GpgFrontend Project +
+
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
GpgFrontend::UI::VersionCheckTask Member List
+
+
+ +

This is the complete list of members for GpgFrontend::UI::VersionCheckTask, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
before_finish_task() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
callback_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
callback_thread_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
current_reply_GpgFrontend::UI::VersionCheckTaskprivate
current_reply_bytes_ (defined in GpgFrontend::UI::VersionCheckTask)GpgFrontend::UI::VersionCheckTaskprivate
current_version_ (defined in GpgFrontend::UI::VersionCheckTask)GpgFrontend::UI::VersionCheckTaskprivate
data_object_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
DataObjectPtr typedef (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Task
finish_after_run_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
generate_uuid()GpgFrontend::Thread::Taskprivatestatic
GetUUID() constGpgFrontend::Thread::Task
init() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
latest_reply_GpgFrontend::UI::VersionCheckTaskprivate
latest_reply_bytes_ (defined in GpgFrontend::UI::VersionCheckTask)GpgFrontend::UI::VersionCheckTaskprivate
network_manager_ (defined in GpgFrontend::UI::VersionCheckTask)GpgFrontend::UI::VersionCheckTaskprivate
rtn_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
run() override (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivatevirtual
Run() overrideGpgFrontend::UI::VersionCheckTaskprotectedvirtual
runnable_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
SetFinishAfterRun(bool finish_after_run)GpgFrontend::Thread::Taskprotected
SetRTN(int rtn)GpgFrontend::Thread::Taskprotected
SignalTaskFinished() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Tasksignal
SignalTaskPostFinishedDone() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Tasksignal
SignalUpgradeVersion(SoftwareVersion version)GpgFrontend::UI::VersionCheckTasksignal
slot_parse_current_version_info() (defined in GpgFrontend::UI::VersionCheckTask)GpgFrontend::UI::VersionCheckTaskprivateslot
slot_parse_latest_version_info() (defined in GpgFrontend::UI::VersionCheckTask)GpgFrontend::UI::VersionCheckTaskprivateslot
Task()GpgFrontend::Thread::Task
Task(TaskCallback callback, DataObjectPtr data_object=nullptr)GpgFrontend::Thread::Task
Task(TaskRunnable runnable, TaskCallback callback=[](int, std::shared_ptr< DataObject >) {}, DataObjectPtr data=nullptr)GpgFrontend::Thread::Task
TaskCallback typedef (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Task
TaskRunnable typedef (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Task
uuid_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
version_ (defined in GpgFrontend::UI::VersionCheckTask)GpgFrontend::UI::VersionCheckTaskprivate
VersionCheckTask()GpgFrontend::UI::VersionCheckTaskexplicit
~Task() overrideGpgFrontend::Thread::Taskvirtual
+
+ + + + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask.html b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask.html new file mode 100644 index 00000000..cb33c043 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask.html @@ -0,0 +1,332 @@ + + + + + + + +GpgFrontend Project: GpgFrontend::UI::VersionCheckTask Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
GpgFrontend Project +
+
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
GpgFrontend::UI::VersionCheckTask Class Reference
+
+
+
+Inheritance diagram for GpgFrontend::UI::VersionCheckTask:
+
+
Inheritance graph
+ + + + + + +
+
+Collaboration diagram for GpgFrontend::UI::VersionCheckTask:
+
+
Collaboration graph
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + +

+Signals

void SignalUpgradeVersion (SoftwareVersion version)
 
- Signals inherited from GpgFrontend::Thread::Task
+void SignalTaskFinished ()
 
+void SignalTaskPostFinishedDone ()
 
+ + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 VersionCheckTask ()
 Construct a new Version Check Thread object. More...
 
- Public Member Functions inherited from GpgFrontend::Thread::Task
 Task ()
 Construct a new Task object. More...
 
 Task (TaskCallback callback, DataObjectPtr data_object=nullptr)
 Construct a new Task object. More...
 
 Task (TaskRunnable runnable, TaskCallback callback=[](int, std::shared_ptr< DataObject >) {}, DataObjectPtr data=nullptr)
 Construct a new Task object. More...
 
virtual ~Task () override
 Destroy the Task object. More...
 
std::string GetUUID () const
 
+ + + + + + + + + + +

+Protected Member Functions

void Run () override
 Run - run the task. More...
 
- Protected Member Functions inherited from GpgFrontend::Thread::Task
void SetFinishAfterRun (bool finish_after_run)
 Set the Finish After Run object. More...
 
void SetRTN (int rtn)
 
+ + + + + +

+Private Slots

+void slot_parse_latest_version_info ()
 
+void slot_parse_current_version_info ()
 
+ + + + + + + + + + + + + + + + + +

+Private Attributes

+QByteArray latest_reply_bytes_
 
+QByteArray current_reply_bytes_
 
+QNetworkReply * latest_reply_ = nullptr
 latest version info reply
 
+QNetworkReply * current_reply_ = nullptr
 current version info reply
 
+QNetworkAccessManager * network_manager_
 
+std::string current_version_
 
+SoftwareVersion version_
 
+ + + + + + + + +

+Additional Inherited Members

- Public Types inherited from GpgFrontend::Thread::Task
+using DataObjectPtr = std::shared_ptr< DataObject >
 
+using TaskRunnable = std::function< int(DataObjectPtr)>
 
+using TaskCallback = std::function< void(int, DataObjectPtr)>
 
+

Constructor & Destructor Documentation

+ +

◆ VersionCheckTask()

+ +
+
+ + + + + +
+ + + + + + + +
GpgFrontend::UI::VersionCheckTask::VersionCheckTask ()
+
+explicit
+
+ +

Construct a new Version Check Thread object.

+ +
+
+

Member Function Documentation

+ +

◆ Run()

+ +
+
+ + + + + +
+ + + + + + + +
void GpgFrontend::UI::VersionCheckTask::Run ()
+
+overrideprotectedvirtual
+
+ +

Run - run the task.

+ +

Reimplemented from GpgFrontend::Thread::Task.

+ +

References latest_reply_, and GpgFrontend::Thread::Task::SetFinishAfterRun().

+ +
+
+ +

◆ SignalUpgradeVersion

+ +
+
+ + + + + +
+ + + + + + + + +
void GpgFrontend::UI::VersionCheckTask::SignalUpgradeVersion (SoftwareVersion version)
+
+signal
+
+
Parameters
+ + +
version
+
+
+ +

Referenced by GpgFrontend::UI::UpdateTab::getLatestVersion(), and GpgFrontend::UI::MainWindow::Init().

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask.js b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask.js new file mode 100644 index 00000000..9d88e2e2 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask.js @@ -0,0 +1,15 @@ +var classGpgFrontend_1_1UI_1_1VersionCheckTask = +[ + [ "VersionCheckTask", "classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a9f7a810ae1aa78c2a61e86e7757da385", null ], + [ "Run", "classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a9156325af41c378f8d7e77187d445c12", null ], + [ "SignalUpgradeVersion", "classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a36c5597674253348477d78ad6af380ab", null ], + [ "slot_parse_current_version_info", "classGpgFrontend_1_1UI_1_1VersionCheckTask.html#aba6a81a5f958e5c5c29242bfe1fbd77a", null ], + [ "slot_parse_latest_version_info", "classGpgFrontend_1_1UI_1_1VersionCheckTask.html#afd92a65f744566d288d9ddd736662d8e", null ], + [ "current_reply_", "classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a9679bc6bcdf2e64ec82f6119620b6f2e", null ], + [ "current_reply_bytes_", "classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a787aaa798b68809bf46a8ed6daf57b7c", null ], + [ "current_version_", "classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a03152f289952a5d2d133668907966126", null ], + [ "latest_reply_", "classGpgFrontend_1_1UI_1_1VersionCheckTask.html#aed545ffa8128acb16bb28c067e032ec9", null ], + [ "latest_reply_bytes_", "classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a9379c2bd2c85e1cd74d1c07bbc10822a", null ], + [ "network_manager_", "classGpgFrontend_1_1UI_1_1VersionCheckTask.html#a23901105c0aa009cfe9de6649912c4f0", null ], + [ "version_", "classGpgFrontend_1_1UI_1_1VersionCheckTask.html#af9042479ff7d3a8d1f7c53f320404ebb", null ] +]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__coll__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__coll__graph.map new file mode 100644 index 00000000..097032d5 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__coll__graph.map @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__coll__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__coll__graph.md5 new file mode 100644 index 00000000..16b8e217 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__coll__graph.md5 @@ -0,0 +1 @@ +4797a690ac4fedf2d3a53bae7cd8f94e \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__coll__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__coll__graph.png new file mode 100644 index 00000000..1b7eb611 Binary files /dev/null and b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__coll__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__inherit__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__inherit__graph.map new file mode 100644 index 00000000..dd11b931 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__inherit__graph.map @@ -0,0 +1,6 @@ + + + + + + diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__inherit__graph.md5 new file mode 100644 index 00000000..8074c812 --- /dev/null +++ b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__inherit__graph.md5 @@ -0,0 +1 @@ +844813f3eef1c1406435dd6ee290fbe0 \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__inherit__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__inherit__graph.png new file mode 100644 index 00000000..b42e07b8 Binary files /dev/null and b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckTask__inherit__graph.png differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread.html b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread.html deleted file mode 100644 index 37e1bf86..00000000 --- a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - - -GpgFrontend Project: GpgFrontend::UI::VersionCheckThread Class Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
GpgFrontend Project -
-
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
GpgFrontend::UI::VersionCheckThread Class Reference
-
-
-
-Inheritance diagram for GpgFrontend::UI::VersionCheckThread:
-
-
Inheritance graph
- - - - -
-
-Collaboration diagram for GpgFrontend::UI::VersionCheckThread:
-
-
Collaboration graph
- - - - -
- - - - -

-Signals

void SignalUpgradeVersion (SoftwareVersion version)
 
- - - - -

-Public Member Functions

 VersionCheckThread ()
 Construct a new Version Check Thread object. More...
 
- - - -

-Protected Member Functions

-void run () override
 
- - - - - -

-Private Attributes

-QByteArray latest_reply_bytes_
 
-QByteArray current_reply_bytes_
 
-

Constructor & Destructor Documentation

- -

◆ VersionCheckThread()

- -
-
- - - - - -
- - - - - - - -
GpgFrontend::UI::VersionCheckThread::VersionCheckThread ()
-
-explicit
-
- -

Construct a new Version Check Thread object.

- -
-
-

Member Function Documentation

- -

◆ SignalUpgradeVersion

- -
-
- - - - - -
- - - - - - - - -
void GpgFrontend::UI::VersionCheckThread::SignalUpgradeVersion (SoftwareVersion version)
-
-signal
-
-
Parameters
- - -
version
-
-
- -

Referenced by GpgFrontend::UI::UpdateTab::getLatestVersion(), and GpgFrontend::UI::MainWindow::Init().

- -
-
-
The documentation for this class was generated from the following files: -
-
- - - - diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread.js b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread.js deleted file mode 100644 index 2dbcf7f3..00000000 --- a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread.js +++ /dev/null @@ -1,8 +0,0 @@ -var classGpgFrontend_1_1UI_1_1VersionCheckThread = -[ - [ "VersionCheckThread", "classGpgFrontend_1_1UI_1_1VersionCheckThread.html#a75ad15966d6a8e24ca65b7d7ea608c25", null ], - [ "run", "classGpgFrontend_1_1UI_1_1VersionCheckThread.html#a9ee63ba62c4bf94c1d2ca25773331abb", null ], - [ "SignalUpgradeVersion", "classGpgFrontend_1_1UI_1_1VersionCheckThread.html#a61ba582623b570964e8fc1515407d636", null ], - [ "current_reply_bytes_", "classGpgFrontend_1_1UI_1_1VersionCheckThread.html#ad5b96e0558a4fe1416fc8db8c1ae34f9", null ], - [ "latest_reply_bytes_", "classGpgFrontend_1_1UI_1_1VersionCheckThread.html#a78325710b994a7ee11ac7e5fb81ee9a3", null ] -]; \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__coll__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__coll__graph.map deleted file mode 100644 index da262e0e..00000000 --- a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__coll__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__coll__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__coll__graph.md5 deleted file mode 100644 index d02fd49a..00000000 --- a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -87bcb91988230e8acb84316572541cbd \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__coll__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__coll__graph.png deleted file mode 100644 index 1ebe8d50..00000000 Binary files a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__coll__graph.png and /dev/null differ diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__inherit__graph.map b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__inherit__graph.map deleted file mode 100644 index da262e0e..00000000 --- a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__inherit__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__inherit__graph.md5 b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__inherit__graph.md5 deleted file mode 100644 index d02fd49a..00000000 --- a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -87bcb91988230e8acb84316572541cbd \ No newline at end of file diff --git a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__inherit__graph.png b/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__inherit__graph.png deleted file mode 100644 index 1ebe8d50..00000000 Binary files a/docs/html/classGpgFrontend_1_1UI_1_1VersionCheckThread__inherit__graph.png and /dev/null differ diff --git a/docs/html/classes.html b/docs/html/classes.html index 7973aa72..466b9f8b 100644 --- a/docs/html/classes.html +++ b/docs/html/classes.html @@ -90,176 +90,187 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); }) - - + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - + + - - + + - + + - - + - - - + + - + + - + - - + + - + - - - + + - - + + - + - - + + + - - + + + - - - + + + - - - - + + + + + + + + + + + + + - + - + - + - - + + - + - - + + - + - + + + + + + - - - - - - + - + + + + - - + + + + + + + + - - + + - - + + - + + - - - - - - - - - - -
  _  
FilePage (GpgFrontend::UI)   GpgSubKey (GpgFrontend)   
  f  
+
GpgSignature (GpgFrontend)    KeyPairUIDTab (GpgFrontend::UI)   SignalStation (GpgFrontend::UI)   
FileReadThread (GpgFrontend::UI)   GpgTOFUInfo (GpgFrontend)   KeyServerImportDialog (GpgFrontend::UI)   SignatureDetailsDialog   
GpgContext::_ctx_ref_deleter (GpgFrontend)   FindWidget (GpgFrontend::UI)   GpgUID (GpgFrontend)   KeyserverTab (GpgFrontend::UI)    SignersPicker (GpgFrontend::UI)   
GpgData::_data_ref_deleter (GpgFrontend)   
  g  
-
GpgUIDOperator (GpgFrontend)   KeySetExpireDateDialog (GpgFrontend::UI)   
GpgSignResultAnalyse (GpgFrontend)   KeyServerImportDialog (GpgFrontend::UI)    SingletonFunctionObject (GpgFrontend)   
GpgContext::_ctx_ref_deleter (GpgFrontend)   FileOperator (GpgFrontend)   GpgSubKey (GpgFrontend)   KeyserverTab (GpgFrontend::UI)   SingletonStorage (GpgFrontend)   
GpgData::_data_ref_deleter (GpgFrontend)   FilePage (GpgFrontend::UI)   GpgTOFUInfo (GpgFrontend)   KeySetExpireDateDialog (GpgFrontend::UI)   SingletonStorageCollection (GpgFrontend)   
GpgKey::_key_ref_deleter (GpgFrontend)   GpgVerifyResultAnalyse (GpgFrontend)   FileReadTask (GpgFrontend::UI)   GpgUID (GpgFrontend)    KeyTable (GpgFrontend::UI)    SoftwareVersion (GpgFrontend::UI)   
_result_ref_deletor (GpgFrontend)   GeneralTab (GpgFrontend::UI)   
  h  
-
FindWidget (GpgFrontend::UI)   GpgUIDOperator (GpgFrontend)    KeyUIDSignDialog (GpgFrontend::UI)    SubkeyGenerateDialog (GpgFrontend::UI)   
  a  
GenKeyInfo (GpgFrontend)   
  g  
+
GpgVerifyResultAnalyse (GpgFrontend)    KeyUploadDialog (GpgFrontend::UI)   
  t  
GlobalSettingStation (GpgFrontend)   HelpPage (GpgFrontend::UI)   
  h  
+
  l  
AboutDialog (GpgFrontend::UI)   GpgBasicOperator (GpgFrontend)   
  i  
-
TestListedKeyServerThread   GeneralTab (GpgFrontend::UI)   Task (GpgFrontend::Thread)   
AdvancedTab (GpgFrontend::UI)   GpgCommandExecutor (GpgFrontend)   GenKeyInfo (GpgFrontend)   HelpPage (GpgFrontend::UI)    ListedKeyServerTestThread (GpgFrontend::UI)   TextEdit (GpgFrontend::UI)   TaskRunner (GpgFrontend::Thread)   
AppearanceTab (GpgFrontend::UI)   GpgConstants (GpgFrontend)   InfoBoardWidget (GpgFrontend::UI)   GlobalSettingStation (GpgFrontend)   
  i  
+
  m  
TOFUInfoPage (GpgFrontend::UI)   TaskRunnerGetter (GpgFrontend::Thread)   
ArchiveFileOperator (GpgFrontend)   GpgContext (GpgFrontend)   InfoTab (GpgFrontend::UI)   TranslatorsTab (GpgFrontend::UI)   GpgBasicOperator (GpgFrontend)   TestListedKeyServerThread   
ArchiveStruct (GpgFrontend)   GpgContextInitArgs (GpgFrontend)   IntroPage (GpgFrontend::UI)   GpgCommandExecutor (GpgFrontend)   InfoBoardWidget (GpgFrontend::UI)    MainWindow (GpgFrontend::UI)   
  u  
-
TextEdit (GpgFrontend::UI)   
  c  
GpgData (GpgFrontend)   
  k  
-
GpgConstants (GpgFrontend)   InfoTab (GpgFrontend::UI)   
  n  
TOFUInfoPage (GpgFrontend::UI)   
GpgDecryptResultAnalyse (GpgFrontend)   UpdateTab (GpgFrontend::UI)   
GpgContext (GpgFrontend)   IntroPage (GpgFrontend::UI)   TranslatorsTab (GpgFrontend::UI)   
ChoosePage (GpgFrontend::UI)   GpgEncryptResultAnalyse (GpgFrontend)   KeyDetailsDialog (GpgFrontend::UI)   
ChannelObject (GpgFrontend)   GpgContextInitArgs (GpgFrontend)   
  k  
+
NetworkTab (GpgFrontend::UI)   
  v  
+
  u  
class   GpgFileOpera (GpgFrontend)   KeyGenDialog (GpgFrontend::UI)   
CharsetOperator (GpgFrontend)   GpgData (GpgFrontend)   
  p  
ChoosePage (GpgFrontend::UI)   GpgDecryptResultAnalyse (GpgFrontend)   KeyDetailsDialog (GpgFrontend::UI)   UpdateTab (GpgFrontend::UI)   
class   GpgEncryptResultAnalyse (GpgFrontend)   KeyGenDialog (GpgFrontend::UI)   PassphraseGenerator (GpgFrontend)   
  v  
+
CommonUtils (GpgFrontend::UI)   GpgImportedKey (GpgFrontend)   GpgFileOpera (GpgFrontend)    KeyGenPage (GpgFrontend::UI)   VerifyDetailsDialog (GpgFrontend::UI)   PlainTextEditorPage (GpgFrontend::UI)   
ConclusionPage (GpgFrontend::UI)   GpgImportInformation (GpgFrontend)   GpgFrontendApplication (GpgFrontend::UI)    KeyImportDetailDialog (GpgFrontend::UI)   PassphraseGenerator (GpgFrontend)   VerifyKeyDetailBox (GpgFrontend::UI)   ProxyConnectionTestThread   VerifyDetailsDialog (GpgFrontend::UI)   
CoreCommonUtil (GpgFrontend)   GpgInfo (GpgFrontend)   GpgImportedKey (GpgFrontend)    KeyList (GpgFrontend::UI)   PlainTextEditorPage (GpgFrontend::UI)   VersionCheckThread (GpgFrontend::UI)   ProxyConnectionTestThread (GpgFrontend::UI)   VerifyKeyDetailBox (GpgFrontend::UI)   
MainWindow::CryptoMenu (GpgFrontend::UI)   GpgKey (GpgFrontend)   GpgImportInformation (GpgFrontend)    KeyListColumn (GpgFrontend::UI)   ProxyConnectionTestThread   
  q  
+
VersionCheckTask (GpgFrontend::UI)   
CtxCheckTask (GpgFrontend::Thread)   GpgInfo (GpgFrontend)   KeyListRow (GpgFrontend::UI)   
  w  
CtxCheckThread (GpgFrontend)   GpgKeyGetter (GpgFrontend)   KeyListRow (GpgFrontend::UI)   ProxyConnectionTestThread (GpgFrontend::UI)   
  d  
GpgKeyImportExporter (GpgFrontend)   GpgKey (GpgFrontend)    KeyMenuAbility (GpgFrontend::UI)   
  q  
+
QuitDialog (GpgFrontend::UI)   
GpgKeyGetter (GpgFrontend)   KeyMgmt (GpgFrontend::UI)   
  s  
WaitingDialog (GpgFrontend::UI)   
GpgKeyManager (GpgFrontend)   KeyMgmt (GpgFrontend::UI)   
Task::DataObject (GpgFrontend::Thread)   GpgKeyImportExporter (GpgFrontend)   KeyNewUIDDialog (GpgFrontend::UI)    Wizard (GpgFrontend::UI)   
DataObjectOperator (GpgFrontend)   GpgKeyManager (GpgFrontend)   KeyPackageOperator (GpgFrontend)   SettingsDialog (GpgFrontend::UI)   
Task::DataObject::Destructor (GpgFrontend::Thread)    GpgKeyOpera (GpgFrontend)   KeyNewUIDDialog (GpgFrontend::UI)   QuitDialog (GpgFrontend::UI)   KeyPairDetailTab (GpgFrontend::UI)   SettingsObject (GpgFrontend::UI)   
  e  
GpgKeySignature (GpgFrontend)   KeyPackageOperator (GpgFrontend)   
  s  
-
KeyPairOperaTab (GpgFrontend::UI)   SignalStation (GpgFrontend::UI)   
GpgResultAnalyse (GpgFrontend)   KeyPairDetailTab (GpgFrontend::UI)   KeyPairSubkeyTab (GpgFrontend::UI)   SignatureDetailsDialog   
ExportKeyPackageDialog (GpgFrontend::UI)   GpgSignature (GpgFrontend)   KeyPairOperaTab (GpgFrontend::UI)   SettingsDialog (GpgFrontend::UI)   
  f  
-
GpgSignResultAnalyse (GpgFrontend)   KeyPairSubkeyTab (GpgFrontend::UI)   SettingsObject (GpgFrontend::UI)   
FileOperator (GpgFrontend)   
diff --git a/docs/html/dir_0cd9bde2c64af64bc3733ed8ca8e04b3.js b/docs/html/dir_0cd9bde2c64af64bc3733ed8ca8e04b3.js index 229f1b19..d7f40347 100644 --- a/docs/html/dir_0cd9bde2c64af64bc3733ed8ca8e04b3.js +++ b/docs/html/dir_0cd9bde2c64af64bc3733ed8ca8e04b3.js @@ -1,7 +1,6 @@ var dir_0cd9bde2c64af64bc3733ed8ca8e04b3 = [ - [ "FileReadThread.h", "FileReadThread_8h_source.html", null ], [ "ListedKeyServerTestThread.h", "ListedKeyServerTestThread_8h_source.html", null ], [ "ProxyConnectionTestThread.h", "ProxyConnectionTestThread_8h_source.html", null ], - [ "VersionCheckThread.h", "VersionCheckThread_8h_source.html", null ] + [ "VersionCheckTask.h", "VersionCheckTask_8h_source.html", null ] ]; \ No newline at end of file diff --git a/docs/html/dir_da5c6b39c0a2f54e57df6799511cd3ab.js b/docs/html/dir_da5c6b39c0a2f54e57df6799511cd3ab.js index 39423299..48704a41 100644 --- a/docs/html/dir_da5c6b39c0a2f54e57df6799511cd3ab.js +++ b/docs/html/dir_da5c6b39c0a2f54e57df6799511cd3ab.js @@ -11,6 +11,7 @@ var dir_da5c6b39c0a2f54e57df6799511cd3ab = [ "struct", "dir_77b5d71c36a073b86db318490f5560d0.html", "dir_77b5d71c36a073b86db318490f5560d0" ], [ "thread", "dir_0cd9bde2c64af64bc3733ed8ca8e04b3.html", "dir_0cd9bde2c64af64bc3733ed8ca8e04b3" ], [ "widgets", "dir_f3911b9629b0e27ea480d06d47573cbf.html", "dir_f3911b9629b0e27ea480d06d47573cbf" ], + [ "GpgFrontendApplication.h", "GpgFrontendApplication_8h_source.html", null ], [ "GpgFrontendUI.h", "GpgFrontendUI_8h_source.html", null ], [ "GpgFrontendUIInit.h", "GpgFrontendUIInit_8h_source.html", null ], [ "KeyMgmt.h", "KeyMgmt_8h_source.html", null ], diff --git a/docs/html/dir_f8a0abd6d3586538a5b71803e0ab7ffa.js b/docs/html/dir_f8a0abd6d3586538a5b71803e0ab7ffa.js index 7458a55d..8c0c308a 100644 --- a/docs/html/dir_f8a0abd6d3586538a5b71803e0ab7ffa.js +++ b/docs/html/dir_f8a0abd6d3586538a5b71803e0ab7ffa.js @@ -4,6 +4,7 @@ var dir_f8a0abd6d3586538a5b71803e0ab7ffa = [ "gpg", "dir_4c90737131b129f8f210b6ba3e14bca4.html", "dir_4c90737131b129f8f210b6ba3e14bca4" ], [ "result_analyse", "dir_fc6c58bf49530122ab17df13a9869378.html", "dir_fc6c58bf49530122ab17df13a9869378" ], [ "ArchiveFileOperator.h", "ArchiveFileOperator_8h_source.html", null ], + [ "CharsetOperator.h", "CharsetOperator_8h_source.html", null ], [ "DataObjectOperator.h", "DataObjectOperator_8h_source.html", null ], [ "FileOperator.h", "FileOperator_8h_source.html", null ], [ "GlobalSettingStation.h", "GlobalSettingStation_8h_source.html", null ], diff --git a/docs/html/dir_fd71accbf528c1576ca21e7ec5716833.js b/docs/html/dir_fd71accbf528c1576ca21e7ec5716833.js index 9236b036..d4344e76 100644 --- a/docs/html/dir_fd71accbf528c1576ca21e7ec5716833.js +++ b/docs/html/dir_fd71accbf528c1576ca21e7ec5716833.js @@ -1,4 +1,9 @@ var dir_fd71accbf528c1576ca21e7ec5716833 = [ - [ "CtxCheckThread.h", "CtxCheckThread_8h_source.html", null ] + [ "CtxCheckTask.h", "CtxCheckTask_8h_source.html", null ], + [ "FileReadTask.h", "FileReadTask_8h_source.html", null ], + [ "Task.h", "Task_8h_source.html", null ], + [ "TaskRunner.h", "TaskRunner_8h_source.html", null ], + [ "TaskRunnerGetter.h", "TaskRunnerGetter_8h_source.html", null ], + [ "ThreadingModel.h", "ThreadingModel_8h_source.html", null ] ]; \ No newline at end of file diff --git a/docs/html/files.html b/docs/html/files.html index 30f3b8ce..6404a550 100644 --- a/docs/html/files.html +++ b/docs/html/files.html @@ -111,21 +111,27 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); });  GpgSignResultAnalyse.h  GpgVerifyResultAnalyse.h  ArchiveFileOperator.h - DataObjectOperator.h - FileOperator.h - GlobalSettingStation.h - KeyPackageOperator.h - PassphraseGenerator.h -  model - GpgData.h - GpgKey.h - GpgKeySignature.h - GpgSignature.h - GpgSubKey.h - GpgTOFUInfo.h - GpgUID.h -  thread - CtxCheckThread.h + CharsetOperator.h + DataObjectOperator.h + FileOperator.h + GlobalSettingStation.h + KeyPackageOperator.h + PassphraseGenerator.h +  model + GpgData.h + GpgKey.h + GpgKeySignature.h + GpgSignature.h + GpgSubKey.h + GpgTOFUInfo.h + GpgUID.h +  thread + CtxCheckTask.h + FileReadTask.h + Task.h + TaskRunner.h + TaskRunnerGetter.h + ThreadingModel.h  GpgConstants.h  GpgContext.h  GpgCoreInit.h @@ -174,26 +180,26 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); });  SettingsObject.h  SoftwareVersion.h   thread - FileReadThread.h - ListedKeyServerTestThread.h - ProxyConnectionTestThread.h - VersionCheckThread.h -  widgets - FilePage.h - FindWidget.h - HelpPage.h - InfoBoardWidget.h - KeyList.h - PlainTextEditorPage.h - SignersPicker.h - TextEdit.h - TOFUInfoPage.h - VerifyKeyDetailBox.h - GpgFrontendUI.h - GpgFrontendUIInit.h - KeyMgmt.h - SignalStation.h - UserInterfaceUtils.h + ListedKeyServerTestThread.h + ProxyConnectionTestThread.h + VersionCheckTask.h +  widgets + FilePage.h + FindWidget.h + HelpPage.h + InfoBoardWidget.h + KeyList.h + PlainTextEditorPage.h + SignersPicker.h + TextEdit.h + TOFUInfoPage.h + VerifyKeyDetailBox.h + GpgFrontendApplication.h + GpgFrontendUI.h + GpgFrontendUIInit.h + KeyMgmt.h + SignalStation.h + UserInterfaceUtils.h diff --git a/docs/html/functions.html b/docs/html/functions.html index c3c6e718..1658af0a 100644 --- a/docs/html/functions.html +++ b/docs/html/functions.html @@ -84,80 +84,9 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
Here is a list of all documented class members with links to the class documentation for each member:
-

- a -

diff --git a/docs/html/functions_a.html b/docs/html/functions_a.html new file mode 100644 index 00000000..5a72b1c6 --- /dev/null +++ b/docs/html/functions_a.html @@ -0,0 +1,177 @@ + + + + + + + +GpgFrontend Project: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
GpgFrontend Project +
+
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- a -

+
+
+ + + + diff --git a/docs/html/functions_c.html b/docs/html/functions_c.html index d2ad7813..34b19e14 100644 --- a/docs/html/functions_c.html +++ b/docs/html/functions_c.html @@ -88,6 +88,12 @@ $(document).ready(function(){initNavTree('functions_c.html',''); initResizable()
  • CalculateHash() : GpgFrontend::FileOperator
  • +
  • channel_ +: GpgFrontend::ChannelObject +
  • +
  • ChannelObject() +: GpgFrontend::ChannelObject +
  • Check() : GpgFrontend::UI::SettingsObject
  • @@ -227,7 +233,7 @@ $(document).ready(function(){initNavTree('functions_c.html',''); initResizable() , GpgFrontend::UI::KeyPairSubkeyTab
  • CreateInstance() -: GpgFrontend::SingletonFunctionObject< T > +: GpgFrontend::SingletonFunctionObject< T >
  • CreateOperaMenu() : GpgFrontend::UI::KeyPairOperaTab @@ -241,13 +247,20 @@ $(document).ready(function(){initNavTree('functions_c.html',''); initResizable()
  • ctx_ : GpgFrontend::GpgBasicOperator , GpgFrontend::GpgCommandExecutor +, GpgFrontend::GpgKeyGetter
  • -
  • CtxCheckThread() -: GpgFrontend::CtxCheckThread +
  • ctx_mutex_ +: GpgFrontend::GpgKeyGetter +
  • +
  • CtxCheckTask() +: GpgFrontend::Thread::CtxCheckTask
  • CurFilePage() : GpgFrontend::UI::TextEdit
  • +
  • current_reply_ +: GpgFrontend::UI::VersionCheckTask +
  • CurrentVersionReleased() : GpgFrontend::UI::SoftwareVersion
  • diff --git a/docs/html/functions_d.html b/docs/html/functions_d.html index 192874a9..3b3288df 100644 --- a/docs/html/functions_d.html +++ b/docs/html/functions_d.html @@ -122,8 +122,11 @@ $(document).ready(function(){initNavTree('functions_d.html',''); initResizable()
  • DeleteKeys() : GpgFrontend::GpgKeyOpera
  • +
  • Detect() +: GpgFrontend::CharsetOperator +
  • detect_cr_lf() -: GpgFrontend::UI::PlainTextEditorPage +: GpgFrontend::UI::PlainTextEditorPage
  • detect_encoding() : GpgFrontend::UI::PlainTextEditorPage diff --git a/docs/html/functions_dup.js b/docs/html/functions_dup.js index 24d173c4..a3a4185a 100644 --- a/docs/html/functions_dup.js +++ b/docs/html/functions_dup.js @@ -1,6 +1,7 @@ var functions_dup = [ - [ "a", "functions.html", null ], + [ "_", "functions.html", null ], + [ "a", "functions_a.html", null ], [ "b", "functions_b.html", null ], [ "c", "functions_c.html", null ], [ "d", "functions_d.html", null ], diff --git a/docs/html/functions_f.html b/docs/html/functions_f.html index 46fdbd9b..190cba73 100644 --- a/docs/html/functions_f.html +++ b/docs/html/functions_f.html @@ -97,17 +97,14 @@ $(document).ready(function(){initNavTree('functions_f.html',''); initResizable()
  • FilePage() : GpgFrontend::UI::FilePage
  • -
  • FileReadThread() -: GpgFrontend::UI::FileReadThread -
  • find_act_ : GpgFrontend::UI::MainWindow
  • find_edit_ : GpgFrontend::UI::FindWidget
  • -
  • find_object_in_channel() -: GpgFrontend::SingletonFunctionObject< T > +
  • FindObjectInChannel() +: GpgFrontend::SingletonStorage
  • FindWidget() : GpgFrontend::UI::FindWidget @@ -119,6 +116,15 @@ $(document).ready(function(){initNavTree('functions_f.html',''); initResizable() : GpgFrontend::UI::KeyPairDetailTab , GpgFrontend::UI::KeyPairSubkeyTab
  • +
  • FlushKeyCache() +: GpgFrontend::GpgKeyGetter +
  • +
  • fpr_ +: GpgFrontend::UI::VerifyKeyDetailBox +
  • +
  • free_heap_ptr() +: GpgFrontend::Thread::Task::DataObject +
  • full_file_path_ : GpgFrontend::UI::PlainTextEditorPage
  • diff --git a/docs/html/functions_func.html b/docs/html/functions_func.html index aa3cd98f..fd03310f 100644 --- a/docs/html/functions_func.html +++ b/docs/html/functions_func.html @@ -103,6 +103,9 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
  • AppearanceTab() : GpgFrontend::UI::AppearanceTab
  • +
  • AppendObject() +: GpgFrontend::Thread::Task::DataObject +
  • AssociateTabWidget() : GpgFrontend::UI::InfoBoardWidget
  • diff --git a/docs/html/functions_func_c.html b/docs/html/functions_func_c.html index 6e494b74..a31007e8 100644 --- a/docs/html/functions_func_c.html +++ b/docs/html/functions_func_c.html @@ -88,6 +88,9 @@ $(document).ready(function(){initNavTree('functions_func_c.html',''); initResiza
  • CalculateHash() : GpgFrontend::FileOperator
  • +
  • ChannelObject() +: GpgFrontend::ChannelObject +
  • Check() : GpgFrontend::UI::SettingsObject
  • @@ -199,13 +202,13 @@ $(document).ready(function(){initNavTree('functions_func_c.html',''); initResiza : GpgFrontend::UI::KeyPairUIDTab
  • CreateInstance() -: GpgFrontend::SingletonFunctionObject< T > +: GpgFrontend::SingletonFunctionObject< T >
  • CreateOperaMenu() : GpgFrontend::UI::KeyPairOperaTab
  • -
  • CtxCheckThread() -: GpgFrontend::CtxCheckThread +
  • CtxCheckTask() +: GpgFrontend::Thread::CtxCheckTask
  • CurFilePage() : GpgFrontend::UI::TextEdit diff --git a/docs/html/functions_func_d.html b/docs/html/functions_func_d.html index 81fa5672..5a127b6b 100644 --- a/docs/html/functions_func_d.html +++ b/docs/html/functions_func_d.html @@ -112,8 +112,11 @@ $(document).ready(function(){initNavTree('functions_func_d.html',''); initResiza
  • DeleteKeys() : GpgFrontend::GpgKeyOpera
  • +
  • Detect() +: GpgFrontend::CharsetOperator +
  • detect_cr_lf() -: GpgFrontend::UI::PlainTextEditorPage +: GpgFrontend::UI::PlainTextEditorPage
  • detect_encoding() : GpgFrontend::UI::PlainTextEditorPage diff --git a/docs/html/functions_func_f.html b/docs/html/functions_func_f.html index 2b2bbaa2..702a29d1 100644 --- a/docs/html/functions_func_f.html +++ b/docs/html/functions_func_f.html @@ -91,15 +91,18 @@ $(document).ready(function(){initNavTree('functions_func_f.html',''); initResiza
  • FilePage() : GpgFrontend::UI::FilePage
  • -
  • FileReadThread() -: GpgFrontend::UI::FileReadThread -
  • -
  • find_object_in_channel() -: GpgFrontend::SingletonFunctionObject< T > +
  • FindObjectInChannel() +: GpgFrontend::SingletonStorage
  • FindWidget() : GpgFrontend::UI::FindWidget
  • +
  • FlushKeyCache() +: GpgFrontend::GpgKeyGetter +
  • +
  • free_heap_ptr() +: GpgFrontend::Thread::Task::DataObject +
  • diff --git a/docs/html/functions_func_g.html b/docs/html/functions_func_g.html index b5928372..68fdd494 100644 --- a/docs/html/functions_func_g.html +++ b/docs/html/functions_func_g.html @@ -94,6 +94,9 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza
  • generate_key_package_name() : GpgFrontend::KeyPackageOperator
  • +
  • generate_uuid() +: GpgFrontend::Thread::Task +
  • GenerateKey() : GpgFrontend::GpgKeyOpera
  • @@ -115,6 +118,12 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza
  • GenKeyInfo() : GpgFrontend::GenKeyInfo
  • +
  • get_heap_ptr() +: GpgFrontend::Thread::Task::DataObject +
  • +
  • get_key_in_cache() +: GpgFrontend::GpgKeyGetter +
  • get_restart_needed() : GpgFrontend::UI::MainWindow , GpgFrontend::UI::SettingsDialog @@ -137,6 +146,10 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza
  • GetAlgo() : GpgFrontend::GenKeyInfo
  • +
  • GetAllChannelId() +: GpgFrontend::SingletonFunctionObject< T > +, GpgFrontend::SingletonStorage +
  • GetAllPrivateKeys() : GpgFrontend::UI::KeyList
  • @@ -150,10 +163,11 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza : GpgFrontend::GlobalSettingStation
  • GetChannel() -: GpgFrontend::SingletonFunctionObject< T > +: GpgFrontend::ChannelObject +, GpgFrontend::SingletonFunctionObject< T >
  • GetChecked() -: GpgFrontend::UI::KeyList +: GpgFrontend::UI::KeyList , GpgFrontend::UI::KeyTable
  • GetCheckedSigners() @@ -172,7 +186,8 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza , GpgFrontend::GpgSubKey
  • GetDefaultChannel() -: GpgFrontend::SingletonFunctionObject< T > +: GpgFrontend::ChannelObject +, GpgFrontend::SingletonFunctionObject< T >
  • GetDescription() : GpgFrontend::GpgTOFUInfo @@ -219,14 +234,16 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza
  • GetInstance() : GpgFrontend::CoreCommonUtil , GpgFrontend::SingletonFunctionObject< T > +, GpgFrontend::SingletonStorageCollection , GpgFrontend::UI::CommonUtils +, GpgFrontend::UI::GpgFrontendApplication , GpgFrontend::UI::SignalStation
  • GetInvalid() : GpgFrontend::GpgUID
  • GetKey() -: GpgFrontend::GpgKeyGetter +: GpgFrontend::GpgKeyGetter
  • GetKeyID() : GpgFrontend::GpgKeySignature @@ -262,6 +279,9 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza , GpgFrontend::GpgKeySignature , GpgFrontend::GpgUID
  • +
  • GetObjectSize() +: GpgFrontend::Thread::Task::DataObject +
  • GetOwnerTrust() : GpgFrontend::GpgKey
  • @@ -281,7 +301,7 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza : GpgFrontend::GpgKey
  • GetPubkey() -: GpgFrontend::GpgKeyGetter +: GpgFrontend::GpgKeyGetter
  • GetPubkeyAlgo() : GpgFrontend::GpgKeySignature @@ -323,6 +343,9 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza
  • GetSignLast() : GpgFrontend::GpgTOFUInfo
  • +
  • GetSingletonStorage() +: GpgFrontend::SingletonStorageCollection +
  • GetSizeChangeStep() : GpgFrontend::GenKeyInfo
  • @@ -383,6 +406,9 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza
  • GetUserid() : GpgFrontend::GenKeyInfo
  • +
  • GetUUID() +: GpgFrontend::Thread::Task +
  • GetValidity() : GpgFrontend::GpgSignature , GpgFrontend::GpgTOFUInfo @@ -400,7 +426,7 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza : GpgFrontend::GpgCommandExecutor
  • GpgContext() -: GpgFrontend::GpgContext +: GpgFrontend::GpgContext
  • GpgData() : GpgFrontend::GpgData @@ -414,11 +440,14 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza
  • GpgFileOpera() : GpgFrontend::GpgFileOpera
  • +
  • GpgFrontendApplication() +: GpgFrontend::UI::GpgFrontendApplication +
  • GpgImportInformation() : GpgFrontend::GpgImportInformation
  • GpgKey() -: GpgFrontend::GpgKey +: GpgFrontend::GpgKey
  • GpgKeyGetter() : GpgFrontend::GpgKeyGetter @@ -433,25 +462,25 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza : GpgFrontend::GpgKeyOpera
  • GpgKeySignature() -: GpgFrontend::GpgKeySignature +: GpgFrontend::GpgKeySignature
  • GpgResultAnalyse() : GpgFrontend::GpgResultAnalyse
  • GpgSignature() -: GpgFrontend::GpgSignature +: GpgFrontend::GpgSignature
  • GpgSignResultAnalyse() : GpgFrontend::GpgSignResultAnalyse
  • GpgSubKey() -: GpgFrontend::GpgSubKey +: GpgFrontend::GpgSubKey
  • GpgTOFUInfo() -: GpgFrontend::GpgTOFUInfo +: GpgFrontend::GpgTOFUInfo
  • GpgUID() -: GpgFrontend::GpgUID +: GpgFrontend::GpgUID
  • GpgUIDOperator() : GpgFrontend::GpgUIDOperator diff --git a/docs/html/functions_func_i.html b/docs/html/functions_func_i.html index fb6462c8..8b51a5e7 100644 --- a/docs/html/functions_func_i.html +++ b/docs/html/functions_func_i.html @@ -101,6 +101,9 @@ $(document).ready(function(){initNavTree('functions_func_i.html',''); initResiza
  • InfoTab() : GpgFrontend::UI::InfoTab
  • +
  • InfoVaild() +: GpgFrontend::UI::SoftwareVersion +
  • Init() : GpgFrontend::UI::MainWindow
  • diff --git a/docs/html/functions_func_n.html b/docs/html/functions_func_n.html index db4dbadb..ab646e65 100644 --- a/docs/html/functions_func_n.html +++ b/docs/html/functions_func_n.html @@ -97,6 +97,12 @@ $(document).ready(function(){initNavTree('functions_func_n.html',''); initResiza , GpgFrontend::UI::IntroPage , GpgFrontend::UI::KeyGenPage +
  • notify() +: GpgFrontend::UI::GpgFrontendApplication +
  • +
  • NotifyFileSaved() +: GpgFrontend::UI::PlainTextEditorPage +
  • diff --git a/docs/html/functions_func_o.html b/docs/html/functions_func_o.html index 8fe6780a..55f40614 100644 --- a/docs/html/functions_func_o.html +++ b/docs/html/functions_func_o.html @@ -101,12 +101,13 @@ $(document).ready(function(){initNavTree('functions_func_o.html',''); initResiza : GpgFrontend::GpgKey
  • operator=() -: GpgFrontend::GpgKey +: GpgFrontend::GpgKey , GpgFrontend::GpgKeySignature , GpgFrontend::GpgSignature , GpgFrontend::GpgSubKey -, GpgFrontend::GpgTOFUInfo -, GpgFrontend::GpgUID +, GpgFrontend::GpgTOFUInfo +, GpgFrontend::GpgUID +, GpgFrontend::SingletonFunctionObject< T >
  • operator==() : GpgFrontend::GpgKey diff --git a/docs/html/functions_func_p.html b/docs/html/functions_func_p.html index 873e9430..45e9dfd2 100644 --- a/docs/html/functions_func_p.html +++ b/docs/html/functions_func_p.html @@ -89,7 +89,13 @@ $(document).ready(function(){initNavTree('functions_func_p.html',''); initResiza : GpgFrontend::PassphraseGenerator
  • PlainTextEditorPage() -: GpgFrontend::UI::PlainTextEditorPage +: GpgFrontend::UI::PlainTextEditorPage +
  • +
  • PopObject() +: GpgFrontend::Thread::Task::DataObject +
  • +
  • PostTask() +: GpgFrontend::Thread::TaskRunner
  • print_recipient() : GpgFrontend::GpgDecryptResultAnalyse diff --git a/docs/html/functions_func_r.html b/docs/html/functions_func_r.html index 4bfa3509..1104c0b9 100644 --- a/docs/html/functions_func_r.html +++ b/docs/html/functions_func_r.html @@ -108,7 +108,8 @@ $(document).ready(function(){initNavTree('functions_func_r.html',''); initResiza , GpgFrontend::UI::SubkeyGenerateDialog
  • ReleaseChannel() -: GpgFrontend::SingletonFunctionObject< T > +: GpgFrontend::SingletonFunctionObject< T > +, GpgFrontend::SingletonStorage
  • ResetOptionActionsMenu() : GpgFrontend::UI::InfoBoardWidget @@ -122,10 +123,18 @@ $(document).ready(function(){initNavTree('functions_func_r.html',''); initResiza
  • RevUID() : GpgFrontend::GpgUIDOperator
  • +
  • Run() +: GpgFrontend::Thread::CtxCheckTask +, GpgFrontend::Thread::Task +, GpgFrontend::UI::FileReadTask +
  • run() : GpgFrontend::UI::ListedKeyServerTestThread , GpgFrontend::UI::ProxyConnectionTestThread
  • +
  • Run() +: GpgFrontend::UI::VersionCheckTask +
  • diff --git a/docs/html/functions_func_s.html b/docs/html/functions_func_s.html index 18805718..f43be7ba 100644 --- a/docs/html/functions_func_s.html +++ b/docs/html/functions_func_s.html @@ -100,9 +100,6 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
  • set_message() : GpgFrontend::UI::KeyServerImportDialog
  • -
  • set_object_in_channel() -: GpgFrontend::SingletonFunctionObject< T > -
  • set_signal_slot() : GpgFrontend::UI::KeyGenDialog , GpgFrontend::UI::SubkeyGenerateDialog @@ -126,7 +123,7 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza : GpgFrontend::GenKeyInfo
  • SetChannel() -: GpgFrontend::SingletonFunctionObject< T > +: GpgFrontend::ChannelObject
  • SetChecked() : GpgFrontend::UI::KeyList @@ -157,6 +154,9 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
  • SetFilePath() : GpgFrontend::UI::PlainTextEditorPage
  • +
  • SetFinishAfterRun() +: GpgFrontend::Thread::Task +
  • SetInfoBoard() : GpgFrontend::UI::InfoBoardWidget
  • @@ -175,6 +175,9 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
  • SetNonPassPhrase() : GpgFrontend::GenKeyInfo
  • +
  • SetObjectInChannel() +: GpgFrontend::SingletonStorage +
  • SetPassPhrase() : GpgFrontend::GenKeyInfo
  • @@ -184,6 +187,9 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
  • SetPrimaryUID() : GpgFrontend::GpgUIDOperator
  • +
  • SetRTN() +: GpgFrontend::Thread::Task +
  • SetSettings() : GpgFrontend::UI::AppearanceTab , GpgFrontend::UI::GeneralTab @@ -208,6 +214,9 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
  • Sign() : GpgFrontend::GpgBasicOperator
  • +
  • SignalKeyDatabaseRefreshDone() +: GpgFrontend::UI::CommonUtils +
  • SignalKeyServerListTestResult() : GpgFrontend::UI::ListedKeyServerTestThread
  • @@ -239,11 +248,11 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza , GpgFrontend::UI::KeyserverTab , GpgFrontend::UI::SettingsDialog -
  • SignalSendReadBlock() -: GpgFrontend::UI::FileReadThread +
  • SignalUIBytesDisplayed() +: GpgFrontend::UI::PlainTextEditorPage
  • SignalUpgradeVersion() -: GpgFrontend::UI::VersionCheckThread +: GpgFrontend::UI::VersionCheckTask
  • SignersPicker() : GpgFrontend::UI::SignersPicker @@ -255,7 +264,7 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza : GpgFrontend::GpgKeyManager
  • SingletonFunctionObject() -: GpgFrontend::SingletonFunctionObject< T > +: GpgFrontend::SingletonFunctionObject< T >
  • slot_activated_key_type() : GpgFrontend::UI::KeyGenDialog @@ -344,7 +353,7 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza : GpgFrontend::UI::MainWindow
  • slot_insert_text() -: GpgFrontend::UI::PlainTextEditorPage +: GpgFrontend::UI::PlainTextEditorPage
  • slot_jump_page() : GpgFrontend::UI::ChoosePage @@ -393,6 +402,9 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
  • slot_start_wizard() : GpgFrontend::UI::MainWindow
  • +
  • slot_update_key_status() +: GpgFrontend::UI::CommonUtils +
  • slot_upload_key_to_server() : GpgFrontend::UI::KeyUploadDialog
  • @@ -442,7 +454,7 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza : GpgFrontend::UI::TextEdit
  • SlotImport() -: GpgFrontend::UI::KeyServerImportDialog +: GpgFrontend::UI::KeyServerImportDialog
  • SlotImportKeyFromClipboard() : GpgFrontend::UI::CommonUtils @@ -451,7 +463,7 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza : GpgFrontend::UI::CommonUtils
  • SlotImportKeyFromKeyServer() -: GpgFrontend::UI::CommonUtils +: GpgFrontend::UI::CommonUtils
  • SlotImportKeys() : GpgFrontend::UI::CommonUtils diff --git a/docs/html/functions_func_t.html b/docs/html/functions_func_t.html index 9e883a17..d96c114b 100644 --- a/docs/html/functions_func_t.html +++ b/docs/html/functions_func_t.html @@ -91,6 +91,15 @@ $(document).ready(function(){initNavTree('functions_func_t.html',''); initResiza
  • TakeChargeOfResult() : GpgFrontend::GpgVerifyResultAnalyse
  • +
  • Task() +: GpgFrontend::Thread::Task +
  • +
  • TaskRunner() +: GpgFrontend::Thread::TaskRunner +
  • +
  • TaskRunnerGetter() +: GpgFrontend::Thread::TaskRunnerGetter +
  • test_passphrase_cb() : GpgFrontend::GpgContext
  • diff --git a/docs/html/functions_func_v.html b/docs/html/functions_func_v.html index 4d3884f0..c2011b1b 100644 --- a/docs/html/functions_func_v.html +++ b/docs/html/functions_func_v.html @@ -97,8 +97,8 @@ $(document).ready(function(){initNavTree('functions_func_v.html',''); initResiza
  • VerifyKeyDetailBox() : GpgFrontend::UI::VerifyKeyDetailBox
  • -
  • VersionCheckThread() -: GpgFrontend::UI::VersionCheckThread +
  • VersionCheckTask() +: GpgFrontend::UI::VersionCheckTask
  • VersionWithDrawn() : GpgFrontend::UI::SoftwareVersion diff --git a/docs/html/functions_func_w.html b/docs/html/functions_func_w.html index d6e6bd2e..c7b69e88 100644 --- a/docs/html/functions_func_w.html +++ b/docs/html/functions_func_w.html @@ -88,6 +88,9 @@ $(document).ready(function(){initNavTree('functions_func_w.html',''); initResiza
  • WaitingDialog() : GpgFrontend::UI::WaitingDialog
  • +
  • WillCharsetChange() +: GpgFrontend::UI::PlainTextEditorPage +
  • Wizard() : GpgFrontend::UI::Wizard
  • diff --git a/docs/html/functions_func_~.html b/docs/html/functions_func_~.html index 1ada9bed..e17e88b0 100644 --- a/docs/html/functions_func_~.html +++ b/docs/html/functions_func_~.html @@ -85,12 +85,18 @@ $(document).ready(function(){initNavTree('functions_func_~.html',''); initResiza  

    - ~ -

    diff --git a/docs/html/functions_g.html b/docs/html/functions_g.html index 29f3b693..734cb6f6 100644 --- a/docs/html/functions_g.html +++ b/docs/html/functions_g.html @@ -94,6 +94,9 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable()
  • generate_key_package_name() : GpgFrontend::KeyPackageOperator
  • +
  • generate_uuid() +: GpgFrontend::Thread::Task +
  • GenerateKey() : GpgFrontend::GpgKeyOpera
  • @@ -115,6 +118,12 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable()
  • GenKeyInfo() : GpgFrontend::GenKeyInfo
  • +
  • get_heap_ptr() +: GpgFrontend::Thread::Task::DataObject +
  • +
  • get_key_in_cache() +: GpgFrontend::GpgKeyGetter +
  • get_restart_needed() : GpgFrontend::UI::MainWindow , GpgFrontend::UI::SettingsDialog @@ -137,6 +146,10 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable()
  • GetAlgo() : GpgFrontend::GenKeyInfo
  • +
  • GetAllChannelId() +: GpgFrontend::SingletonFunctionObject< T > +, GpgFrontend::SingletonStorage +
  • GetAllPrivateKeys() : GpgFrontend::UI::KeyList
  • @@ -150,10 +163,11 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable() : GpgFrontend::GlobalSettingStation
  • GetChannel() -: GpgFrontend::SingletonFunctionObject< T > +: GpgFrontend::ChannelObject +, GpgFrontend::SingletonFunctionObject< T >
  • GetChecked() -: GpgFrontend::UI::KeyList +: GpgFrontend::UI::KeyList , GpgFrontend::UI::KeyTable
  • GetCheckedSigners() @@ -172,7 +186,8 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable() , GpgFrontend::GpgSubKey
  • GetDefaultChannel() -: GpgFrontend::SingletonFunctionObject< T > +: GpgFrontend::ChannelObject +, GpgFrontend::SingletonFunctionObject< T >
  • GetDescription() : GpgFrontend::GpgTOFUInfo @@ -219,14 +234,16 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable()
  • GetInstance() : GpgFrontend::CoreCommonUtil , GpgFrontend::SingletonFunctionObject< T > +, GpgFrontend::SingletonStorageCollection , GpgFrontend::UI::CommonUtils +, GpgFrontend::UI::GpgFrontendApplication , GpgFrontend::UI::SignalStation
  • GetInvalid() : GpgFrontend::GpgUID
  • GetKey() -: GpgFrontend::GpgKeyGetter +: GpgFrontend::GpgKeyGetter
  • GetKeyID() : GpgFrontend::GpgKeySignature @@ -262,6 +279,9 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable() , GpgFrontend::GpgKeySignature , GpgFrontend::GpgUID
  • +
  • GetObjectSize() +: GpgFrontend::Thread::Task::DataObject +
  • GetOwnerTrust() : GpgFrontend::GpgKey
  • @@ -281,7 +301,7 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable() : GpgFrontend::GpgKey
  • GetPubkey() -: GpgFrontend::GpgKeyGetter +: GpgFrontend::GpgKeyGetter
  • GetPubkeyAlgo() : GpgFrontend::GpgKeySignature @@ -323,6 +343,9 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable()
  • GetSignLast() : GpgFrontend::GpgTOFUInfo
  • +
  • GetSingletonStorage() +: GpgFrontend::SingletonStorageCollection +
  • GetSizeChangeStep() : GpgFrontend::GenKeyInfo
  • @@ -383,6 +406,9 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable()
  • GetUserid() : GpgFrontend::GenKeyInfo
  • +
  • GetUUID() +: GpgFrontend::Thread::Task +
  • GetValidity() : GpgFrontend::GpgSignature , GpgFrontend::GpgTOFUInfo @@ -403,7 +429,7 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable() : GpgFrontend::GpgCommandExecutor
  • GpgContext() -: GpgFrontend::GpgContext +: GpgFrontend::GpgContext
  • GpgData() : GpgFrontend::GpgData @@ -417,6 +443,9 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable()
  • GpgFileOpera() : GpgFrontend::GpgFileOpera
  • +
  • GpgFrontendApplication() +: GpgFrontend::UI::GpgFrontendApplication +
  • GpgImportInformation() : GpgFrontend::GpgImportInformation
  • @@ -436,7 +465,7 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable() : GpgFrontend::GpgKeyOpera
  • GpgKeySignature() -: GpgFrontend::GpgKeySignature +: GpgFrontend::GpgKeySignature
  • GpgResultAnalyse() : GpgFrontend::GpgResultAnalyse @@ -454,7 +483,7 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable() : GpgFrontend::GpgTOFUInfo
  • GpgUID() -: GpgFrontend::GpgUID +: GpgFrontend::GpgUID
  • GpgUIDOperator() : GpgFrontend::GpgUIDOperator diff --git a/docs/html/functions_i.html b/docs/html/functions_i.html index 2b45a01a..1a382c84 100644 --- a/docs/html/functions_i.html +++ b/docs/html/functions_i.html @@ -110,6 +110,9 @@ $(document).ready(function(){initNavTree('functions_i.html',''); initResizable()
  • InfoTab() : GpgFrontend::UI::InfoTab
  • +
  • InfoVaild() +: GpgFrontend::UI::SoftwareVersion +
  • Init() : GpgFrontend::UI::MainWindow
  • @@ -119,6 +122,12 @@ $(document).ready(function(){initNavTree('functions_i.html',''); initResizable()
  • init_ctx() : GpgFrontend::GpgContext
  • +
  • instances_map_ +: GpgFrontend::SingletonStorage +
  • +
  • instances_mutex_ +: GpgFrontend::SingletonStorage +
  • IntroPage() : GpgFrontend::UI::IntroPage
  • diff --git a/docs/html/functions_k.html b/docs/html/functions_k.html index d5ba7e0f..dbe71256 100644 --- a/docs/html/functions_k.html +++ b/docs/html/functions_k.html @@ -156,6 +156,12 @@ $(document).ready(function(){initNavTree('functions_k.html',''); initResizable() : GpgFrontend::UI::FilePage , GpgFrontend::UI::FindWidget +
  • keys_cache_ +: GpgFrontend::GpgKeyGetter +
  • +
  • keys_cache_mutex_ +: GpgFrontend::GpgKeyGetter +
  • KeyServerImportDialog() : GpgFrontend::UI::KeyServerImportDialog
  • @@ -163,7 +169,7 @@ $(document).ready(function(){initNavTree('functions_k.html',''); initResizable() : GpgFrontend::UI::KeyserverTab
  • KeySetExpireDateDialog() -: GpgFrontend::UI::KeySetExpireDateDialog +: GpgFrontend::UI::KeySetExpireDateDialog
  • KeyTable() : GpgFrontend::UI::KeyTable diff --git a/docs/html/functions_l.html b/docs/html/functions_l.html index 3c968f8c..1266d2d9 100644 --- a/docs/html/functions_l.html +++ b/docs/html/functions_l.html @@ -85,6 +85,9 @@ $(document).ready(function(){initNavTree('functions_l.html',''); initResizable()
    Here is a list of all documented class members with links to the class documentation for each member:

    - l -

    diff --git a/docs/html/functions_o.html b/docs/html/functions_o.html index bcf7cbfa..b480b5ce 100644 --- a/docs/html/functions_o.html +++ b/docs/html/functions_o.html @@ -112,10 +112,11 @@ $(document).ready(function(){initNavTree('functions_o.html',''); initResizable()
  • operator=() : GpgFrontend::GpgKey , GpgFrontend::GpgKeySignature -, GpgFrontend::GpgSignature -, GpgFrontend::GpgSubKey -, GpgFrontend::GpgTOFUInfo +, GpgFrontend::GpgSignature +, GpgFrontend::GpgSubKey +, GpgFrontend::GpgTOFUInfo , GpgFrontend::GpgUID +, GpgFrontend::SingletonFunctionObject< T >
  • operator==() : GpgFrontend::GpgKey diff --git a/docs/html/functions_p.html b/docs/html/functions_p.html index ef7511a6..e90081bf 100644 --- a/docs/html/functions_p.html +++ b/docs/html/functions_p.html @@ -91,11 +91,20 @@ $(document).ready(function(){initNavTree('functions_p.html',''); initResizable()
  • paste_act_ : GpgFrontend::UI::MainWindow
  • +
  • pending_tasks_ +: GpgFrontend::Thread::TaskRunner +
  • PGP_CRYPT_BEGIN : GpgFrontend::GpgConstants
  • PlainTextEditorPage() -: GpgFrontend::UI::PlainTextEditorPage +: GpgFrontend::UI::PlainTextEditorPage +
  • +
  • PopObject() +: GpgFrontend::Thread::Task::DataObject +
  • +
  • PostTask() +: GpgFrontend::Thread::TaskRunner
  • print_act_ : GpgFrontend::UI::MainWindow diff --git a/docs/html/functions_r.html b/docs/html/functions_r.html index e667e61c..937413e0 100644 --- a/docs/html/functions_r.html +++ b/docs/html/functions_r.html @@ -115,7 +115,8 @@ $(document).ready(function(){initNavTree('functions_r.html',''); initResizable() , GpgFrontend::UI::SubkeyGenerateDialog
  • ReleaseChannel() -: GpgFrontend::SingletonFunctionObject< T > +: GpgFrontend::SingletonFunctionObject< T > +, GpgFrontend::SingletonStorage
  • ResetOptionActionsMenu() : GpgFrontend::UI::InfoBoardWidget @@ -129,10 +130,18 @@ $(document).ready(function(){initNavTree('functions_r.html',''); initResizable()
  • RevUID() : GpgFrontend::GpgUIDOperator
  • +
  • Run() +: GpgFrontend::Thread::CtxCheckTask +, GpgFrontend::Thread::Task +, GpgFrontend::UI::FileReadTask +
  • run() : GpgFrontend::UI::ListedKeyServerTestThread , GpgFrontend::UI::ProxyConnectionTestThread
  • +
  • Run() +: GpgFrontend::UI::VersionCheckTask +
  • diff --git a/docs/html/functions_s.html b/docs/html/functions_s.html index cc7332f3..19ba2b5d 100644 --- a/docs/html/functions_s.html +++ b/docs/html/functions_s.html @@ -109,9 +109,6 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
  • set_message() : GpgFrontend::UI::KeyServerImportDialog
  • -
  • set_object_in_channel() -: GpgFrontend::SingletonFunctionObject< T > -
  • set_signal_slot() : GpgFrontend::UI::KeyGenDialog , GpgFrontend::UI::SubkeyGenerateDialog @@ -135,7 +132,7 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable() : GpgFrontend::GenKeyInfo
  • SetChannel() -: GpgFrontend::SingletonFunctionObject< T > +: GpgFrontend::ChannelObject
  • SetChecked() : GpgFrontend::UI::KeyList @@ -166,6 +163,9 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
  • SetFilePath() : GpgFrontend::UI::PlainTextEditorPage
  • +
  • SetFinishAfterRun() +: GpgFrontend::Thread::Task +
  • SetInfoBoard() : GpgFrontend::UI::InfoBoardWidget
  • @@ -184,6 +184,9 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
  • SetNonPassPhrase() : GpgFrontend::GenKeyInfo
  • +
  • SetObjectInChannel() +: GpgFrontend::SingletonStorage +
  • SetPassPhrase() : GpgFrontend::GenKeyInfo
  • @@ -193,6 +196,9 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
  • SetPrimaryUID() : GpgFrontend::GpgUIDOperator
  • +
  • SetRTN() +: GpgFrontend::Thread::Task +
  • SetSettings() : GpgFrontend::UI::AppearanceTab , GpgFrontend::UI::GeneralTab @@ -226,6 +232,9 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
  • sign_marked_ : GpgFrontend::UI::PlainTextEditorPage
  • +
  • SignalKeyDatabaseRefreshDone() +: GpgFrontend::UI::CommonUtils +
  • SignalKeyServerListTestResult() : GpgFrontend::UI::ListedKeyServerTestThread
  • @@ -257,11 +266,11 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable() , GpgFrontend::UI::KeyserverTab , GpgFrontend::UI::SettingsDialog -
  • SignalSendReadBlock() -: GpgFrontend::UI::FileReadThread +
  • SignalUIBytesDisplayed() +: GpgFrontend::UI::PlainTextEditorPage
  • SignalUpgradeVersion() -: GpgFrontend::UI::VersionCheckThread +: GpgFrontend::UI::VersionCheckTask
  • SignersPicker() : GpgFrontend::UI::SignersPicker @@ -273,7 +282,7 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable() : GpgFrontend::GpgKeyManager
  • SingletonFunctionObject() -: GpgFrontend::SingletonFunctionObject< T > +: GpgFrontend::SingletonFunctionObject< T >
  • slot_activated_key_type() : GpgFrontend::UI::KeyGenDialog @@ -362,7 +371,7 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable() : GpgFrontend::UI::MainWindow
  • slot_insert_text() -: GpgFrontend::UI::PlainTextEditorPage +: GpgFrontend::UI::PlainTextEditorPage
  • slot_jump_page() : GpgFrontend::UI::ChoosePage @@ -411,6 +420,9 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
  • slot_start_wizard() : GpgFrontend::UI::MainWindow
  • +
  • slot_update_key_status() +: GpgFrontend::UI::CommonUtils +
  • slot_upload_key_to_server() : GpgFrontend::UI::KeyUploadDialog
  • @@ -460,7 +472,7 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable() : GpgFrontend::UI::TextEdit
  • SlotImport() -: GpgFrontend::UI::KeyServerImportDialog +: GpgFrontend::UI::KeyServerImportDialog
  • SlotImportKeyFromClipboard() : GpgFrontend::UI::CommonUtils @@ -469,7 +481,7 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable() : GpgFrontend::UI::CommonUtils
  • SlotImportKeyFromKeyServer() -: GpgFrontend::UI::CommonUtils +: GpgFrontend::UI::CommonUtils
  • SlotImportKeys() : GpgFrontend::UI::CommonUtils @@ -538,6 +550,9 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
  • steganography_menu_ : GpgFrontend::UI::MainWindow
  • +
  • storages_mutex_ +: GpgFrontend::SingletonStorageCollection +
  • stripped_name() : GpgFrontend::UI::TextEdit
  • diff --git a/docs/html/functions_t.html b/docs/html/functions_t.html index 323bbb3b..dfe9111f 100644 --- a/docs/html/functions_t.html +++ b/docs/html/functions_t.html @@ -91,6 +91,21 @@ $(document).ready(function(){initNavTree('functions_t.html',''); initResizable()
  • TakeChargeOfResult() : GpgFrontend::GpgVerifyResultAnalyse
  • +
  • Task() +: GpgFrontend::Thread::Task +
  • +
  • TaskRunner() +: GpgFrontend::Thread::TaskRunner +
  • +
  • TaskRunnerGetter() +: GpgFrontend::Thread::TaskRunnerGetter +
  • +
  • tasks +: GpgFrontend::Thread::TaskRunner +
  • +
  • tasks_mutex_ +: GpgFrontend::Thread::TaskRunner +
  • test_passphrase_cb() : GpgFrontend::GpgContext
  • diff --git a/docs/html/functions_v.html b/docs/html/functions_v.html index 7d30096c..97c7bd86 100644 --- a/docs/html/functions_v.html +++ b/docs/html/functions_v.html @@ -100,8 +100,8 @@ $(document).ready(function(){initNavTree('functions_v.html',''); initResizable()
  • VerifyKeyDetailBox() : GpgFrontend::UI::VerifyKeyDetailBox
  • -
  • VersionCheckThread() -: GpgFrontend::UI::VersionCheckThread +
  • VersionCheckTask() +: GpgFrontend::UI::VersionCheckTask
  • VersionWithDrawn() : GpgFrontend::UI::SoftwareVersion diff --git a/docs/html/functions_vars.html b/docs/html/functions_vars.html index d3f15dd6..c99915d7 100644 --- a/docs/html/functions_vars.html +++ b/docs/html/functions_vars.html @@ -84,6 +84,13 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
      +

    - _ -

    + +

    - a -

    + + +

    - l -

    @@ -396,6 +435,9 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
  • paste_act_ : GpgFrontend::UI::MainWindow
  • +
  • pending_tasks_ +: GpgFrontend::Thread::TaskRunner +
  • PGP_CRYPT_BEGIN : GpgFrontend::GpgConstants
  • @@ -454,6 +496,9 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
  • steganography_menu_ : GpgFrontend::UI::MainWindow
  • +
  • storages_mutex_ +: GpgFrontend::SingletonStorageCollection +
  • switch_tab_down_act_ : GpgFrontend::UI::MainWindow
  • @@ -464,6 +509,12 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl

    - t -