|
using | ImportCallbackFunctiopn = std::function< void(const QString &, const QString &, size_t, size_t)> |
|
|
void | SignalKeyStatusUpdated () |
|
void | SignalBadGnupgEnv (QString) |
|
void | SignalKeyDatabaseRefreshDone () |
| emit when the key database is refreshed
|
|
void | SignalRestartApplication (int) |
|
|
| CommonUtils () |
| Construct a new Common Utils object.
|
|
bool | isApplicationNeedRestart () |
|
bool | KeyExistsinFavouriteList (const GpgKey &key) |
|
void | AddKey2Favourtie (const GpgKey &key) |
|
void | RemoveKeyFromFavourite (const GpgKey &key) |
|
void | ImportKeyFromKeyServer (const KeyIdArgsList &) |
|
|
bool | application_need_to_restart_at_once_ = false |
|
|
static std::unique_ptr< CommonUtils > | instance_ = nullptr |
|
◆ GetInstance()
auto GpgFrontend::UI::CommonUtils::GetInstance |
( |
| ) |
|
|
static |
◆ RaiseFailureMessageBox()
void GpgFrontend::UI::CommonUtils::RaiseFailureMessageBox |
( |
QWidget * |
parent, |
|
|
GpgError |
err |
|
) |
| |
|
static |
◆ RaiseMessageBox()
void GpgFrontend::UI::CommonUtils::RaiseMessageBox |
( |
QWidget * |
parent, |
|
|
GpgError |
err |
|
) |
| |
|
static |
◆ SlotExecuteCommand
void GpgFrontend::UI::CommonUtils::SlotExecuteCommand |
( |
const QString & |
cmd, |
|
|
const QStringList & |
arguments, |
|
|
const std::function< void(QProcess *)> & |
interact_func |
|
) |
| |
|
slot |
◆ SlotExecuteGpgCommand
void GpgFrontend::UI::CommonUtils::SlotExecuteGpgCommand |
( |
const QStringList & |
arguments, |
|
|
const std::function< void(QProcess *)> & |
interact_func |
|
) |
| |
|
slot |
◆ SlotImportKeyFromClipboard
void GpgFrontend::UI::CommonUtils::SlotImportKeyFromClipboard |
( |
QWidget * |
parent | ) |
|
|
slot |
◆ SlotImportKeyFromFile
void GpgFrontend::UI::CommonUtils::SlotImportKeyFromFile |
( |
QWidget * |
parent | ) |
|
|
slot |
◆ SlotImportKeyFromKeyServer [1/2]
void GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer |
( |
const GpgFrontend::KeyIdArgsList & |
key_ids, |
|
|
const GpgFrontend::UI::CommonUtils::ImportCallbackFunctiopn & |
callback |
|
) |
| |
|
staticslot |
◆ SlotImportKeyFromKeyServer [2/2]
void GpgFrontend::UI::CommonUtils::SlotImportKeyFromKeyServer |
( |
QWidget * |
parent | ) |
|
|
slot |
◆ SlotImportKeys
void GpgFrontend::UI::CommonUtils::SlotImportKeys |
( |
QWidget * |
parent, |
|
|
const QString & |
in_buffer |
|
) |
| |
|
slot |
◆ WaitForOpera()
void GpgFrontend::UI::CommonUtils::WaitForOpera |
( |
QWidget * |
parent, |
|
|
const QString & |
waiting_dialog_title, |
|
|
const OperaWaitingCb & |
opera |
|
) |
| |
|
static |
- Parameters
-
Referenced by GpgFrontend::UI::KeyGenDialog::slot_key_gen_accept(), GpgFrontend::UI::SubkeyGenerateDialog::slot_key_gen_accept(), GpgFrontend::UI::MainWindow::SlotArchiveDecrypt(), GpgFrontend::UI::MainWindow::SlotArchiveDecryptVerify(), GpgFrontend::UI::MainWindow::SlotDecrypt(), GpgFrontend::UI::MainWindow::SlotDecryptVerify(), GpgFrontend::UI::MainWindow::SlotDirectoryEncryptSign(), GpgFrontend::UI::MainWindow::SlotEncrypt(), GpgFrontend::UI::MainWindow::SlotEncryptSign(), GpgFrontend::UI::MainWindow::SlotFileDecrypt(), GpgFrontend::UI::MainWindow::SlotFileDecryptVerify(), GpgFrontend::UI::MainWindow::SlotFileEncrypt(), GpgFrontend::UI::MainWindow::SlotFileEncryptSign(), GpgFrontend::UI::MainWindow::SlotFileSign(), GpgFrontend::UI::MainWindow::SlotFileVerify(), GpgFrontend::UI::MainWindow::SlotSign(), and GpgFrontend::UI::MainWindow::SlotVerify().
The documentation for this class was generated from the following files: