summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/backends/qgpgme/qgpgmebackend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/lib/backends/qgpgme/qgpgmebackend.cpp')
-rw-r--r--certmanager/lib/backends/qgpgme/qgpgmebackend.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/certmanager/lib/backends/qgpgme/qgpgmebackend.cpp b/certmanager/lib/backends/qgpgme/qgpgmebackend.cpp
index 27680585b..3cd30c632 100644
--- a/certmanager/lib/backends/qgpgme/qgpgmebackend.cpp
+++ b/certmanager/lib/backends/qgpgme/qgpgmebackend.cpp
@@ -109,9 +109,9 @@ bool Kleo::QGpgMEBackend::checkForSMIME( TQString * reason ) const {
}
bool Kleo::QGpgMEBackend::checkForProtocol( const char * name, TQString * reason ) const {
- if ( qstricmp( name, OpenPGP ) == 0 )
+ if ( tqstricmp( name, OpenPGP ) == 0 )
return check( GpgME::Context::OpenPGP, reason );
- if ( qstricmp( name, SMIME ) == 0 )
+ if ( tqstricmp( name, SMIME ) == 0 )
return check( GpgME::Context::CMS, reason );
if ( reason )
*reason = i18n( "Unsupported protocol \"%1\"" ).arg( name );
@@ -133,15 +133,15 @@ Kleo::CryptoBackend::Protocol * Kleo::QGpgMEBackend::smime() const {
}
Kleo::CryptoBackend::Protocol * Kleo::QGpgMEBackend::protocol( const char * name ) const {
- if ( qstricmp( name, OpenPGP ) == 0 )
+ if ( tqstricmp( name, OpenPGP ) == 0 )
return openpgp();
- if ( qstricmp( name, SMIME ) == 0 )
+ if ( tqstricmp( name, SMIME ) == 0 )
return smime();
return 0;
}
bool Kleo::QGpgMEBackend::supportsProtocol( const char * name ) const {
- return qstricmp( name, OpenPGP ) == 0 || qstricmp( name, SMIME ) == 0;
+ return tqstricmp( name, OpenPGP ) == 0 || tqstricmp( name, SMIME ) == 0;
}
const char * Kleo::QGpgMEBackend::enumerateProtocols( int i ) const {