summaryrefslogtreecommitdiffstats
path: root/examples/network
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network')
-rw-r--r--examples/network/clientserver/server/server.cpp2
-rw-r--r--examples/network/httpd/httpd.cpp2
-rw-r--r--examples/network/networkprotocol/main.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/network/clientserver/server/server.cpp b/examples/network/clientserver/server/server.cpp
index 5a69ad8..440647c 100644
--- a/examples/network/clientserver/server/server.cpp
+++ b/examples/network/clientserver/server/server.cpp
@@ -79,7 +79,7 @@ public:
QServerSocket( 4242, 1, parent )
{
if ( !ok() ) {
- tqWarning("Failed to bind to port 4242");
+ qWarning("Failed to bind to port 4242");
exit(1);
}
}
diff --git a/examples/network/httpd/httpd.cpp b/examples/network/httpd/httpd.cpp
index df9df6b..4c40961 100644
--- a/examples/network/httpd/httpd.cpp
+++ b/examples/network/httpd/httpd.cpp
@@ -27,7 +27,7 @@ public:
QServerSocket(8080,1,parent)
{
if ( !ok() ) {
- tqWarning("Failed to bind to port 8080");
+ qWarning("Failed to bind to port 8080");
exit( 1 );
}
}
diff --git a/examples/network/networkprotocol/main.cpp b/examples/network/networkprotocol/main.cpp
index bb9bc1d..8d636e4 100644
--- a/examples/network/networkprotocol/main.cpp
+++ b/examples/network/networkprotocol/main.cpp
@@ -17,7 +17,7 @@ int main( int argc, char **argv )
{
QApplication a( argc, argv );
- tqInitNetworkProtocols();
+ qInitNetworkProtocols();
QNetworkProtocol::registerNetworkProtocol( "nntp", new QNetworkProtocolFactory<Nntp> );
View v;