summaryrefslogtreecommitdiffstats
path: root/tools/assistant/main.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /tools/assistant/main.cpp
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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;