diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /certmanager/lib/kleo/signjob.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'certmanager/lib/kleo/signjob.h')
-rw-r--r-- | certmanager/lib/kleo/signjob.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/certmanager/lib/kleo/signjob.h b/certmanager/lib/kleo/signjob.h index 17ea3d947..677aedcf0 100644 --- a/certmanager/lib/kleo/signjob.h +++ b/certmanager/lib/kleo/signjob.h @@ -36,7 +36,7 @@ #include <gpgmepp/context.h> // for Context::SignatureMode (or should // we roll our own enum here?) #include "job.h" -#include <qcstring.h> +#include <tqcstring.h> #include <vector> @@ -57,15 +57,15 @@ namespace Kleo { suitable slots and then start the signing with a call to start(). This call might fail, in which case the SignJob instance will have scheduled it's own destruction with a call to - QObject::deleteLater(). + TQObject::deleteLater(). After result() is emitted, the SignJob will schedule it's own - destruction by calling QObject::deleteLater(). + destruction by calling TQObject::deleteLater(). */ class SignJob : public Job { Q_OBJECT protected: - SignJob( QObject * parent, const char * name ); + SignJob( TQObject * parent, const char * name ); public: ~SignJob(); @@ -74,15 +74,15 @@ namespace Kleo { sign \a plainText with. Empty (null) keys are ignored. */ virtual GpgME::Error start( const std::vector<GpgME::Key> & signers, - const QByteArray & plainText, + const TQByteArray & plainText, GpgME::Context::SignatureMode mode ) = 0; virtual GpgME::SigningResult exec( const std::vector<GpgME::Key> & signers, - const QByteArray & plainText, + const TQByteArray & plainText, GpgME::Context::SignatureMode mode, - QByteArray & signature ) = 0; + TQByteArray & signature ) = 0; signals: - void result( const GpgME::SigningResult & result, const QByteArray & signature ); + void result( const GpgME::SigningResult & result, const TQByteArray & signature ); }; } |