From 9f51f088d1c9b4ad562f6e1107b2ccb3159b44ce Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:32:19 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/otrlchatinterface.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/otrlchatinterface.cpp') diff --git a/src/otrlchatinterface.cpp b/src/otrlchatinterface.cpp index 3743b80..0ba2ce1 100644 --- a/src/otrlchatinterface.cpp +++ b/src/otrlchatinterface.cpp @@ -175,7 +175,7 @@ static void protocol_name_free(void *opdata, const char *protocol_name){ static void new_fingerprint(void *opdata, OtrlUserState us, const char *accountname, const char *protocol, const char *username, unsigned char fingerprint[20]){ kdDebug() << "Received a new Fingerprint" << endl; Kopete::ChatSession *session= ((Kopete::ChatSession*)opdata); - Kopete::Message msg( session->members().getFirst(), session->account()->myself(), i18n("Received a new fingerprint from %1. You should authenticate this contact.").tqarg( session->members().getFirst()->contactId() ), Kopete::Message::Internal, Kopete::Message::RichText ); + Kopete::Message msg( session->members().getFirst(), session->account()->myself(), i18n("Received a new fingerprint from %1. You should authenticate this contact.").arg( session->members().getFirst()->contactId() ), Kopete::Message::Internal, Kopete::Message::RichText ); session->appendMessage( msg ); } @@ -300,7 +300,7 @@ int OtrlChatInterface::decryptMessage( TQString *msg, TQString accountId, tlv = otrl_tlv_find(tlvs, OTRL_TLV_DISCONNECTED); if( tlv ){ - Kopete::Message msg( chatSession->members().getFirst(), chatSession->account()->myself(), i18n("%1 has ended the OTR session. You should do the same.").tqarg(chatSession->members().getFirst()->contactId()) , Kopete::Message::Internal, Kopete::Message::RichText ); + Kopete::Message msg( chatSession->members().getFirst(), chatSession->account()->myself(), i18n("%1 has ended the OTR session. You should do the same.").arg(chatSession->members().getFirst()->contactId()) , Kopete::Message::Internal, Kopete::Message::RichText ); chatSession->appendMessage( msg ); OTRPlugin::plugin()->emitGoneSecure( chatSession, 3 ); @@ -628,7 +628,7 @@ void OtrlChatInterface::checkFilePermissions( TQString file ){ if( fingerprint != NULL ){ int doVerify = KMessageBox::questionYesNo( NULL, - i18n("Please contact %1 via another secure way and verify that the following Fingerprint is correct:").tqarg( formatContact(session->members().getFirst()->contactId())) + "\n\n" + fingerprint + "\n\n" + i18n("Are you sure you want to trust this fingerprint?"), + i18n("Please contact %1 via another secure way and verify that the following Fingerprint is correct:").arg( formatContact(session->members().getFirst()->contactId())) + "\n\n" + fingerprint + "\n\n" + i18n("Are you sure you want to trust this fingerprint?"), i18n("Verify fingerprint") ); if( doVerify == KMessageBox::Yes ){ return true; -- cgit v1.2.1