From 17e2ed52dbf8fac39a04331da02b9572e9e2e304 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:35:40 -0600 Subject: Rename additional global TQt functions --- certmanager/lib/ui/backendconfigwidget.cpp | 8 ++++---- certmanager/lib/ui/kdhorizontalline.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'certmanager/lib/ui') 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( 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( 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( it.current() ) ) - if ( p->isOn() && qstricmp( p->protocolName(), protocolName ) == 0 ) + if ( p->isOn() && tqstricmp( p->protocolName(), protocolName ) == 0 ) p->setOn( false ); } } diff --git a/certmanager/lib/ui/kdhorizontalline.cpp b/certmanager/lib/ui/kdhorizontalline.cpp index a053c9923..118b6b103 100644 --- a/certmanager/lib/ui/kdhorizontalline.cpp +++ b/certmanager/lib/ui/kdhorizontalline.cpp @@ -94,7 +94,7 @@ void KDHorizontalLine::calculateFrame() { break; mLenVisible--; } - qDebug( "mLenVisible = %d (of %d)", mLenVisible, mTitle.length() ); + tqDebug( "mLenVisible = %d (of %d)", mLenVisible, mTitle.length() ); if ( mLenVisible ) { // but do we also have a visible label? TQRect r = rect(); const int va = style().styleHint( TQStyle::SH_GroupBox_TextLabelVerticalAlignment, this ); -- cgit v1.2.1