diff options
Diffstat (limited to 'src/__TODO/UiGuiIndentServer.cpp')
-rw-r--r-- | src/__TODO/UiGuiIndentServer.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/__TODO/UiGuiIndentServer.cpp b/src/__TODO/UiGuiIndentServer.cpp index 8584650..76b18d6 100644 --- a/src/__TODO/UiGuiIndentServer.cpp +++ b/src/__TODO/UiGuiIndentServer.cpp @@ -72,7 +72,7 @@ void UiGuiIndentServer::startServer() } } - connect(_tcpServer, SIGNAL(newConnection()), this, SLOT(handleNewConnection())); + connect(_tcpServer, TQ_SIGNAL(newConnection()), this, TQ_SLOT(handleNewConnection())); _readyForHandleRequest = true; _blockSize = 0; } @@ -92,9 +92,9 @@ void UiGuiIndentServer::stopServer() void UiGuiIndentServer::handleNewConnection() { TQTcpSocket *clientConnection = _tcpServer->nextPendingConnection(); - connect(clientConnection, SIGNAL(disconnected()), clientConnection, SLOT(deleteLater())); + connect(clientConnection, TQ_SIGNAL(disconnected()), clientConnection, TQ_SLOT(deleteLater())); - connect(clientConnection, SIGNAL(readyRead()), this, SLOT(handleReceivedData())); + connect(clientConnection, TQ_SIGNAL(readyRead()), this, TQ_SLOT(handleReceivedData())); } void UiGuiIndentServer::handleReceivedData() @@ -157,8 +157,8 @@ void UiGuiIndentServer::sendMessage(const TQString &message) out.device()->seek(0); out << (tquint32)(_dataToSend.size() - sizeof(tquint32)); - connect(_currentClientConnection, SIGNAL(bytesWritten(qint64)), this, - SLOT(checkIfReadyForHandleRequest())); + connect(_currentClientConnection, TQ_SIGNAL(bytesWritten(qint64)), this, + TQ_SLOT(checkIfReadyForHandleRequest())); _currentClientConnection->write(_dataToSend); } @@ -168,8 +168,8 @@ void UiGuiIndentServer::checkIfReadyForHandleRequest() { TQString dataToSendStr = _dataToSend.right(_dataToSend.size() - sizeof(tquint32)); tqDebug() << "checkIfReadyForHandleRequest _dataToSend was: " << dataToSendStr; - disconnect(_currentClientConnection, SIGNAL(bytesWritten(qint64)), this, - SLOT(checkIfReadyForHandleRequest())); + disconnect(_currentClientConnection, TQ_SIGNAL(bytesWritten(qint64)), this, + TQ_SLOT(checkIfReadyForHandleRequest())); _readyForHandleRequest = true; } } |