summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/backends/kpgp/kpgpkeylistjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/lib/backends/kpgp/kpgpkeylistjob.cpp')
-rw-r--r--certmanager/lib/backends/kpgp/kpgpkeylistjob.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/certmanager/lib/backends/kpgp/kpgpkeylistjob.cpp b/certmanager/lib/backends/kpgp/kpgpkeylistjob.cpp
index 4c328adee..2e69f9392 100644
--- a/certmanager/lib/backends/kpgp/kpgpkeylistjob.cpp
+++ b/certmanager/lib/backends/kpgp/kpgpkeylistjob.cpp
@@ -44,7 +44,7 @@
#include <gpgme.h>
-#include <qtimer.h>
+#include <tqtimer.h>
#include <stdlib.h>
#include <string.h>
@@ -169,7 +169,7 @@ gpgme_user_id_t KpgpUserID2GPGMEUserID( const Kpgp::UserID * kUserId )
{
// inspired by _gpgme_key_append_name
- const QCString text = kUserId->text().utf8();
+ const TQCString text = kUserId->text().utf8();
const int src_len = text.length();
gpgme_user_id_t uid;
@@ -196,9 +196,9 @@ gpgme_subkey_t KpgpSubkey2GPGMESubKey( const Kpgp::Subkey * kSubkey )
{
gpgme_subkey_t subkey;
- const QCString fpr = kSubkey->fingerprint();
+ const TQCString fpr = kSubkey->fingerprint();
const unsigned int fpr_len = fpr.length();
- const QCString keyId = kSubkey->longKeyID();
+ const TQCString keyId = kSubkey->longKeyID();
subkey = (gpgme_subkey_t) calloc( 1, sizeof( *subkey ) + fpr_len + 1 );
subkey->revoked = kSubkey->revoked();
@@ -260,11 +260,11 @@ gpgme_key_t KpgpKey2gpgme_key( const Kpgp::Key * kKey )
return key;
}
-GpgME::Error Kleo::KpgpKeyListJob::start( const QStringList & patterns,
+GpgME::Error Kleo::KpgpKeyListJob::start( const TQStringList & patterns,
bool secretOnly ) {
mPatterns = patterns;
mSecretOnly = secretOnly;
- QTimer::singleShot( 0, this, SLOT( slotDoIt() ) );
+ TQTimer::singleShot( 0, this, TQT_SLOT( slotDoIt() ) );
return GpgME::Error( 0 );
}
@@ -279,7 +279,7 @@ void Kleo::KpgpKeyListJob::slotDoIt() {
deleteLater();
}
-GpgME::KeyListResult Kleo::KpgpKeyListJob::exec( const QStringList & patterns,
+GpgME::KeyListResult Kleo::KpgpKeyListJob::exec( const TQStringList & patterns,
bool secretOnly,
std::vector<GpgME::Key> & keys ) {
Kpgp::KeyList kKeys;