diff options
Diffstat (limited to 'konversation/src/dccchat.cpp')
-rw-r--r-- | konversation/src/dccchat.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/konversation/src/dccchat.cpp b/konversation/src/dccchat.cpp index 9708163..a42aa60 100644 --- a/konversation/src/dccchat.cpp +++ b/konversation/src/dccchat.cpp @@ -90,12 +90,12 @@ DccChat::DccChat(TQWidget* parent, bool listen, Server* server, const TQString& } // connect the signals and slots - connect( m_dccChatInput, TQT_SIGNAL( submit() ), this, TQT_SLOT( dccChatTextEntered() ) ); - connect( m_dccChatInput, TQT_SIGNAL( textPasted( const TQString& ) ), this, TQT_SLOT( textPasted( const TQString& ) ) ); + connect( m_dccChatInput, TQ_SIGNAL( submit() ), this, TQ_SLOT( dccChatTextEntered() ) ); + connect( m_dccChatInput, TQ_SIGNAL( textPasted( const TQString& ) ), this, TQ_SLOT( textPasted( const TQString& ) ) ); - connect( getTextView(), TQT_SIGNAL( textPasted(bool) ), m_dccChatInput, TQT_SLOT( paste(bool) ) ); - connect( getTextView(), TQT_SIGNAL( gotFocus() ), m_dccChatInput, TQT_SLOT( setFocus() ) ); - connect( getTextView(), TQT_SIGNAL( autoText(const TQString&) ), this, TQT_SLOT( sendDccChatText( const TQString& ) ) ); + connect( getTextView(), TQ_SIGNAL( textPasted(bool) ), m_dccChatInput, TQ_SLOT( paste(bool) ) ); + connect( getTextView(), TQ_SIGNAL( gotFocus() ), m_dccChatInput, TQ_SLOT( setFocus() ) ); + connect( getTextView(), TQ_SIGNAL( autoText(const TQString&) ), this, TQ_SLOT( sendDccChatText( const TQString& ) ) ); if (listen) { @@ -138,7 +138,7 @@ void DccChat::listenForPartner() return; } - connect( m_listenSocket, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(heardPartner()) ); + connect( m_listenSocket, TQ_SIGNAL(readyAccept()), this, TQ_SLOT(heardPartner()) ); // Get our own port number m_ownPort = DccCommon::getServerSocketPort( m_listenSocket ); @@ -170,11 +170,11 @@ void DccChat::connectToPartner() m_dccSocket->setTimeout(10000); m_dccSocket->blockSignals(false); - connect( m_dccSocket, TQT_SIGNAL( hostFound() ), this, TQT_SLOT( lookupFinished() ) ); - connect( m_dccSocket, TQT_SIGNAL( connected( const KResolverEntry& ) ), this, TQT_SLOT( dccChatConnectionSuccess() ) ); - connect( m_dccSocket, TQT_SIGNAL( gotError( int ) ), this, TQT_SLOT( dccChatBroken( int ) ) ); - connect( m_dccSocket, TQT_SIGNAL( readyRead() ), this, TQT_SLOT( readData() ) ); - connect( m_dccSocket, TQT_SIGNAL( closed() ), this, TQT_SLOT( socketClosed() ) ); + connect( m_dccSocket, TQ_SIGNAL( hostFound() ), this, TQ_SLOT( lookupFinished() ) ); + connect( m_dccSocket, TQ_SIGNAL( connected( const KResolverEntry& ) ), this, TQ_SLOT( dccChatConnectionSuccess() ) ); + connect( m_dccSocket, TQ_SIGNAL( gotError( int ) ), this, TQ_SLOT( dccChatBroken( int ) ) ); + connect( m_dccSocket, TQ_SIGNAL( readyRead() ), this, TQ_SLOT( readData() ) ); + connect( m_dccSocket, TQ_SIGNAL( closed() ), this, TQ_SLOT( socketClosed() ) ); m_dccSocket->connect(); @@ -324,9 +324,9 @@ void DccChat::heardPartner() return; } - connect( m_dccSocket, TQT_SIGNAL( readyRead() ), this, TQT_SLOT( readData() ) ); - connect( m_dccSocket, TQT_SIGNAL( closed() ), this, TQT_SLOT( socketClosed() ) ); - connect( m_dccSocket, TQT_SIGNAL( gotError( int ) ), this, TQT_SLOT( dccChatBroken( int ) ) ); + connect( m_dccSocket, TQ_SIGNAL( readyRead() ), this, TQ_SLOT( readData() ) ); + connect( m_dccSocket, TQ_SIGNAL( closed() ), this, TQ_SLOT( socketClosed() ) ); + connect( m_dccSocket, TQ_SIGNAL( gotError( int ) ), this, TQ_SLOT( dccChatBroken( int ) ) ); // the listen socket isn't needed anymore disconnect( m_listenSocket, 0, 0, 0 ); |