summaryrefslogtreecommitdiffstats
path: root/examples/network/remotecontrol
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/remotecontrol')
-rw-r--r--examples/network/remotecontrol/ipcserver.cpp6
-rw-r--r--examples/network/remotecontrol/ipcserver.h2
-rw-r--r--examples/network/remotecontrol/remotectrlimpl.cpp2
-rw-r--r--examples/network/remotecontrol/startup.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/examples/network/remotecontrol/ipcserver.cpp b/examples/network/remotecontrol/ipcserver.cpp
index f7f52ab48..e7cbc2c55 100644
--- a/examples/network/remotecontrol/ipcserver.cpp
+++ b/examples/network/remotecontrol/ipcserver.cpp
@@ -24,7 +24,7 @@ signals:
private slots:
void read()
{
- Q_ULONG bytesAvail = bytesAvailable();
+ TQ_ULONG bytesAvail = bytesAvailable();
for ( ;; ) {
if ( packetSize == 0 ) {
TQDataStream ds( this );
@@ -63,10 +63,10 @@ private slots:
}
private:
- Q_UINT32 packetSize;
+ TQ_UINT32 packetSize;
};
-IpcServer::IpcServer( Q_UINT16 port, TQObject *parent ) :
+IpcServer::IpcServer( TQ_UINT16 port, TQObject *parent ) :
TQServerSocket( 0x7f000001, port, 1, parent )
{
}
diff --git a/examples/network/remotecontrol/ipcserver.h b/examples/network/remotecontrol/ipcserver.h
index b2b17f615..81b6c9c95 100644
--- a/examples/network/remotecontrol/ipcserver.h
+++ b/examples/network/remotecontrol/ipcserver.h
@@ -8,7 +8,7 @@ class IpcServer : public TQServerSocket
TQ_OBJECT
public:
- IpcServer( Q_UINT16 port, TQObject *parent );
+ IpcServer( TQ_UINT16 port, TQObject *parent );
void newConnection( int socket );
diff --git a/examples/network/remotecontrol/remotectrlimpl.cpp b/examples/network/remotecontrol/remotectrlimpl.cpp
index 4859d3b82..ac1f01678 100644
--- a/examples/network/remotecontrol/remotectrlimpl.cpp
+++ b/examples/network/remotecontrol/remotectrlimpl.cpp
@@ -22,7 +22,7 @@ void RemoteCtrlImpl::sendPacket( const TQVariant &v )
varDs << v;
TQDataStream ds( socket );
- ds << (Q_UINT32) ba.size();
+ ds << (TQ_UINT32) ba.size();
socket->writeBlock( ba.data(), ba.size() );
}
diff --git a/examples/network/remotecontrol/startup.cpp b/examples/network/remotecontrol/startup.cpp
index bc16f19ff..11b9d2273 100644
--- a/examples/network/remotecontrol/startup.cpp
+++ b/examples/network/remotecontrol/startup.cpp
@@ -6,7 +6,7 @@
#include <ntqsocket.h>
#include <ntqlabel.h>
-static const Q_UINT16 ipcPort = 54923;
+static const TQ_UINT16 ipcPort = 54923;
StartUp::StartUp()
{