summaryrefslogtreecommitdiffstats
path: root/tools/assistant/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/assistant/main.cpp')
-rw-r--r--tools/assistant/main.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/assistant/main.cpp b/tools/assistant/main.cpp
index ce8ffd2db..b2e2a62df 100644
--- a/tools/assistant/main.cpp
+++ b/tools/assistant/main.cpp
@@ -92,10 +92,10 @@ private:
AssistantSocket::AssistantSocket( int sock, TQObject *parent )
: TQSocket( parent, 0 )
{
- connect( this, SIGNAL( readyRead() ),
- SLOT( readClient() ) );
- connect( this, SIGNAL( connectionClosed() ),
- SLOT( connectionClosed() ) );
+ connect( this, TQ_SIGNAL( readyRead() ),
+ TQ_SLOT( readClient() ) );
+ connect( this, TQ_SIGNAL( connectionClosed() ),
+ TQ_SLOT( connectionClosed() ) );
setSocket( sock );
}
@@ -135,8 +135,8 @@ TQ_UINT16 AssistantServer::getPort() const
void AssistantServer::newConnection( int socket )
{
AssistantSocket *as = new AssistantSocket( socket, this );
- connect( as, SIGNAL( showLinkRequest( const TQString& ) ),
- this, SIGNAL( showLinkRequest( const TQString& ) ) );
+ connect( as, TQ_SIGNAL( showLinkRequest( const TQString& ) ),
+ this, TQ_SIGNAL( showLinkRequest( const TQString& ) ) );
emit newConnect();
}
@@ -318,8 +318,8 @@ int main( int argc, char ** argv )
as = new AssistantServer();
printf("%d\n", as->port() );
fflush( stdout );
- as->connect( as, SIGNAL( showLinkRequest( const TQString& ) ),
- mw, SLOT( showLinkFromClient( const TQString& ) ) );
+ as->connect( as, TQ_SIGNAL( showLinkRequest( const TQString& ) ),
+ mw, TQ_SLOT( showLinkFromClient( const TQString& ) ) );
}
if ( max )
@@ -332,7 +332,7 @@ int main( int argc, char ** argv )
else if ( file.isEmpty() )
mw->showLinks( links );
- a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );
+ a.connect( &a, TQ_SIGNAL( lastWindowClosed() ), &a, TQ_SLOT( quit() ) );
int appExec = a.exec();
delete (MainWindow*)mw;