diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-08 11:54:46 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-10 10:07:46 +0900 |
| commit | 7267a6cbc65f84a1f627a8ed245ded3d83c85062 (patch) | |
| tree | bb4b03f592d77d0a391c621b58eed7e15148ac75 /examples/ssltest/ssltest.cpp | |
| parent | 9cbea02c3872c8d0a297baa1e668fa6fcde7d31c (diff) | |
| download | tqca-7267a6cbc65f84a1f627a8ed245ded3d83c85062.tar.gz tqca-7267a6cbc65f84a1f627a8ed245ded3d83c85062.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 145fb03d2e5d2009d40d347e2efc577d6920aae4)
Diffstat (limited to 'examples/ssltest/ssltest.cpp')
| -rw-r--r-- | examples/ssltest/ssltest.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/examples/ssltest/ssltest.cpp b/examples/ssltest/ssltest.cpp index 05ab3ef..127ce1b 100644 --- a/examples/ssltest/ssltest.cpp +++ b/examples/ssltest/ssltest.cpp @@ -122,17 +122,17 @@ public: SecureTest() { sock = new TQSocket; - connect(sock, SIGNAL(connected()), SLOT(sock_connected())); - connect(sock, SIGNAL(readyRead()), SLOT(sock_readyRead())); - connect(sock, SIGNAL(connectionClosed()), SLOT(sock_connectionClosed())); - connect(sock, SIGNAL(error(int)), SLOT(sock_error(int))); + connect(sock, TQ_SIGNAL(connected()), TQ_SLOT(sock_connected())); + connect(sock, TQ_SIGNAL(readyRead()), TQ_SLOT(sock_readyRead())); + connect(sock, TQ_SIGNAL(connectionClosed()), TQ_SLOT(sock_connectionClosed())); + connect(sock, TQ_SIGNAL(error(int)), TQ_SLOT(sock_error(int))); ssl = new TQCA::TLS; - connect(ssl, SIGNAL(handshaken()), SLOT(ssl_handshaken())); - connect(ssl, SIGNAL(readyRead()), SLOT(ssl_readyRead())); - connect(ssl, SIGNAL(readyReadOutgoing(int)), SLOT(ssl_readyReadOutgoing(int))); - connect(ssl, SIGNAL(closed()), SLOT(ssl_closed())); - connect(ssl, SIGNAL(error(int)), SLOT(ssl_error(int))); + connect(ssl, TQ_SIGNAL(handshaken()), TQ_SLOT(ssl_handshaken())); + connect(ssl, TQ_SIGNAL(readyRead()), TQ_SLOT(ssl_readyRead())); + connect(ssl, TQ_SIGNAL(readyReadOutgoing(int)), TQ_SLOT(ssl_readyReadOutgoing(int))); + connect(ssl, TQ_SIGNAL(closed()), TQ_SLOT(ssl_closed())); + connect(ssl, TQ_SIGNAL(error(int)), TQ_SLOT(ssl_error(int))); rootCerts.setAutoDelete(true); rootCerts = getRootCerts("/usr/local/share/psi/certs/rootcert.xml"); @@ -267,7 +267,7 @@ int main(int argc, char **argv) } SecureTest *s = new SecureTest; - TQObject::connect(s, SIGNAL(quit()), &app, SLOT(quit())); + TQObject::connect(s, TQ_SIGNAL(quit()), &app, TQ_SLOT(quit())); s->start(host); app.exec(); delete s; |
