summaryrefslogtreecommitdiffstats
path: root/knights/io_engine.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-28 16:38:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-31 22:24:54 +0900
commitb4b4994c9863545aa635db0931dc3eefab8c948d (patch)
treee7b68b2081d7f379ec279b5e99f42769c6d2eca8 /knights/io_engine.cpp
parentb8335a4a3527cea739097fb2b9c014b0b8b1d6fa (diff)
downloadknights-b4b4994c9863545aa635db0931dc3eefab8c948d.tar.gz
knights-b4b4994c9863545aa635db0931dc3eefab8c948d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ff0d52cab681a2154a1462935a5d9e4d6ebfe34e)
Diffstat (limited to 'knights/io_engine.cpp')
-rw-r--r--knights/io_engine.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/knights/io_engine.cpp b/knights/io_engine.cpp
index 8b3afc7..9b2c88c 100644
--- a/knights/io_engine.cpp
+++ b/knights/io_engine.cpp
@@ -125,8 +125,8 @@ void io_engine::Start( const int side )
proto = new proto_xboard( myID );
break;
}
- connect( proto, TQT_SIGNAL( output( const TQString& ) ), this, TQT_SLOT( WriteFIFO( const TQString& ) ) );
- connect( proto, TQT_SIGNAL( output( const Command& ) ), this, TQT_SLOT( recvProtoCMD( const Command& ) ) );
+ connect( proto, TQ_SIGNAL( output( const TQString& ) ), this, TQ_SLOT( WriteFIFO( const TQString& ) ) );
+ connect( proto, TQ_SIGNAL( output( const Command& ) ), this, TQ_SLOT( recvProtoCMD( const Command& ) ) );
/* ...engine's display name */
proto->parse( Command( myID, CMD_Set_Name, (*IT).Name ) );
@@ -156,9 +156,9 @@ void io_engine::Start( const int side )
kdError() << "io_engine::Start: Can not run the engine: " << (*IT).Filename << endl;
return;
}
- connect( engine, TQT_SIGNAL( wroteStdin( TDEProcess* ) ), this, TQT_SLOT( SendClear( TDEProcess* ) ) );
- connect( engine, TQT_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ), this, TQT_SLOT( Recv( TDEProcess*, char*, int ) ) );
- connect( engine, TQT_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ), this, TQT_SLOT( Recv( TDEProcess*, char*, int ) ) );
+ connect( engine, TQ_SIGNAL( wroteStdin( TDEProcess* ) ), this, TQ_SLOT( SendClear( TDEProcess* ) ) );
+ connect( engine, TQ_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ), this, TQ_SLOT( Recv( TDEProcess*, char*, int ) ) );
+ connect( engine, TQ_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ), this, TQ_SLOT( Recv( TDEProcess*, char*, int ) ) );
proto->parse( Command( myID, CMD_Init ) );