aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/thread/KeyServerImportTask.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-12 06:02:37 +0000
committersaturneric <[email protected]>2024-01-12 06:02:37 +0000
commitbf538056b24a68b8fd235b1c50991ee8eb46a776 (patch)
treee1bab54095b80df62b321fb5bd69453f9f951b05 /src/ui/thread/KeyServerImportTask.h
parentfeat: improve api and ui of keys import and export (diff)
downloadGpgFrontend-bf538056b24a68b8fd235b1c50991ee8eb46a776.tar.gz
GpgFrontend-bf538056b24a68b8fd235b1c50991ee8eb46a776.zip
refactor: use QString instead of std::string and improve threading system
Diffstat (limited to 'src/ui/thread/KeyServerImportTask.h')
-rw-r--r--src/ui/thread/KeyServerImportTask.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/thread/KeyServerImportTask.h b/src/ui/thread/KeyServerImportTask.h
index 5416ca1a..c03283c9 100644
--- a/src/ui/thread/KeyServerImportTask.h
+++ b/src/ui/thread/KeyServerImportTask.h
@@ -48,8 +48,7 @@ class KeyServerImportTask : public Thread::Task {
* @param keyserver_url
* @param search_string
*/
- KeyServerImportTask(std::string keyserver_url,
- std::vector<std::string> keyid);
+ KeyServerImportTask(QString keyserver_url, std::vector<QString> keyid);
/**
* @brief
@@ -76,8 +75,8 @@ class KeyServerImportTask : public Thread::Task {
void dealing_reply_from_server();
private:
- std::string keyserver_url_; ///<
- std::vector<std::string> keyids_; ///<
+ QString keyserver_url_; ///<
+ std::vector<QString> keyids_; ///<
int result_count_ = 0;
QNetworkAccessManager *manager_; ///<