diff --git a/docs/html/CtxCheckTask_8h_source.html b/docs/html/CtxCheckTask_8h_source.html index 1422c400..96aedb3e 100644 --- a/docs/html/CtxCheckTask_8h_source.html +++ b/docs/html/CtxCheckTask_8h_source.html @@ -117,7 +117,7 @@ $(document).ready(function(){initNavTree('CtxCheckTask_8h_source.html',''); init
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:38
+
GpgFrontend::Thread::Task
Definition: Task.h:43
GpgFrontend::Thread::CtxCheckTask::Run
void Run() override
Run - run the task.
Definition: CtxCheckTask.cpp:40
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::FileReadTask
Definition: FileReadTask.h:39
-
GpgFrontend::Thread::Task
Definition: Task.h:38
+
GpgFrontend::Thread::Task
Definition: Task.h:43
+
GpgFrontend::Thread::Task::SetFinishAfterRun
void SetFinishAfterRun(bool finish_after_run)
Set the Finish After Run object.
Definition: Task.cpp:71
GpgFrontend::UI::FileReadTask::Run
void Run() override
Run - run the task.
Definition: FileReadTask.cpp:47
-
GpgFrontend::UI::MainWindow::slot_verify
void slot_verify()
Definition: MainWindowSlotFunction.cpp:237
+
GpgFrontend::UI::MainWindow::slot_verify
void slot_verify()
Definition: MainWindowSlotFunction.cpp:339
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:496
+
GpgFrontend::UI::MainWindow::upload_key_to_server
void upload_key_to_server()
Definition: MainWindowSlotFunction.cpp:606
GpgFrontend::UI
Definition: FileReadTask.cpp:31
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::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:433
@@ -325,7 +325,7 @@ $(document).ready(function(){initNavTree('MainWindow_8h_source.html',''); initRe
GpgFrontend::UI::MainWindow::cut_pgp_header_act_
QAction * cut_pgp_header_act_
Action for cutting the PGP header.
Definition: MainWindow.h:391
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:181
@@ -336,11 +336,11 @@ $(document).ready(function(){initNavTree('MainWindow_8h_source.html',''); initRe
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: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:449
+
GpgFrontend::UI::MainWindow::slot_append_selected_keys
void slot_append_selected_keys()
Definition: MainWindowSlotFunction.cpp:559
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:487
+
GpgFrontend::UI::MainWindow::refresh_keys_from_key_server
void refresh_keys_from_key_server()
Definition: MainWindowSlotFunction.cpp:597
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
@@ -352,30 +352,30 @@ $(document).ready(function(){initNavTree('MainWindow_8h_source.html',''); initRe
GpgFrontend::UI::MainWindow::switch_tab_up_act_
QAction * switch_tab_up_act_
Action to switch tab up.
Definition: MainWindow.h:351
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:503
+
GpgFrontend::UI::MainWindow::SlotOpenFile
void SlotOpenFile(QString &path)
Definition: MainWindowSlotFunction.cpp:613
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:42
+
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:338
GpgFrontend::UI::MainWindow::steganography_menu_
QMenu * steganography_menu_
Submenu for steganography operations.
Definition: MainWindow.h:337
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:475
+
GpgFrontend::UI::MainWindow::slot_show_key_details
void slot_show_key_details()
Definition: MainWindowSlotFunction.cpp:585
GpgFrontend::UI::MainWindow::print_act_
QAction * print_act_
Action to print.
Definition: MainWindow.h:357
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:374
+
GpgFrontend::UI::MainWindow::slot_decrypt_verify
void slot_decrypt_verify()
Definition: MainWindowSlotFunction.cpp:481
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:462
+
GpgFrontend::UI::MainWindow::slot_copy_mail_address_to_clipboard
void slot_copy_mail_address_to_clipboard()
Definition: MainWindowSlotFunction.cpp:572
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::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::SlotFileSign
void SlotFileSign()
Definition: MainWindowFileSlotFunction.cpp:364
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
@@ -387,22 +387,22 @@ $(document).ready(function(){initNavTree('MainWindow_8h_source.html',''); initRe
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:119
+
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: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::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::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:505
+
GpgFrontend::UI::MainWindow::slot_version_upgrade
void slot_version_upgrade(const SoftwareVersion &version)
Definition: MainWindowSlotFunction.cpp:615
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:225
+
GpgFrontend::UI::MainWindow::slot_find
void slot_find()
Definition: MainWindowSlotFunction.cpp:327
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:37
@@ -411,12 +411,12 @@ $(document).ready(function(){initNavTree('MainWindow_8h_source.html',''); initRe
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::SlotFileEncryptSign
void SlotFileEncryptSign()
Definition: MainWindowFileSlotFunction.cpp:551
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_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::SlotFileDecrypt
void SlotFileDecrypt()
Definition: MainWindowFileSlotFunction.cpp:291
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::slot_add_pgp_header
void slot_add_pgp_header()
Definition: MainWindowSlotUI.cpp:147
@@ -427,11 +427,11 @@ $(document).ready(function(){initNavTree('MainWindow_8h_source.html',''); initRe
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::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:182
+
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:377
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:275
+
GpgFrontend::UI::MainWindow::slot_encrypt_sign
void slot_encrypt_sign()
Definition: MainWindowSlotFunction.cpp:379
-
GpgFrontend::UI::MainWindow::slot_verify
void slot_verify()
Definition: MainWindowSlotFunction.cpp:237
+
GpgFrontend::UI::MainWindow::slot_verify
void slot_verify()
Definition: MainWindowSlotFunction.cpp:339
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:496
+
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:606
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::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:107
GpgFrontend::UI::MainWindow::redo_act_
QAction * redo_act_
Action to redo last action.
Definition: MainWindow.h:382
+
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::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: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::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:181
@@ -157,15 +158,14 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
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: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:449
-
GpgFrontend::UI::process_operation
void process_operation(QWidget *parent, const std::string &waiting_title, const std::function< void()> &func)
Definition: UserInterfaceUtils.cpp:116
+
GpgFrontend::UI::MainWindow::slot_append_selected_keys
void slot_append_selected_keys()
Definition: MainWindowSlotFunction.cpp:559
GpgFrontend::UI::MainWindow::verify_act_
QAction * verify_act_
Action to verify text.
Definition: MainWindow.h:365
GpgFrontend::UI::AdvancedTab
Definition: SettingsAdvanced.h:35
-
GpgFrontend::UI::CommonUtils::SlotImportKeys
void SlotImportKeys(QWidget *parent, const std::string &in_buffer)
Definition: UserInterfaceUtils.cpp:172
+
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: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:398
-
GpgFrontend::UI::MainWindow::refresh_keys_from_key_server
void refresh_keys_from_key_server()
Definition: MainWindowSlotFunction.cpp:487
+
GpgFrontend::UI::MainWindow::refresh_keys_from_key_server
void refresh_keys_from_key_server()
Definition: MainWindowSlotFunction.cpp:597
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
@@ -180,13 +180,13 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
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:503
+
GpgFrontend::UI::MainWindow::SlotOpenFile
void SlotOpenFile(QString &path)
Definition: MainWindowSlotFunction.cpp:613
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:591
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:42
+
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:425
@@ -199,23 +199,23 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
GpgFrontend::UI::MainWindow::zoom_out_act_
QAction * zoom_out_act_
Action to zoom out.
Definition: MainWindow.h:384
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:475
+
GpgFrontend::UI::MainWindow::slot_show_key_details
void slot_show_key_details()
Definition: MainWindowSlotFunction.cpp:585
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: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:374
+
GpgFrontend::UI::MainWindow::slot_decrypt_verify
void slot_decrypt_verify()
Definition: MainWindowSlotFunction.cpp:481
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:462
+
GpgFrontend::UI::MainWindow::slot_copy_mail_address_to_clipboard
void slot_copy_mail_address_to_clipboard()
Definition: MainWindowSlotFunction.cpp:572
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:352
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:555
-
GpgFrontend::UI::MainWindow::SlotFileSign
void SlotFileSign()
Definition: MainWindowFileSlotFunction.cpp:355
+
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:180
+
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: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:209
@@ -233,13 +233,13 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
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: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:119
+
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::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:196
+
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:66
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
@@ -250,12 +250,12 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
GpgFrontend::UI::MainWindow::find_act_
QAction * find_act_
Action to find text.
Definition: MainWindow.h:380
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:505
+
GpgFrontend::UI::MainWindow::slot_version_upgrade
void slot_version_upgrade(const SoftwareVersion &version)
Definition: MainWindowSlotFunction.cpp:615
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::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:225
+
GpgFrontend::UI::MainWindow::slot_find
void slot_find()
Definition: MainWindowSlotFunction.cpp:327
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:187
@@ -265,13 +265,13 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
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:236
-
GpgFrontend::UI::CommonUtils::SlotImportKeyFromClipboard
void SlotImportKeyFromClipboard(QWidget *parent)
Definition: UserInterfaceUtils.cpp:201
+
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:363
GpgFrontend::UI::MainWindow::special_edit_tool_bar_
QToolBar * special_edit_tool_bar_
Toolbar holding special edit actions.
Definition: MainWindow.h:342
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::SlotFileEncryptSign
void SlotFileEncryptSign()
Definition: MainWindowFileSlotFunction.cpp:551
GpgFrontend::UI::MainWindow::encrypt_act_
QAction * encrypt_act_
Action to encrypt text.
Definition: MainWindow.h:360
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:52
@@ -279,7 +279,7 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
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:96
GpgFrontend::GpgKey::IsDisabled
bool IsDisabled() const
Definition: GpgKey.cpp:146
-
GpgFrontend::UI::MainWindow::SlotFileDecrypt
void SlotFileDecrypt()
Definition: MainWindowFileSlotFunction.cpp:283
+
GpgFrontend::UI::MainWindow::SlotFileDecrypt
void SlotFileDecrypt()
Definition: MainWindowFileSlotFunction.cpp:291
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:148
GpgFrontend::UI::MainWindow::open_settings_act_
QAction * open_settings_act_
Action to open settings dialog.
Definition: MainWindow.h:388
@@ -288,7 +288,7 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
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:135
+
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:499
@@ -296,10 +296,10 @@ $(document).ready(function(){initNavTree('SettingsAdvanced_8h_source.html','');
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:182
+
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:374
-
GpgFrontend::UI::MainWindow::slot_encrypt_sign
void slot_encrypt_sign()
Definition: MainWindowSlotFunction.cpp:275
+
GpgFrontend::UI::MainWindow::slot_encrypt_sign
void slot_encrypt_sign()
Definition: MainWindowSlotFunction.cpp:379
GpgFrontend::Thread::TaskRunner
Definition: TaskRunner.h:39
-
GpgFrontend::Thread::TaskRunner::PostTask
void PostTask(Task *task)
Definition: TaskRunner.cpp:36
+
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:71
-
GpgFrontend::Thread::Task
Definition: Task.h:38
+
GpgFrontend::Thread::Task
Definition: Task.h:43
+
GpgFrontend::Thread::Task::GetUUID
std::string GetUUID() const
Definition: Task.cpp:69
GpgFrontend::Thread::TaskRunner::~TaskRunner
virtual ~TaskRunner() override
Destroy the Task Runner object.
GpgFrontend::Thread::TaskRunner
Definition: TaskRunner.h:39
+
GpgFrontend::Thread::Task::DataObject::free_heap_ptr
void free_heap_ptr(Destructor *)
Definition: Task.cpp:133
+
GpgFrontend::Thread::Task::SetRTN
void SetRTN(int rtn)
Definition: Task.cpp:75
+
GpgFrontend::Thread::Task::DataObject::get_heap_ptr
Destructor * get_heap_ptr(size_t bytes_size)
Get the heap ptr object.
Definition: Task.cpp:113
+
GpgFrontend::Thread::Task::DataObject::~DataObject
~DataObject()
Destroy the Data Object object.
Definition: Task.cpp:119
GpgFrontend::Thread::Task::~Task
virtual ~Task() override
Destroy the Task object.
-
GpgFrontend::Thread::Task::Task
Task()
Construct a new Task object.
Definition: Task.cpp:33
+
GpgFrontend::Thread::Task::DataObject::PopObject
T PopObject()
Definition: Task.h:100
+
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:78
GpgFrontend::Thread
Definition: CtxCheckTask.h:33
-
GpgFrontend::Thread::Task::Run
virtual void Run()
Run - run the task.
Definition: Task.cpp:70
-
GpgFrontend::Thread::Task
Definition: Task.h:38
+
GpgFrontend::Thread::Task::Run
virtual void Run()
Run - run the task.
Definition: Task.cpp:102
+
GpgFrontend::Thread::Task::generate_uuid
static std::string generate_uuid()
Definition: Task.cpp:143
+
GpgFrontend::Thread::Task::DataObject::GetObjectSize
size_t GetObjectSize()
Get the Objects Size.
Definition: Task.cpp:129
+
GpgFrontend::Thread::Task
Definition: Task.h:43
+
GpgFrontend::Thread::Task::SetFinishAfterRun
void SetFinishAfterRun(bool finish_after_run)
Set the Finish After Run object.
Definition: Task.cpp:71
+
GpgFrontend::Thread::Task::GetUUID
std::string GetUUID() const
Definition: Task.cpp:69
+
GpgFrontend::Thread::Task::DataObject::Destructor
Definition: Task.h:59
+
GpgFrontend::Thread::Task::DataObject
DataObject to be passed to the callback function.
Definition: Task.h:57
GpgFrontend::CoreCommonUtil::GetInstance
static CoreCommonUtil * GetInstance()
Construct a new Core Common Util object.
Definition: CoreCommonUtil.cpp:33
@@ -174,19 +177,19 @@ $(document).ready(function(){initNavTree('UserInterfaceUtils_8h_source.html','')
GpgFrontend::UI::WaitingDialog
Definition: WaitingDialog.h:40
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:181
+
GpgFrontend::SingletonFunctionObject< TaskRunnerGetter >::GetInstance
static TaskRunnerGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
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:61
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:116
-
GpgFrontend::UI::CommonUtils::SlotImportKeys
void SlotImportKeys(QWidget *parent, const std::string &in_buffer)
Definition: UserInterfaceUtils.cpp:172
+
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
@@ -195,25 +198,25 @@ $(document).ready(function(){initNavTree('UserInterfaceUtils_8h_source.html','')
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:350
+
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::SingletonFunctionObject< GpgKeyGetter >::GetAllChannelId
static std::vector< int > GetAllChannelId()
Get all the channel ids.
Definition: GpgFunctionObject.h:259
-
GpgFrontend::UI::CommonUtils::SlotImportKeyFromFile
void SlotImportKeyFromFile(QWidget *parent)
Definition: UserInterfaceUtils.cpp:180
-
GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer
void SlotImportKeyFromKeyServer(QWidget *parent)
Definition: UserInterfaceUtils.cpp:196
+
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: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:201
-
GpgFrontend::UI::CommonUtils::CommonUtils
CommonUtils()
Construct a new Common Utils object.
Definition: UserInterfaceUtils.cpp:142
+
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:207
-
GpgFrontend::Thread::Task
Definition: Task.h:38
+
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:43
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:135
+
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
Here are the classes, structs, unions and interfaces with brief descriptions:
-
[detail level 1234]
+
[detail level 12345]
- + + + diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask-members.html b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask-members.html index 458b95d8..cfc2dc96 100644 --- a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask-members.html +++ b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask-members.html @@ -91,22 +91,28 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1Thread_1_1CtxCheck
 NGpgFrontend
 NThread
 NUI
- - - - - + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + +
before_finish_task() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
callback_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
CtxCheckTask()GpgFrontend::Thread::CtxCheckTask
finish_after_run_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
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
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() overrideGpgFrontend::Thread::CtxCheckTaskprotectedvirtual
runnable_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
SetFinishAfterRun(bool finish_after_run) (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprotected
SetRTN(int rtn) (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprotected
SignalGnupgNotInstall() (defined in GpgFrontend::Thread::CtxCheckTask)GpgFrontend::Thread::CtxCheckTasksignal
SignalTaskFinished() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Tasksignal
Task()GpgFrontend::Thread::Task
Task(TaskCallback callback)GpgFrontend::Thread::Task
Task(TaskRunnable runnable, TaskCallback callback=[](int) {})GpgFrontend::Thread::Task
TaskCallback typedef (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Task
TaskRunnable typedef (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Task
run() override (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivatevirtual
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
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 index ef494e5d..20fecc8a 100644 --- a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask.html +++ b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask.html @@ -96,8 +96,8 @@ Inheritance diagram for GpgFrontend::Thread::CtxCheckTask:
Inheritance graph
- - + + @@ -107,10 +107,19 @@ Collaboration diagram for GpgFrontend::Thread::CtxCheckTask:
Collaboration graph
- - - - + + + + + + + + + + + + +
@@ -133,15 +142,17 @@ Public Member Functions - - - - - - + + + + + + + +
 Task ()
 Construct a new Task object. More...
 
 Task (TaskCallback callback)
 Construct a new Task object. More...
 
 Task (TaskRunnable runnable, TaskCallback callback=[](int) {})
 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
 
@@ -149,22 +160,24 @@ Protected Member Functions - + + - +

Protected Member Functions

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

Additional Inherited Members

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

Constructor & Destructor Documentation

diff --git a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.map b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.map index 92e3d751..81983cb1 100644 --- a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.map +++ b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.map @@ -1,6 +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 index 96b7d63e..66190970 100644 --- a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.md5 +++ b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.md5 @@ -1 +1 @@ -a862bb140e7c62611e10a62b2ad6c21b \ No newline at end of file +cd3597d3a0635c422ef7636c2a70d16e \ 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 index 8d8c0b95..86b5510e 100644 Binary files a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__coll__graph.png 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 index 92e3d751..2700d31e 100644 --- a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__inherit__graph.map +++ b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__inherit__graph.map @@ -1,6 +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 index 96b7d63e..cc810e9e 100644 --- a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__inherit__graph.md5 +++ b/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__inherit__graph.md5 @@ -1 +1 @@ -a862bb140e7c62611e10a62b2ad6c21b \ No newline at end of file +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 index 8d8c0b95..12bf1649 100644 Binary files a/docs/html/classGpgFrontend_1_1Thread_1_1CtxCheckTask__inherit__graph.png 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 index 330c2b37..1e0795ab 100644 --- a/docs/html/classGpgFrontend_1_1Thread_1_1Task-members.html +++ b/docs/html/classGpgFrontend_1_1Thread_1_1Task-members.html @@ -91,21 +91,27 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1Thread_1_1Task.htm - - - - + + + + + + + + - - - - - - - - - - + + + + + + + + + + + +
before_finish_task() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
callback_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
finish_after_run_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
init() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
rtn_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
Run()GpgFrontend::Thread::Taskvirtual
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
runnable_ (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprivate
SetFinishAfterRun(bool finish_after_run) (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprotected
SetRTN(int rtn) (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Taskprotected
SignalTaskFinished() (defined in GpgFrontend::Thread::Task)GpgFrontend::Thread::Tasksignal
Task()GpgFrontend::Thread::Task
Task(TaskCallback callback)GpgFrontend::Thread::Task
Task(TaskRunnable runnable, TaskCallback callback=[](int) {})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
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
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 index ceb72d9c..20602179 100644 --- a/docs/html/classGpgFrontend_1_1Thread_1_1Task.html +++ b/docs/html/classGpgFrontend_1_1Thread_1_1Task.html @@ -83,11 +83,13 @@ $(document).ready(function(){initNavTree('classGpgFrontend_1_1Thread_1_1Task.htm
+Classes | Public Types | Signals | Public Member Functions | Protected Member Functions | Private Member Functions | +Static Private Member Functions | Private Attributes | Friends | List of all members
@@ -100,9 +102,9 @@ Inheritance diagram for GpgFrontend::Thread::Task:
Inheritance graph
- - - + + + @@ -112,20 +114,38 @@ Collaboration diagram for GpgFrontend::Thread::Task:
Collaboration graph
- - - + + + + + + + + + + + +
+ + + + +

+Classes

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

Public Types

-using TaskRunnable = std::function< int()>
 
-using TaskCallback = std::function< void(int)>
 
+using DataObjectPtr = std::shared_ptr< DataObject >
 
+using TaskRunnable = std::function< int(DataObjectPtr)>
 
+using TaskCallback = std::function< void(int, DataObjectPtr)>
 
@@ -138,26 +158,27 @@ Public Member Functions - - - - - - + + + + + + + +

Signals

 Task ()
 Construct a new Task object. More...
 
 Task (TaskCallback callback)
 Construct a new Task object. More...
 
 Task (TaskRunnable runnable, TaskCallback callback=[](int) {})
 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)
void SetFinishAfterRun (bool finish_after_run)
 Set the Finish After Run object. More...
 
-void SetRTN (int rtn)
void SetRTN (int rtn)
 
virtual void 

@@ -172,8 +193,16 @@ void 

init ()
run () override
 
+ + + +

+Static Private Member Functions

static std::string generate_uuid ()
 
+ + @@ -186,6 +215,12 @@ bool  + + + +

Private Attributes

+const std::string uuid_
 
TaskCallback callback_
 
finish_after_run_
int rtn_ = 0
 
+QThread * callback_thread_ = nullptr
 
+DataObjectPtr data_object_ = nullptr
 
@@ -220,8 +255,8 @@ Friends - -

◆ Task() [2/3]

+ +

◆ Task() [2/3]

@@ -230,8 +265,18 @@ Friends
- + + + + + + + + + + +

Friends

GpgFrontend::Thread::Task::Task ( TaskCallback callback)callback,
DataObjectPtr data_object = nullptr 
)
@@ -239,15 +284,15 @@ Friends

Construct a new Task object.

Parameters
- +
callbackThe callback function to be executed. callback must not be nullptr, and not tp opreate UI object.
callbackThe callback function to be executed.
- -

◆ Task() [3/3]

+ +

◆ Task() [3/3]

@@ -262,7 +307,13 @@ Friends TaskCallback  - callback = [](int) {}  + callback = [](int, std::shared_ptr<DataObject>) {}, + + + + + DataObjectPtr  + data = nullptr  @@ -310,6 +361,52 @@ Friends

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()

@@ -337,6 +434,74 @@ Friends

Reimplemented in GpgFrontend::Thread::CtxCheckTask, and GpgFrontend::UI::FileReadTask.

+ + + +

◆ 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().

+ +
+
+ +

◆ SetRTN()

+ +
+
+ + + + + +
+ + + + + + + + +
void GpgFrontend::Thread::Task::SetRTN (int rtn)
+
+protected
+
+
Parameters
+ + +
rtn
+
+
+

The documentation for this class was generated from the following files: