diff options
Diffstat (limited to 'examples/network/networkprotocol')
-rw-r--r-- | examples/network/networkprotocol/nntp.cpp | 20 | ||||
-rw-r--r-- | examples/network/networkprotocol/view.cpp | 8 |
2 files changed, 14 insertions, 14 deletions
diff --git a/examples/network/networkprotocol/nntp.cpp b/examples/network/networkprotocol/nntp.cpp index 1fe31dda4..833718ada 100644 --- a/examples/network/networkprotocol/nntp.cpp +++ b/examples/network/networkprotocol/nntp.cpp @@ -20,16 +20,16 @@ Nntp::Nntp() { // create the command socket and connect to its signals commandSocket = new TQSocket( this ); - connect( commandSocket, SIGNAL( hostFound() ), - this, SLOT( hostFound() ) ); - connect( commandSocket, SIGNAL( connected() ), - this, SLOT( connected() ) ); - connect( commandSocket, SIGNAL( connectionClosed() ), - this, SLOT( closed() ) ); - connect( commandSocket, SIGNAL( readyRead() ), - this, SLOT( readyRead() ) ); - connect( commandSocket, SIGNAL( error( int ) ), - this, SLOT( error( int ) ) ); + connect( commandSocket, TQ_SIGNAL( hostFound() ), + this, TQ_SLOT( hostFound() ) ); + connect( commandSocket, TQ_SIGNAL( connected() ), + this, TQ_SLOT( connected() ) ); + connect( commandSocket, TQ_SIGNAL( connectionClosed() ), + this, TQ_SLOT( closed() ) ); + connect( commandSocket, TQ_SIGNAL( readyRead() ), + this, TQ_SLOT( readyRead() ) ); + connect( commandSocket, TQ_SIGNAL( error( int ) ), + this, TQ_SLOT( error( int ) ) ); } Nntp::~Nntp() diff --git a/examples/network/networkprotocol/view.cpp b/examples/network/networkprotocol/view.cpp index 3c24e03d9..070b8a7cd 100644 --- a/examples/network/networkprotocol/view.cpp +++ b/examples/network/networkprotocol/view.cpp @@ -40,15 +40,15 @@ View::View() "for downloading a news article start with an url like " "<u>nntp://news.tu-graz.ac.at</u> " ) ); TQPushButton *b = new TQPushButton( tr( "Open a file..." ), this ); - connect( b, SIGNAL( clicked() ), - this, SLOT( downloadFile() ) ); + connect( b, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( downloadFile() ) ); fileView = new TQMultiLineEdit( this ); fileView->setReadOnly( TRUE ); // if new data comes in, display it - connect( &op, SIGNAL( data( const TQByteArray &, TQNetworkOperation * ) ), - this, SLOT( newData( const TQByteArray & ) ) ); + connect( &op, TQ_SIGNAL( data( const TQByteArray &, TQNetworkOperation * ) ), + this, TQ_SLOT( newData( const TQByteArray & ) ) ); } void View::downloadFile() |