diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /kopete/protocols/groupwise/libgroupwise/securestream.cpp | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/securestream.cpp')
-rw-r--r-- | kopete/protocols/groupwise/libgroupwise/securestream.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/securestream.cpp b/kopete/protocols/groupwise/libgroupwise/securestream.cpp index 656f7e43..10784d1c 100644 --- a/kopete/protocols/groupwise/libgroupwise/securestream.cpp +++ b/kopete/protocols/groupwise/libgroupwise/securestream.cpp @@ -91,11 +91,11 @@ SecureLayer::SecureLayer(TQCA::TLS *t) type = TLS; p.tls = t; init(); - connect(p.tls, TQT_SIGNAL(handshaken()), TQT_SLOT(tls_handshaken())); - connect(p.tls, TQT_SIGNAL(readyRead()), TQT_SLOT(tls_readyRead())); - connect(p.tls, TQT_SIGNAL(readyReadOutgoing(int)), TQT_SLOT(tls_readyReadOutgoing(int))); - connect(p.tls, TQT_SIGNAL(closed()), TQT_SLOT(tls_closed())); - connect(p.tls, TQT_SIGNAL(error(int)), TQT_SLOT(tls_error(int))); + connect(p.tls, TQ_SIGNAL(handshaken()), TQ_SLOT(tls_handshaken())); + connect(p.tls, TQ_SIGNAL(readyRead()), TQ_SLOT(tls_readyRead())); + connect(p.tls, TQ_SIGNAL(readyReadOutgoing(int)), TQ_SLOT(tls_readyReadOutgoing(int))); + connect(p.tls, TQ_SIGNAL(closed()), TQ_SLOT(tls_closed())); + connect(p.tls, TQ_SIGNAL(error(int)), TQ_SLOT(tls_error(int))); } SecureLayer::SecureLayer(TQCA::SASL *s) @@ -103,9 +103,9 @@ SecureLayer::SecureLayer(TQCA::SASL *s) type = SASL; p.sasl = s; init(); - connect(p.sasl, TQT_SIGNAL(readyRead()), TQT_SLOT(sasl_readyRead())); - connect(p.sasl, TQT_SIGNAL(readyReadOutgoing(int)), TQT_SLOT(sasl_readyReadOutgoing(int))); - connect(p.sasl, TQT_SIGNAL(error(int)), TQT_SLOT(sasl_error(int))); + connect(p.sasl, TQ_SIGNAL(readyRead()), TQ_SLOT(sasl_readyRead())); + connect(p.sasl, TQ_SIGNAL(readyReadOutgoing(int)), TQ_SLOT(sasl_readyReadOutgoing(int))); + connect(p.sasl, TQ_SIGNAL(error(int)), TQ_SLOT(sasl_error(int))); } #ifdef USE_TLSHANDLER @@ -114,11 +114,11 @@ SecureLayer::SecureLayer(TLSHandler *t) type = TLSH; p.tlsHandler = t; init(); - connect(p.tlsHandler, TQT_SIGNAL(success()), TQT_SLOT(tlsHandler_success())); - connect(p.tlsHandler, TQT_SIGNAL(fail()), TQT_SLOT(tlsHandler_fail())); - connect(p.tlsHandler, TQT_SIGNAL(closed()), TQT_SLOT(tlsHandler_closed())); - connect(p.tlsHandler, TQT_SIGNAL(readyRead(const TQByteArray &)), TQT_SLOT(tlsHandler_readyRead(const TQByteArray &))); - connect(p.tlsHandler, TQT_SIGNAL(readyReadOutgoing(const TQByteArray &, int)), TQT_SLOT(tlsHandler_readyReadOutgoing(const TQByteArray &, int))); + connect(p.tlsHandler, TQ_SIGNAL(success()), TQ_SLOT(tlsHandler_success())); + connect(p.tlsHandler, TQ_SIGNAL(fail()), TQ_SLOT(tlsHandler_fail())); + connect(p.tlsHandler, TQ_SIGNAL(closed()), TQ_SLOT(tlsHandler_closed())); + connect(p.tlsHandler, TQ_SIGNAL(readyRead(const TQByteArray &)), TQ_SLOT(tlsHandler_readyRead(const TQByteArray &))); + connect(p.tlsHandler, TQ_SIGNAL(readyReadOutgoing(const TQByteArray &, int)), TQ_SLOT(tlsHandler_readyReadOutgoing(const TQByteArray &, int))); } #endif @@ -297,8 +297,8 @@ SecureStream::SecureStream(ByteStream *s) d = new Private; d->bs = s; - connect(d->bs, TQT_SIGNAL(readyRead()), TQT_SLOT(bs_readyRead())); - connect(d->bs, TQT_SIGNAL(bytesWritten(int)), TQT_SLOT(bs_bytesWritten(int))); + connect(d->bs, TQ_SIGNAL(readyRead()), TQ_SLOT(bs_readyRead())); + connect(d->bs, TQ_SIGNAL(bytesWritten(int)), TQ_SLOT(bs_bytesWritten(int))); d->layers.setAutoDelete(true); d->pending = 0; @@ -313,11 +313,11 @@ SecureStream::~SecureStream() void SecureStream::linkLayer(TQObject *s) { - connect(s, TQT_SIGNAL(tlsHandshaken()), TQT_SLOT(layer_tlsHandshaken())); - connect(s, TQT_SIGNAL(tlsClosed(const TQByteArray &)), TQT_SLOT(layer_tlsClosed(const TQByteArray &))); - connect(s, TQT_SIGNAL(readyRead(const TQByteArray &)), TQT_SLOT(layer_readyRead(const TQByteArray &))); - connect(s, TQT_SIGNAL(needWrite(const TQByteArray &)), TQT_SLOT(layer_needWrite(const TQByteArray &))); - connect(s, TQT_SIGNAL(error(int)), TQT_SLOT(layer_error(int))); + connect(s, TQ_SIGNAL(tlsHandshaken()), TQ_SLOT(layer_tlsHandshaken())); + connect(s, TQ_SIGNAL(tlsClosed(const TQByteArray &)), TQ_SLOT(layer_tlsClosed(const TQByteArray &))); + connect(s, TQ_SIGNAL(readyRead(const TQByteArray &)), TQ_SLOT(layer_readyRead(const TQByteArray &))); + connect(s, TQ_SIGNAL(needWrite(const TQByteArray &)), TQ_SLOT(layer_needWrite(const TQByteArray &))); + connect(s, TQ_SIGNAL(error(int)), TQ_SLOT(layer_error(int))); } int SecureStream::calcPrebytes() const |