diff options
Diffstat (limited to 'certmanager/lib/ui/backendconfigwidget.cpp')
-rw-r--r-- | certmanager/lib/ui/backendconfigwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/certmanager/lib/ui/backendconfigwidget.cpp b/certmanager/lib/ui/backendconfigwidget.cpp index 33582e290..47ca25d40 100644 --- a/certmanager/lib/ui/backendconfigwidget.cpp +++ b/certmanager/lib/ui/backendconfigwidget.cpp @@ -142,8 +142,8 @@ private: // Helper for the constructor. static TQString itemText( const char * protocolName, const CryptoBackend::Protocol* protocol ) { // First one is the generic name (find a nice one for OpenPGP, SMIME) - const TQString protoName = qstricmp( protocolName, "openpgp" ) != 0 - ? qstricmp( protocolName, "smime" ) != 0 + const TQString protoName = tqstricmp( protocolName, "openpgp" ) != 0 + ? tqstricmp( protocolName, "smime" ) != 0 ? TQString::fromLatin1( protocolName ) : i18n( "S/MIME" ) : i18n( "OpenPGP" ); @@ -174,7 +174,7 @@ const Kleo::CryptoBackend* Kleo::BackendListView::chosenBackend( const char * pr for ( TQListViewItemIterator it( this /*, TQListViewItemIterator::Checked doesn't work*/ ) ; it.current() ; ++it ) if ( ProtocolCheckListItem * p = lvi_cast<ProtocolCheckListItem>( it.current() ) ) - if ( p->isOn() && qstricmp( p->protocolName(), protocolName ) == 0 ) { + if ( p->isOn() && tqstricmp( p->protocolName(), protocolName ) == 0 ) { // OK that's the one. Now go up to the parent backend // (need to do that in the listview since Protocol doesn't know it) if ( const BackendListViewItem * parItem = lvi_cast<BackendListViewItem>( it.current()->parent() ) ) @@ -189,7 +189,7 @@ void Kleo::BackendListView::deselectAll( const char * protocolName, TQCheckListI it.current() ; ++it ) { if ( it.current() == except ) continue; if ( ProtocolCheckListItem * p = lvi_cast<ProtocolCheckListItem>( it.current() ) ) - if ( p->isOn() && qstricmp( p->protocolName(), protocolName ) == 0 ) + if ( p->isOn() && tqstricmp( p->protocolName(), protocolName ) == 0 ) p->setOn( false ); } } |