summaryrefslogtreecommitdiffstats
path: root/examples/network/infoprotocol
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-17 17:28:28 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-17 17:28:28 -0500
commit6dec101d43dcbd4195c47d54bd388db1a8d7230e (patch)
tree7c336cbed3a93807a34cd4df39b2f92a7d48a141 /examples/network/infoprotocol
parentf27c2533f735d53c6b555f387c6390c0690cc246 (diff)
downloadtqt3-6dec101d43dcbd4195c47d54bd388db1a8d7230e.tar.gz
tqt3-6dec101d43dcbd4195c47d54bd388db1a8d7230e.zip
Automated update from Qt3
Diffstat (limited to 'examples/network/infoprotocol')
-rw-r--r--examples/network/infoprotocol/infoclient/client.h2
-rw-r--r--examples/network/infoprotocol/infoserver/main.cpp2
-rw-r--r--examples/network/infoprotocol/infoserver/server.cpp4
-rw-r--r--examples/network/infoprotocol/infoserver/server.h6
-rw-r--r--examples/network/infoprotocol/infourlclient/qip.h2
5 files changed, 8 insertions, 8 deletions
diff --git a/examples/network/infoprotocol/infoclient/client.h b/examples/network/infoprotocol/infoclient/client.h
index e2590686..544d28ae 100644
--- a/examples/network/infoprotocol/infoclient/client.h
+++ b/examples/network/infoprotocol/infoclient/client.h
@@ -18,7 +18,7 @@ class TQLineEdit;
class TQListBox;
class TQLabel;
-static const Q_UINT16 infoPort = 42417;
+static const TQ_UINT16 infoPort = 42417;
class ClientInfo : public ClientInfoBase
{
diff --git a/examples/network/infoprotocol/infoserver/main.cpp b/examples/network/infoprotocol/infoserver/main.cpp
index 0cfcf58c..ecb2a361 100644
--- a/examples/network/infoprotocol/infoserver/main.cpp
+++ b/examples/network/infoprotocol/infoserver/main.cpp
@@ -14,7 +14,7 @@
int main( int argc, char** argv )
{
TQApplication app( argc, argv );
- Q_UINT16 port = ( argc > 1 ) ? TQString( argv[ 1 ] ).toInt() : infoPort;
+ TQ_UINT16 port = ( argc > 1 ) ? TQString( argv[ 1 ] ).toInt() : infoPort;
ServerInfo info( port, 0, "server info" );
app.setMainWidget( &info );
info.show();
diff --git a/examples/network/infoprotocol/infoserver/server.cpp b/examples/network/infoprotocol/infoserver/server.cpp
index 116ac0cb..a405fd8b 100644
--- a/examples/network/infoprotocol/infoserver/server.cpp
+++ b/examples/network/infoprotocol/infoserver/server.cpp
@@ -18,7 +18,7 @@
-ServerInfo::ServerInfo( Q_UINT16 port, TQWidget *parent, const char *name ) :
+ServerInfo::ServerInfo( TQ_UINT16 port, TQWidget *parent, const char *name ) :
ServerInfoBase( parent, name )
{
SimpleServer *server = new SimpleServer( port, this, "simple server" );
@@ -32,7 +32,7 @@ void ServerInfo::newConnect()
}
-SimpleServer::SimpleServer( Q_UINT16 port, TQObject* parent, const char *name ) :
+SimpleServer::SimpleServer( TQ_UINT16 port, TQObject* parent, const char *name ) :
TQServerSocket( port, 1, parent, name )
{
if ( !ok() ) {
diff --git a/examples/network/infoprotocol/infoserver/server.h b/examples/network/infoprotocol/infoserver/server.h
index 33fb6782..637a4996 100644
--- a/examples/network/infoprotocol/infoserver/server.h
+++ b/examples/network/infoprotocol/infoserver/server.h
@@ -16,7 +16,7 @@
#include "infodata.h"
#include "serverbase.h"
-static const Q_UINT16 infoPort = 42417;
+static const TQ_UINT16 infoPort = 42417;
/*
@@ -27,7 +27,7 @@ class ServerInfo : public ServerInfoBase
{
TQ_OBJECT
public:
- ServerInfo( Q_UINT16 port = infoPort, TQWidget *parent = 0, const char *name = 0 );
+ ServerInfo( TQ_UINT16 port = infoPort, TQWidget *parent = 0, const char *name = 0 );
private slots:
void newConnect();
@@ -38,7 +38,7 @@ class SimpleServer : public TQServerSocket
{
TQ_OBJECT
public:
- SimpleServer( Q_UINT16 port = infoPort, TQObject* parent = 0, const char *name = 0 );
+ SimpleServer( TQ_UINT16 port = infoPort, TQObject* parent = 0, const char *name = 0 );
void newConnection( int socket );
signals:
diff --git a/examples/network/infoprotocol/infourlclient/qip.h b/examples/network/infoprotocol/infourlclient/qip.h
index ee70383d..c88ed8a0 100644
--- a/examples/network/infoprotocol/infourlclient/qip.h
+++ b/examples/network/infoprotocol/infourlclient/qip.h
@@ -14,7 +14,7 @@
class TQSocket;
-static const Q_UINT16 infoPort = 42417;
+static const TQ_UINT16 infoPort = 42417;
class Qip : public TQNetworkProtocol