summaryrefslogtreecommitdiffstats
path: root/examples/network/networkprotocol/view.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 /examples/network/networkprotocol/view.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 'examples/network/networkprotocol/view.cpp')
-rw-r--r--examples/network/networkprotocol/view.cpp8
1 files changed, 4 insertions, 4 deletions
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()