From 68b5e38626333b0c1c0396ef8b4b9221e425465a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 24 Nov 2012 16:19:37 +0100 Subject: Rename QCA to TQCA Fix FTBFS --- kopete/protocols/jabber/jabberclient.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kopete/protocols/jabber/jabberclient.cpp') diff --git a/kopete/protocols/jabber/jabberclient.cpp b/kopete/protocols/jabber/jabberclient.cpp index fddd588f..ef90323c 100644 --- a/kopete/protocols/jabber/jabberclient.cpp +++ b/kopete/protocols/jabber/jabberclient.cpp @@ -61,8 +61,8 @@ public: XMPP::Client *jabberClient; XMPP::ClientStream *jabberClientStream; JabberConnector *jabberClientConnector; - QCA::TLS *jabberTLS; - XMPP::QCATLSHandler *jabberTLSHandler; + TQCA::TLS *jabberTLS; + XMPP::TQCATLSHandler *jabberTLSHandler; // ignore TLS warnings bool ignoreTLSWarnings; @@ -603,7 +603,7 @@ JabberClient::ErrorCode JabberClient::connect ( const XMPP::Jid &jid, const TQSt /* * Return an error if we should force TLS but it's not available. */ - if ( ( forceTLS () || useSSL () || probeSSL () ) && !QCA::isSupported ( QCA::CAP_TLS ) ) + if ( ( forceTLS () || useSSL () || probeSSL () ) && !TQCA::isSupported ( TQCA::CAP_TLS ) ) { return NoTLS; } @@ -631,17 +631,17 @@ JabberClient::ErrorCode JabberClient::connect ( const XMPP::Jid &jid, const TQSt /* * Setup authentication layer */ - if ( QCA::isSupported ( QCA::CAP_TLS ) ) + if ( TQCA::isSupported ( TQCA::CAP_TLS ) ) { - d->jabberTLS = new QCA::TLS; - d->jabberTLSHandler = new XMPP::QCATLSHandler ( d->jabberTLS ); + d->jabberTLS = new TQCA::TLS; + d->jabberTLSHandler = new XMPP::TQCATLSHandler ( d->jabberTLS ); { using namespace XMPP; TQObject::connect ( d->jabberTLSHandler, TQT_SIGNAL ( tlsHandshaken() ), this, TQT_SLOT ( slotTLSHandshaken () ) ); } - TQPtrList certStore; + TQPtrList certStore; d->jabberTLS->setCertificateStore ( certStore ); } @@ -893,10 +893,10 @@ void JabberClient::slotTLSHandshaken () emit debugMessage ( "TLS handshake done, testing certificate validity..." ); - // FIXME: in the future, this should be handled by KDE, not QCA + // FIXME: in the future, this should be handled by KDE, not TQCA int validityResult = d->jabberTLS->certificateValidityResult (); - if ( validityResult == QCA::TLS::Valid ) + if ( validityResult == TQCA::TLS::Valid ) { emit debugMessage ( "Certificate is valid, continuing." ); -- cgit v1.2.1