summaryrefslogtreecommitdiffstats
path: root/src/otrlchatinterface.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:01 -0600
commit79e320ac2390400ace1779f77b280accfdcbd393 (patch)
treef208b54c81d1b8a42996ab9d9009d85251a17684 /src/otrlchatinterface.cpp
parent9f51f088d1c9b4ad562f6e1107b2ccb3159b44ce (diff)
downloadkopete-otr-79e320ac2390400ace1779f77b280accfdcbd393.tar.gz
kopete-otr-79e320ac2390400ace1779f77b280accfdcbd393.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 9f51f088d1c9b4ad562f6e1107b2ccb3159b44ce.
Diffstat (limited to 'src/otrlchatinterface.cpp')
-rw-r--r--src/otrlchatinterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/otrlchatinterface.cpp b/src/otrlchatinterface.cpp
index 0ba2ce1..3743b80 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("<b>Received a new fingerprint from <a>%1</a>. You should authenticate this contact.</b>").arg( session->members().getFirst()->contactId() ), Kopete::Message::Internal, Kopete::Message::RichText );
+ Kopete::Message msg( session->members().getFirst(), session->account()->myself(), i18n("<b>Received a new fingerprint from <a>%1</a>. You should authenticate this contact.</b>").tqarg( 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("<b>%1</b> has ended the OTR session. You should do the same.").arg(chatSession->members().getFirst()->contactId()) , Kopete::Message::Internal, Kopete::Message::RichText );
+ Kopete::Message msg( chatSession->members().getFirst(), chatSession->account()->myself(), i18n("<b>%1</b> has ended the OTR session. You should do the same.").tqarg(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:").arg( 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:").tqarg( 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;