diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2009-09-13 17:00:05 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2009-09-13 17:00:05 +0000 |
commit | a50ece2918992b91134bb03b26595d35c1f2db92 (patch) | |
tree | 148a55752eb137f654bf6f6e174f86edcb7767b0 /keygenthread.cpp | |
parent | add scripts, structure and readme for crosscompiling for win & lin32, partial... (diff) | |
download | gpg4usb-a50ece2918992b91134bb03b26595d35c1f2db92.tar.gz gpg4usb-a50ece2918992b91134bb03b26595d35c1f2db92.zip |
put keygeneration to own thread for GUI responsibility
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@212 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keygenthread.cpp')
-rw-r--r-- | keygenthread.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/keygenthread.cpp b/keygenthread.cpp new file mode 100644 index 0000000..9fc6a5a --- /dev/null +++ b/keygenthread.cpp @@ -0,0 +1,20 @@ +#include "keygenthread.h" + + +KeyGenThread::KeyGenThread(QString keyGenParams, GpgME::Context *ctx) +{ + qDebug() << keyGenParams; + this->keyGenParams=keyGenParams; + this->ctx=ctx; + abort=false; +} + +void KeyGenThread::run() +{ + qDebug() << keyGenParams; + qDebug("hallo2"); + ctx->generateKey(&keyGenParams); + + qDebug("hallo323"); + +} |