summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise/qcatlshandler.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-11-24 16:19:37 +0100
committerSlávek Banko <slavek.banko@axis.cz>2012-11-24 16:21:38 +0100
commit68b5e38626333b0c1c0396ef8b4b9221e425465a (patch)
treefa6a18bcf394cf95dbb901a8234ea399c4869e1f /kopete/protocols/groupwise/libgroupwise/qcatlshandler.cpp
parentb701e9bde1ec398e3c9a89ba8f4de08ab71cd1a7 (diff)
downloadtdenetwork-68b5e38626333b0c1c0396ef8b4b9221e425465a.tar.gz
tdenetwork-68b5e38626333b0c1c0396ef8b4b9221e425465a.zip
Rename QCA to TQCA
Fix FTBFS
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/qcatlshandler.cpp')
-rw-r--r--kopete/protocols/groupwise/libgroupwise/qcatlshandler.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/qcatlshandler.cpp b/kopete/protocols/groupwise/libgroupwise/qcatlshandler.cpp
index 0cf55684..7965e08a 100644
--- a/kopete/protocols/groupwise/libgroupwise/qcatlshandler.cpp
+++ b/kopete/protocols/groupwise/libgroupwise/qcatlshandler.cpp
@@ -19,18 +19,18 @@
#include <tqtimer.h>
-#include "qca.h"
+#include <qca.h>
#include "qcatlshandler.h"
-class QCATLSHandler::Private
+class TQCATLSHandler::Private
{
public:
- QCA::TLS *tls;
+ TQCA::TLS *tls;
int state, err;
};
-QCATLSHandler::QCATLSHandler(QCA::TLS *parent)
+TQCATLSHandler::TQCATLSHandler(TQCA::TLS *parent)
:TLSHandler(parent)
{
d = new Private;
@@ -44,28 +44,28 @@ QCATLSHandler::QCATLSHandler(QCA::TLS *parent)
d->err = -1;
}
-QCATLSHandler::~QCATLSHandler()
+TQCATLSHandler::~TQCATLSHandler()
{
delete d;
}
-QCA::TLS *QCATLSHandler::tls() const
+TQCA::TLS *TQCATLSHandler::tls() const
{
return d->tls;
}
-int QCATLSHandler::tlsError() const
+int TQCATLSHandler::tlsError() const
{
return d->err;
}
-void QCATLSHandler::reset()
+void TQCATLSHandler::reset()
{
d->tls->reset();
d->state = 0;
}
-void QCATLSHandler::startClient(const TQString &host)
+void TQCATLSHandler::startClient(const TQString &host)
{
d->state = 0;
d->err = -1;
@@ -73,17 +73,17 @@ void QCATLSHandler::startClient(const TQString &host)
TQTimer::singleShot(0, this, TQT_SIGNAL(fail()));
}
-void QCATLSHandler::write(const TQByteArray &a)
+void TQCATLSHandler::write(const TQByteArray &a)
{
d->tls->write(a);
}
-void QCATLSHandler::writeIncoming(const TQByteArray &a)
+void TQCATLSHandler::writeIncoming(const TQByteArray &a)
{
d->tls->writeIncoming(a);
}
-void QCATLSHandler::continueAfterHandshake()
+void TQCATLSHandler::continueAfterHandshake()
{
if(d->state == 2) {
success();
@@ -91,28 +91,28 @@ void QCATLSHandler::continueAfterHandshake()
}
}
-void QCATLSHandler::tls_handshaken()
+void TQCATLSHandler::tls_handshaken()
{
d->state = 2;
tlsHandshaken();
}
-void QCATLSHandler::tls_readyRead()
+void TQCATLSHandler::tls_readyRead()
{
readyRead(d->tls->read());
}
-void QCATLSHandler::tls_readyReadOutgoing(int plainBytes)
+void TQCATLSHandler::tls_readyReadOutgoing(int plainBytes)
{
readyReadOutgoing(d->tls->readOutgoing(), plainBytes);
}
-void QCATLSHandler::tls_closed()
+void TQCATLSHandler::tls_closed()
{
closed();
}
-void QCATLSHandler::tls_error(int x)
+void TQCATLSHandler::tls_error(int x)
{
d->err = x;
d->state = 0;