diff options
Diffstat (limited to 'src/__TODO')
-rw-r--r-- | src/__TODO/AboutDialogGraphicsView.cpp | 12 | ||||
-rw-r--r-- | src/__TODO/UiGuiIndentServer.cpp | 14 |
2 files changed, 13 insertions, 13 deletions
diff --git a/src/__TODO/AboutDialogGraphicsView.cpp b/src/__TODO/AboutDialogGraphicsView.cpp index b9b527b..1a6a7ea 100644 --- a/src/__TODO/AboutDialogGraphicsView.cpp +++ b/src/__TODO/AboutDialogGraphicsView.cpp @@ -74,7 +74,7 @@ AboutDialogGraphicsView::AboutDialogGraphicsView(AboutDialog *aboutDialog, TQWid setCacheMode(TQGraphicsView::CacheBackground); setViewportUpdateMode(TQGraphicsView::BoundingRectViewportUpdate); - connect(_aboutDialog, SIGNAL(finished(int)), this, SLOT(hide())); + connect(_aboutDialog, TQ_SIGNAL(finished(int)), this, TQ_SLOT(hide())); //setWindowOpacity(0.9); @@ -86,7 +86,7 @@ AboutDialogGraphicsView::AboutDialogGraphicsView(AboutDialog *aboutDialog, TQWid _timeLine->setFrameRange(270, 0); //_timeLine->setUpdateInterval(10); //_timeLine->setCurveShape(TQTimeLine::EaseInCurve); - connect(_timeLine, SIGNAL(frameChanged(int)), this, SLOT(updateStep(int))); + connect(_timeLine, TQ_SIGNAL(frameChanged(int)), this, TQ_SLOT(updateStep(int))); } AboutDialogGraphicsView::~AboutDialogGraphicsView(void) @@ -150,7 +150,7 @@ void AboutDialogGraphicsView::show() //_aboutDialogAsSplashScreen->show(); TQGraphicsView::show(); - connect(_timeLine, SIGNAL(finished()), this, SLOT(showAboutDialog())); + connect(_timeLine, TQ_SIGNAL(finished()), this, TQ_SLOT(showAboutDialog())); _timeLine->setDirection(TQTimeLine::Forward); _timeLine->start(); } @@ -176,7 +176,7 @@ void AboutDialogGraphicsView::updateStep(int step) void AboutDialogGraphicsView::showAboutDialog() { //hide(); - disconnect(_timeLine, SIGNAL(finished()), this, SLOT(showAboutDialog())); + disconnect(_timeLine, TQ_SIGNAL(finished()), this, TQ_SLOT(showAboutDialog())); _aboutDialog->move(int(_parentWindow->geometry().x() + (_parentWindow->geometry().width() - _graphicsProxyWidget->geometry().width()) / 2), _parentWindow->y() + _windowTitleBarWidth - _windowPosOffset); @@ -204,7 +204,7 @@ void AboutDialogGraphicsView::hide() //_aboutDialogAsSplashScreen->show(); TQGraphicsView::show(); - connect(_timeLine, SIGNAL(finished()), this, SLOT(hideReally())); + connect(_timeLine, TQ_SIGNAL(finished()), this, TQ_SLOT(hideReally())); _timeLine->setDirection(TQTimeLine::Backward); _timeLine->start(); } @@ -214,7 +214,7 @@ void AboutDialogGraphicsView::hide() */ void AboutDialogGraphicsView::hideReally() { - disconnect(_timeLine, SIGNAL(finished()), this, SLOT(hideReally())); + disconnect(_timeLine, TQ_SIGNAL(finished()), this, TQ_SLOT(hideReally())); TQGraphicsView::hide(); _parentWindow->activateWindow(); } 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; } } |