summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/cryptplugwrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/lib/cryptplugwrapper.cpp')
-rw-r--r--certmanager/lib/cryptplugwrapper.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/certmanager/lib/cryptplugwrapper.cpp b/certmanager/lib/cryptplugwrapper.cpp
index 1d35f1c1b..4ffc59c91 100644
--- a/certmanager/lib/cryptplugwrapper.cpp
+++ b/certmanager/lib/cryptplugwrapper.cpp
@@ -468,9 +468,9 @@ TQString CryptPlugWrapper::libName() const
TQString CryptPlugWrapper::protocol() const
{
- if ( _libName.tqcontains( "smime" ) )
+ if ( _libName.contains( "smime" ) )
return "SMIME";
- if ( _libName.tqcontains( "openpgp" ) )
+ if ( _libName.contains( "openpgp" ) )
return "OpenPGP";
return TQString();
}
@@ -485,9 +485,9 @@ TQString CryptPlugWrapper::displayName() const
{
if ( !_name.isEmpty() )
return _name;
- if ( _libName.tqcontains( "smime" ) )
+ if ( _libName.contains( "smime" ) )
return "gpgsm";
- if ( _libName.tqcontains( "openpgp" ) )
+ if ( _libName.contains( "openpgp" ) )
return "gpg";
return i18n("(Unknown Protocol)");
}
@@ -503,10 +503,10 @@ bool CryptPlugWrapper::initialize( InitqStatus* initqStatus, TQString* errorMsg
_initqStatus = IniStatus_NoLibName;
kdDebug(5150) << "No library name was given.\n" << endl;
} else {
- if ( _libName.tqcontains( "smime" ) ) {
+ if ( _libName.contains( "smime" ) ) {
_cp = new SMIMECryptPlug();
_config = new Config( GPGME_PROTOCOL_CMS );
- } else if ( _libName.tqcontains( "openpgp" ) ) {
+ } else if ( _libName.contains( "openpgp" ) ) {
_cp = new OpenPGPCryptPlug();
_config = new Config( GPGME_PROTOCOL_OpenPGP );
} else {