summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 15:45:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 15:45:22 +0900
commit7a6a0c6c8bf60b6bfc49e4f75f698496ca36b14e (patch)
tree6472711a497824258ea2662784aad25a5c1bad8f
parent0496057fb6e76fa60bb069631402ba6b05d1a4e5 (diff)
downloadtqca-7a6a0c6c8bf60b6bfc49e4f75f698496ca36b14e.tar.gz
tqca-7a6a0c6c8bf60b6bfc49e4f75f698496ca36b14e.zip
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--examples/sasltest/sasltest.cpp4
-rw-r--r--examples/sslservtest/sslservtest.cpp2
-rw-r--r--examples/ssltest/ssltest.cpp2
-rw-r--r--src/tqca.h4
4 files changed, 6 insertions, 6 deletions
diff --git a/examples/sasltest/sasltest.cpp b/examples/sasltest/sasltest.cpp
index 6615988..9eea0f9 100644
--- a/examples/sasltest/sasltest.cpp
+++ b/examples/sasltest/sasltest.cpp
@@ -28,7 +28,7 @@ static TQString prompt(const TQString &s)
class ClientTest : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
ClientTest()
{
@@ -288,7 +288,7 @@ private:
class ServerTest : public QServerSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
ServerTest(const TQString &_str, int _port) : QServerSocket(_port), port(_port)
{
diff --git a/examples/sslservtest/sslservtest.cpp b/examples/sslservtest/sslservtest.cpp
index 3dace8a..f2c5a05 100644
--- a/examples/sslservtest/sslservtest.cpp
+++ b/examples/sslservtest/sslservtest.cpp
@@ -108,7 +108,7 @@ public:
class SecureServerTest : public QServerSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum { Idle, Handshaking, Active, Closing };
diff --git a/examples/ssltest/ssltest.cpp b/examples/ssltest/ssltest.cpp
index f26f293..05ab3ef 100644
--- a/examples/ssltest/ssltest.cpp
+++ b/examples/ssltest/ssltest.cpp
@@ -117,7 +117,7 @@ TQString resultToString(int result)
class SecureTest : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
SecureTest()
{
diff --git a/src/tqca.h b/src/tqca.h
index e5cacb7..5ba0195 100644
--- a/src/tqca.h
+++ b/src/tqca.h
@@ -312,7 +312,7 @@ namespace TQCA
class TQCA_EXPORT TLS : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum Validity {
NoCert,
@@ -373,7 +373,7 @@ namespace TQCA
class TQCA_EXPORT SASL : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum Error { ErrAuth, ErrCrypt };
enum ErrorCond {