aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/UserInterfaceUtils.h
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2022-05-17 19:17:07 +0000
committerGitHub <[email protected]>2022-05-17 19:17:07 +0000
commita03266788afc01ca972d0e300f5abed8905bcbc4 (patch)
treee75406d91105b66f310192988330f9739725ec47 /src/ui/UserInterfaceUtils.h
parentMerge pull request #62 from saturneric/develop-2.0.8 (diff)
parentdoc: update manual (diff)
downloadGpgFrontend-a03266788afc01ca972d0e300f5abed8905bcbc4.tar.gz
GpgFrontend-a03266788afc01ca972d0e300f5abed8905bcbc4.zip
Merge pull request #65 from saturneric/develop-2.0.8
Develop 2.0.8.1
Diffstat (limited to 'src/ui/UserInterfaceUtils.h')
-rw-r--r--src/ui/UserInterfaceUtils.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ui/UserInterfaceUtils.h b/src/ui/UserInterfaceUtils.h
index 85ef012b..bfd8a3ae 100644
--- a/src/ui/UserInterfaceUtils.h
+++ b/src/ui/UserInterfaceUtils.h
@@ -101,8 +101,11 @@ void process_result_analyse(TextEdit* edit, InfoBoardWidget* info_board,
* @param waiting_title
* @param func
*/
-void process_operation(QWidget* parent, const std::string& waiting_title,
- const std::function<void()>& func);
+void process_operation(
+ QWidget* parent, const std::string& waiting_title,
+ GpgFrontend::Thread::Task::TaskRunnable func,
+ GpgFrontend::Thread::Task::TaskCallback callback = nullptr,
+ Thread::Task::DataObjectPtr data_object = nullptr);
/**
* @brief