diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:35:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:35:40 -0600 |
commit | 17e2ed52dbf8fac39a04331da02b9572e9e2e304 (patch) | |
tree | cd0d57c975a55e05aac71794b363748f24625875 /certmanager/lib/backends | |
parent | a684ecdeceae222d5aa930478b7bf59a3b7cae7f (diff) | |
download | tdepim-17e2ed52dbf8fac39a04331da02b9572e9e2e304.tar.gz tdepim-17e2ed52dbf8fac39a04331da02b9572e9e2e304.zip |
Rename additional global TQt functions
Diffstat (limited to 'certmanager/lib/backends')
-rw-r--r-- | certmanager/lib/backends/chiasmus/chiasmusbackend.cpp | 12 | ||||
-rw-r--r-- | certmanager/lib/backends/qgpgme/qgpgmebackend.cpp | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/certmanager/lib/backends/chiasmus/chiasmusbackend.cpp b/certmanager/lib/backends/chiasmus/chiasmusbackend.cpp index e47909e28..b3e751400 100644 --- a/certmanager/lib/backends/chiasmus/chiasmusbackend.cpp +++ b/certmanager/lib/backends/chiasmus/chiasmusbackend.cpp @@ -378,11 +378,11 @@ public: RefreshKeysJob * refreshKeysJob() const { return 0; } SpecialJob * specialJob( const char * type, const TQMap<TQString,TQVariant> & args ) const { - if ( qstricmp( type, "x-obtain-keys" ) == 0 && args.size() == 0 ) + if ( tqstricmp( type, "x-obtain-keys" ) == 0 && args.size() == 0 ) return new ObtainKeysJob(); - if ( qstricmp( type, "x-encrypt" ) == 0 && args.size() == 0 ) + if ( tqstricmp( type, "x-encrypt" ) == 0 && args.size() == 0 ) return new ChiasmusJob( ChiasmusJob::Encrypt ); - if ( qstricmp( type, "x-decrypt" ) == 0 && args.size() == 0 ) + if ( tqstricmp( type, "x-decrypt" ) == 0 && args.size() == 0 ) return new ChiasmusJob( ChiasmusJob::Decrypt ); kdDebug(5150) << "ChiasmusBackend::Protocol: tried to instantiate unknown job type \"" << type << "\"" << endl; @@ -422,7 +422,7 @@ Kleo::CryptoConfig * Kleo::ChiasmusBackend::config() const { } Kleo::CryptoBackend::Protocol * Kleo::ChiasmusBackend::protocol( const char * name ) const { - if ( qstricmp( name, "Chiasmus" ) != 0 ) + if ( tqstricmp( name, "Chiasmus" ) != 0 ) return 0; if ( !mProtocol ) if ( checkForChiasmus() ) @@ -464,7 +464,7 @@ bool Kleo::ChiasmusBackend::checkForChiasmus( TQString * reason ) const { } bool Kleo::ChiasmusBackend::checkForProtocol( const char * name, TQString * reason ) const { - if ( qstricmp( name, "Chiasmus" ) == 0 ) + if ( tqstricmp( name, "Chiasmus" ) == 0 ) return checkForChiasmus( reason ); if ( reason ) *reason = i18n( "Unsupported protocol \"%1\"" ).arg( name ); @@ -472,7 +472,7 @@ bool Kleo::ChiasmusBackend::checkForProtocol( const char * name, TQString * reas } bool Kleo::ChiasmusBackend::supportsProtocol( const char * name ) const { - return qstricmp( name, "Chiasmus" ) == 0; + return tqstricmp( name, "Chiasmus" ) == 0; } const char * Kleo::ChiasmusBackend::enumerateProtocols( int i ) const { 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 { |