diff options
Diffstat (limited to 'kopete/kopete/kimifaceimpl.cpp')
-rw-r--r-- | kopete/kopete/kimifaceimpl.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/kopete/kimifaceimpl.cpp b/kopete/kopete/kimifaceimpl.cpp index 1b835438..6e621c04 100644 --- a/kopete/kopete/kimifaceimpl.cpp +++ b/kopete/kopete/kimifaceimpl.cpp @@ -58,7 +58,7 @@ TQStringList KIMIfaceImpl::allContacts() TQPtrListIterator<Kopete::MetaContact> it( list ); for( ; it.current(); ++it ) { - if ( !it.current()->metaContactId().contains(':') ) + if ( !it.current()->metaContactId().tqcontains(':') ) result.append( it.current()->metaContactId() ); } @@ -72,7 +72,7 @@ TQStringList KIMIfaceImpl::reachableContacts() TQPtrListIterator<Kopete::MetaContact> it( list ); for( ; it.current(); ++it ) { - if ( it.current()->isReachable() && !it.current()->metaContactId().contains(':') ) + if ( it.current()->isReachable() && !it.current()->metaContactId().tqcontains(':') ) result.append( it.current()->metaContactId() ); } @@ -86,7 +86,7 @@ TQStringList KIMIfaceImpl::onlineContacts() TQPtrListIterator<Kopete::MetaContact> it( list ); for( ; it.current(); ++it ) { - if ( it.current()->isOnline() && !it.current()->metaContactId().contains(':') ) + if ( it.current()->isOnline() && !it.current()->metaContactId().tqcontains(':') ) result.append( it.current()->metaContactId() ); } @@ -100,7 +100,7 @@ TQStringList KIMIfaceImpl::fileTransferContacts() TQPtrListIterator<Kopete::MetaContact> it( list ); for( ; it.current(); ++it ) { - if ( it.current()->canAcceptFiles() && !it.current()->metaContactId().contains(':') ) + if ( it.current()->canAcceptFiles() && !it.current()->metaContactId().tqcontains(':') ) result.append( it.current()->metaContactId() ); } @@ -127,7 +127,7 @@ TQString KIMIfaceImpl::displayName( const TQString & uid ) return name; } -int KIMIfaceImpl::presenceStatus( const TQString & uid ) +int KIMIfaceImpl::presencetqStatus( const TQString & uid ) { //kdDebug( 14000 ) << k_funcinfo << endl; int p = -1; @@ -214,7 +214,7 @@ TQString KIMIfaceImpl::locate( const TQString & contactId, const TQString & prot if ( mc ) return mc->metaContactId(); else - return TQString::null; + return TQString(); } Kopete::MetaContact * KIMIfaceImpl::locateProtocolContact( const TQString & contactId, const TQString & protocolId ) @@ -256,7 +256,7 @@ TQString KIMIfaceImpl::context( const TQString & uid ) // shush warning TQString myUid = uid; - return TQString::null; + return TQString(); } TQStringList KIMIfaceImpl::protocols() @@ -338,7 +338,7 @@ void KIMIfaceImpl::slotMetaContactAdded( Kopete::MetaContact *mc ) void KIMIfaceImpl::slotContactStatusChanged( Kopete::MetaContact *mc ) { - if ( !mc->metaContactId().contains( ':' ) ) + if ( !mc->metaContactId().tqcontains( ':' ) ) { int p = -1; Kopete::OnlineStatus status = mc->status(); @@ -386,7 +386,7 @@ void KIMIfaceImpl::unknown( const TQString &uid ) { TQString apology = i18n( "Translators: %1 is the name of a person taken from the KDE address book, who Kopete doesn't know about. Kopete must either be told that an existing contact in Kopete is this person, or add a new contact for them", "<qt><p>The KDE Address Book has no instant messaging information for</p><p><b>%1</b>.</p><p>If he/she is already present in the Kopete contact list, indicate the correct addressbook entry in their properties.</p><p>Otherwise, add a new contact using the Add Contact wizard.</p></qt>" ); - apology = apology.arg( addr.realName() ); + apology = apology.tqarg( addr.realName() ); KMessageBox::queuedMessageBox( Kopete::UI::Global::mainWidget(), KMessageBox::Information, apology, i18n( "No Instant Messaging Address" ) ); } } |