summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/kleo/hierarchicalkeylistjob.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /certmanager/lib/kleo/hierarchicalkeylistjob.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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/hierarchicalkeylistjob.cpp')
-rw-r--r--certmanager/lib/kleo/hierarchicalkeylistjob.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/certmanager/lib/kleo/hierarchicalkeylistjob.cpp b/certmanager/lib/kleo/hierarchicalkeylistjob.cpp
index a7a66b2fe..c9a9ffcec 100644
--- a/certmanager/lib/kleo/hierarchicalkeylistjob.cpp
+++ b/certmanager/lib/kleo/hierarchicalkeylistjob.cpp
@@ -40,8 +40,8 @@
#include <klocale.h>
-#include <qstringlist.h>
-#include <qtl.h>
+#include <tqstringlist.h>
+#include <tqtl.h>
#include <gpgmepp/key.h>
#include <gpgmepp/context.h>
@@ -72,7 +72,7 @@ Kleo::HierarchicalKeyListJob::~HierarchicalKeyListJob() {
}
-GpgME::Error Kleo::HierarchicalKeyListJob::start( const QStringList & patterns, bool secretOnly ) {
+GpgME::Error Kleo::HierarchicalKeyListJob::start( const TQStringList & patterns, bool secretOnly ) {
if ( secretOnly || patterns.empty() )
return gpg_err_make( GPG_ERR_SOURCE_GPGME, GPG_ERR_UNSUPPORTED_OPERATION );
qCopy( patterns.begin(), patterns.end(),
@@ -83,7 +83,7 @@ GpgME::Error Kleo::HierarchicalKeyListJob::start( const QStringList & patterns,
return err;
}
-GpgME::KeyListResult Kleo::HierarchicalKeyListJob::exec( const QStringList &, bool,
+GpgME::KeyListResult Kleo::HierarchicalKeyListJob::exec( const TQStringList &, bool,
std::vector<GpgME::Key> & keys ) {
keys.clear();
return GpgME::KeyListResult( gpg_err_make( GPG_ERR_SOURCE_GPGME, GPG_ERR_UNSUPPORTED_OPERATION ) );
@@ -107,7 +107,7 @@ void Kleo::HierarchicalKeyListJob::slotCancel() {
void Kleo::HierarchicalKeyListJob::slotResult( const GpgME::KeyListResult & res ) {
mJob = 0;
mIntermediateResult.mergeWith( res );
- std::set<QString> tmp;
+ std::set<TQString> tmp;
std::set_difference( mNextSet.begin(), mNextSet.end(),
mScheduledSet.begin(), mScheduledSet.end(),
std::inserter( tmp, tmp.begin() ) );
@@ -142,11 +142,11 @@ GpgME::Error Kleo::HierarchicalKeyListJob::startAJob() {
assert( mJob ); // FIXME: we need a way to generate errors ourselves,
// but I don't like the dependency on gpg-error :/
- connect( mJob, SIGNAL(nextKey(const GpgME::Key&)), SLOT(slotNextKey(const GpgME::Key&)) );
- connect( mJob, SIGNAL(result(const GpgME::KeyListResult&)), SLOT(slotResult(const GpgME::KeyListResult&)) );
+ connect( mJob, TQT_SIGNAL(nextKey(const GpgME::Key&)), TQT_SLOT(slotNextKey(const GpgME::Key&)) );
+ connect( mJob, TQT_SIGNAL(result(const GpgME::KeyListResult&)), TQT_SLOT(slotResult(const GpgME::KeyListResult&)) );
- QStringList patterns;
- for ( std::set<QString>::const_iterator it = mNextSet.begin() ; it != mNextSet.end() ; ++it )
+ TQStringList patterns;
+ for ( std::set<TQString>::const_iterator it = mNextSet.begin() ; it != mNextSet.end() ; ++it )
patterns.push_back( *it );
mScheduledSet.insert( mNextSet.begin(), mNextSet.end() );