diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:16:03 +0900 |
commit | ecca365daf06c711cf30f93f4c773dabf5642790 (patch) | |
tree | 0b2f6780f60fd7eb35c84cc899e7d51db189d67d /examples/network/remotecontrol/startup.cpp | |
parent | 1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff) | |
download | tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'examples/network/remotecontrol/startup.cpp')
-rw-r--r-- | examples/network/remotecontrol/startup.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/network/remotecontrol/startup.cpp b/examples/network/remotecontrol/startup.cpp index 11b9d2273..95e33e260 100644 --- a/examples/network/remotecontrol/startup.cpp +++ b/examples/network/remotecontrol/startup.cpp @@ -14,8 +14,8 @@ StartUp::StartUp() mainDialog = 0; socket = new TQSocket( this ); - connect( socket, SIGNAL(connected()), SLOT(startRemoteCtrl()) ); - connect( socket, SIGNAL(error(int)), SLOT(startMainDialog()) ); + connect( socket, TQ_SIGNAL(connected()), TQ_SLOT(startRemoteCtrl()) ); + connect( socket, TQ_SIGNAL(error(int)), TQ_SLOT(startMainDialog()) ); socket->connectToHost( "localhost", ipcPort ); } @@ -38,8 +38,8 @@ void StartUp::startMainDialog() IpcServer *server = new IpcServer( ipcPort, this ); - connect( server, SIGNAL(receivedText(const TQString&)), - mainDialog->description, SLOT(setText(const TQString&)) ); - connect( server, SIGNAL(receivedPixmap(const TQPixmap&)), - mainDialog->image, SLOT(setPixmap(const TQPixmap&)) ); + connect( server, TQ_SIGNAL(receivedText(const TQString&)), + mainDialog->description, TQ_SLOT(setText(const TQString&)) ); + connect( server, TQ_SIGNAL(receivedPixmap(const TQPixmap&)), + mainDialog->image, TQ_SLOT(setPixmap(const TQPixmap&)) ); } |