GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
SignalStation.h
1 
29 #ifndef GPGFRONTEND_SIGNALSTATION_H
30 #define GPGFRONTEND_SIGNALSTATION_H
31 
32 #include "ui/GpgFrontendUI.h"
33 #include "ui/widgets/InfoBoardWidget.h"
34 
35 namespace GpgFrontend::UI {
36 
41 class SignalStation : public QObject {
42  Q_OBJECT
43  static std::unique_ptr<SignalStation> _instance;
44 
45  public:
51  static SignalStation* GetInstance();
52 
53  signals:
58  void SignalKeyDatabaseRefresh();
59 
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::MainWindow::slot_verify
void slot_verify()
Definition: MainWindowSlotFunction.cpp:323
GpgFrontend::UI::MainWindow::quote_act_
QAction * quote_act_
Action to quote text.
Definition: MainWindow.h:378
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:653
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:205
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:384
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: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:361
GpgFrontend::UI::MainWindow::cut_pgp_header_act_
QAction * cut_pgp_header_act_
Action for cutting the PGP header.
Definition: MainWindow.h:393
GpgFrontend::UI::MainWindow::create_actions
void create_actions()
Definition: MainWindowUI.cpp:34
GpgFrontend::UI::MainWindow::SlotFileDecryptVerify
void SlotFileDecryptVerify()
Definition: MainWindowFileSlotFunction.cpp:682
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:356
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:345
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:333
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: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:328
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:366
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:606
GpgFrontend::UI::MainWindow::verify_act_
QAction * verify_act_
Action to verify text.
Definition: MainWindow.h:367
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:387
GpgFrontend::UI::MainWindow::file_tool_bar_
QToolBar * file_tool_bar_
Toolbar holding file actions.
Definition: MainWindow.h:341
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:644
GpgFrontend::UI::MainWindow::zoom_in_act_
QAction * zoom_in_act_
Action to zoom in.
Definition: MainWindow.h:385
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:379
GpgFrontend::UI::SettingsDialog
Definition: SettingsDialog.h:47
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: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:374
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:181
GpgFrontend::UI::MainWindow::switch_tab_up_act_
QAction * switch_tab_up_act_
Action to switch tab up.
Definition: MainWindow.h:353
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:660
GpgFrontend::UI::MainWindow::open_act_
QAction * open_act_
Action to open file.
Definition: MainWindow.h:355
GpgFrontend::UI::MainWindow::import_key_menu_
QMenu * import_key_menu_
Submenu for import operations.
Definition: MainWindow.h:334
GpgFrontend::UI::MainWindow::encrypt_sign_act_
QAction * encrypt_sign_act_
Action to encrypt and sign text.
Definition: MainWindow.h:363
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:380
GpgFrontend::UI::MainWindow::slot_encrypt
void slot_encrypt()
Definition: MainWindowSlotFunction.cpp:47
GpgFrontend::UI::KeyMgmt
Definition: KeyMgmt.h:46
GpgFrontend::GpgVerifyResultAnalyse
Definition: GpgVerifyResultAnalyse.h:40
GpgFrontend::UI::TextEdit::SlotFillTextEditWithText
void SlotFillTextEditWithText(const QString &text) const
Definition: TextEdit.cpp:425
GpgFrontend::UI::KeyServerImportDialog
Definition: KeyServerImportDialog.h:46
GpgFrontend::UI::MainWindow::crypt_tool_bar_
QToolBar * crypt_tool_bar_
Toolbar holding crypt actions.
Definition: MainWindow.h:340
GpgFrontend::UI::MainWindow::steganography_menu_
QMenu * steganography_menu_
Submenu for steganography operations.
Definition: MainWindow.h:339
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:386
GpgFrontend::UI::KeyDetailsDialog
Definition: KeyDetailsDialog.h:38
GpgFrontend::UI::MainWindow::key_list_dock_
QDockWidget * key_list_dock_
Encrypt Dock.
Definition: MainWindow.h:348
GpgFrontend::UI::MainWindow::slot_show_key_details
void slot_show_key_details()
Definition: MainWindowSlotFunction.cpp:632
GpgFrontend::UI::MainWindow::print_act_
QAction * print_act_
Action to print.
Definition: MainWindow.h:359
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:87
GpgFrontend::UI::MainWindow::slot_decrypt_verify
void slot_decrypt_verify()
Definition: MainWindowSlotFunction.cpp:513
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:619
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:354
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: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:373
GpgFrontend::UI::MainWindow::check_update_act_
QAction * check_update_act_
Action to open about dialog.
Definition: MainWindow.h:388
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: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:383
GpgFrontend::GpgKey::IsPrivateKey
bool IsPrivateKey() const
Definition: GpgKey.cpp:138
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::UI::InfoBoardStatus
InfoBoardStatus
Definition: InfoBoardWidget.h:43
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:81
GpgFrontend::UI::MainWindow::start_wizard_act_
QAction * start_wizard_act_
Action to open the wizard.
Definition: MainWindow.h:392
GpgFrontend::UI::MainWindow::add_pgp_header_act_
QAction * add_pgp_header_act_
Action for adding the PGP header.
Definition: MainWindow.h:394
GpgFrontend::UI::MainWindow::slot_sign
void slot_sign()
Definition: MainWindowSlotFunction.cpp:169
GpgFrontend::UI::AboutDialog
Class for handling the about dialog.
Definition: AboutDialog.h:120
GpgFrontend::UI::MainWindow::save_as_act_
QAction * save_as_act_
Action to save file as.
Definition: MainWindow.h:358
GpgFrontend::UI::MainWindow::import_button_
QToolButton * import_button_
Tool button for import dropdown menu in toolbar.
Definition: MainWindow.h:347
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: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: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:382
GpgFrontend::GpgKey::IsExpired
bool IsExpired() const
Definition: GpgKey.cpp:140
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:662
GpgFrontend::UI::SignalStation::SignalRefreshInfoBoard
void SignalRefreshInfoBoard(const QString &text, InfoBoardStatus verify_label_status)
GpgFrontend::UI::MainWindow::decrypt_verify_act_
QAction * decrypt_verify_act_
Action to encrypt and sign text.
Definition: MainWindow.h:364
GpgFrontend::UI::MainWindow::clean_double_line_breaks_act_
QAction * clean_double_line_breaks_act_
Definition: MainWindow.h:369
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:377
GpgFrontend::UI::MainWindow::slot_find
void slot_find()
Definition: MainWindowSlotFunction.cpp:591
GpgFrontend::UI::SignalStation
Definition: SignalStation.h:41
GpgFrontend::UI::MainWindow::key_menu_
QMenu * key_menu_
Submenu for key-operations.
Definition: MainWindow.h:332
GpgFrontend::UI::MainWindow::import_key_from_edit_act_
QAction * import_key_from_edit_act_
Action to import key from edit.
Definition: MainWindow.h:368
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:390
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:381
GpgFrontend::UI::MainWindow::crypt_menu_
QMenu * crypt_menu_
Submenu for crypt-operations.
Definition: MainWindow.h:330
GpgFrontend::UI::MainWindow::edit_menu_
QMenu * edit_menu_
Submenu for text-operations.
Definition: MainWindow.h:329
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:365
GpgFrontend::UI::MainWindow::special_edit_tool_bar_
QToolBar * special_edit_tool_bar_
Toolbar holding special edit actions.
Definition: MainWindow.h:344
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:142
GpgFrontend::UI::TextEdit::SlotNewTab
void SlotNewTab()
Definition: TextEdit.cpp:54
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:362
GpgFrontend::UI::KeyUploadDialog
Definition: KeyUploadDialog.h:42
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:389
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:144
GpgFrontend::UI::MainWindow::SlotFileDecrypt
void SlotFileDecrypt()
Definition: MainWindowFileSlotFunction.cpp:291
GpgFrontend::UI::MainWindow::edit_
TextEdit * edit_
Tabwidget holding the edit-windows.
Definition: MainWindow.h:327
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:390
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:352
GpgFrontend::UI::MainWindow::help_menu_
QMenu * help_menu_
Submenu for help-operations.
Definition: MainWindow.h:331
GpgFrontend::UI::MainWindow::save_act_
QAction * save_act_
Action to save file.
Definition: MainWindow.h:357
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:342
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:391
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:360
GpgFrontend::GpgKey
Definition: GpgKey.h:41
GpgFrontend::UI::MainWindow::slot_decrypt
void slot_decrypt()
Definition: MainWindowSlotFunction.cpp:255
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:376
GpgFrontend::UI::MainWindow::slot_encrypt_sign
void slot_encrypt_sign()
Definition: MainWindowSlotFunction.cpp:390