summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/backends/qgpgme/qgpgmekeylistjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/lib/backends/qgpgme/qgpgmekeylistjob.cpp')
-rw-r--r--certmanager/lib/backends/qgpgme/qgpgmekeylistjob.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/certmanager/lib/backends/qgpgme/qgpgmekeylistjob.cpp b/certmanager/lib/backends/qgpgme/qgpgmekeylistjob.cpp
index 9c87e3ef6..9e663e92d 100644
--- a/certmanager/lib/backends/qgpgme/qgpgmekeylistjob.cpp
+++ b/certmanager/lib/backends/qgpgme/qgpgmekeylistjob.cpp
@@ -47,7 +47,7 @@
#include <klocale.h>
#include <kdebug.h>
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <algorithm>
@@ -66,20 +66,20 @@ Kleo::QGpgMEKeyListJob::QGpgMEKeyListJob( GpgME::Context * context )
Kleo::QGpgMEKeyListJob::~QGpgMEKeyListJob() {
}
-void Kleo::QGpgMEKeyListJob::setup( const QStringList & pats, bool secretOnly ) {
+void Kleo::QGpgMEKeyListJob::setup( const TQStringList & pats, bool secretOnly ) {
assert( !patterns() );
mSecretOnly = secretOnly;
setPatterns( pats );
}
-GpgME::Error Kleo::QGpgMEKeyListJob::start( const QStringList & pats, bool secretOnly ) {
+GpgME::Error Kleo::QGpgMEKeyListJob::start( const TQStringList & pats, bool secretOnly ) {
setup( pats, secretOnly );
hookupContextToEventLoopInteractor();
connect( QGpgME::EventLoopInteractor::instance(),
- SIGNAL(nextKeyEventSignal(GpgME::Context*,const GpgME::Key&)),
- SLOT(slotNextKeyEvent(GpgME::Context*,const GpgME::Key&)) );
+ TQT_SIGNAL(nextKeyEventSignal(GpgME::Context*,const GpgME::Key&)),
+ TQT_SLOT(slotNextKeyEvent(GpgME::Context*,const GpgME::Key&)) );
// The communication channel between gpgme and gpgsm is limited in
// the number of patterns that can be transported, but they won't
@@ -106,7 +106,7 @@ GpgME::Error Kleo::QGpgMEKeyListJob::start( const QStringList & pats, bool secre
return 0;
}
-GpgME::KeyListResult Kleo::QGpgMEKeyListJob::exec( const QStringList & pats, bool secretOnly, std::vector<GpgME::Key> & keys ) {
+GpgME::KeyListResult Kleo::QGpgMEKeyListJob::exec( const TQStringList & pats, bool secretOnly, std::vector<GpgME::Key> & keys ) {
setup( pats, secretOnly );
// The communication channel between gpgme and gpgsm is limited in
@@ -174,13 +174,13 @@ void Kleo::QGpgMEKeyListJob::slotOperationDoneEvent( GpgME::Context * context, c
deleteLater();
}
-void Kleo::QGpgMEKeyListJob::showErrorDialog( QWidget * parent, const QString & caption ) const {
+void Kleo::QGpgMEKeyListJob::showErrorDialog( TQWidget * parent, const TQString & caption ) const {
if ( !mResult.error() || mResult.error().isCanceled() )
return;
- const QString msg = i18n( "<qt><p>An error occurred while fetching "
+ const TQString msg = i18n( "<qt><p>An error occurred while fetching "
"the keys from the backend:</p>"
"<p><b>%1</b></p></qt>" )
- .arg( QString::fromLocal8Bit( mResult.error().asString() ) );
+ .arg( TQString::fromLocal8Bit( mResult.error().asString() ) );
KMessageBox::error( parent, msg, caption );
}