summaryrefslogtreecommitdiffstats
path: root/tdeio/tdeio/slave.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio/tdeio/slave.cpp')
-rw-r--r--tdeio/tdeio/slave.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tdeio/tdeio/slave.cpp b/tdeio/tdeio/slave.cpp
index 56d45a315..5ced7acf8 100644
--- a/tdeio/tdeio/slave.cpp
+++ b/tdeio/tdeio/slave.cpp
@@ -89,7 +89,7 @@ namespace TDEIO {
void Slave::accept(TDESocket *socket)
{
-#ifndef Q_WS_WIN
+#ifndef TQ_WS_WIN
slaveconn.init(socket);
#endif
delete serv;
@@ -151,7 +151,7 @@ Slave::Slave(TDEServerSocket *socket, const TQString &protocol, const TQString &
idle_since = contact_started;
m_pid = 0;
m_port = 0;
-#ifndef Q_WS_WIN
+#ifndef TQ_WS_WIN
connect(serv, TQ_SIGNAL(accepted( TDESocket* )),
TQ_SLOT(accept(TDESocket*) ) );
#endif
@@ -173,7 +173,7 @@ Slave::Slave(bool /*derived*/, TDEServerSocket *socket, const TQString &protocol
m_pid = 0;
m_port = 0;
if (serv != 0) {
-#ifndef Q_WS_WIN
+#ifndef TQ_WS_WIN
connect(serv, TQ_SIGNAL(accepted( TDESocket* )),
TQ_SLOT(accept(TDESocket*) ) );
#endif
@@ -376,7 +376,7 @@ Slave* Slave::createSlave( const TQString &protocol, const KURL& url, int& error
socketfile.close();
#endif
-#ifndef Q_WS_WIN
+#ifndef TQ_WS_WIN
TDEServerSocket *kss = new TDEServerSocket(TQFile::encodeName(socketfile.name()).data());
Slave *slave = new Slave(kss, protocol, socketfile.name());
@@ -418,7 +418,7 @@ Slave* Slave::createSlave( const TQString &protocol, const KURL& url, int& error
proc.start(TDEProcess::DontCare);
-#ifndef Q_WS_WIN
+#ifndef TQ_WS_WIN
slave->setPID(proc.pid());
TQTimer::singleShot(1000*SLAVE_CONNECTION_TIMEOUT_MIN, slave, TQ_SLOT(timeout()));
#endif
@@ -450,7 +450,7 @@ Slave* Slave::createSlave( const TQString &protocol, const KURL& url, int& error
delete slave;
return 0;
}
-#ifndef Q_WS_WIN
+#ifndef TQ_WS_WIN
slave->setPID(pid);
TQTimer::singleShot(1000*SLAVE_CONNECTION_TIMEOUT_MIN, slave, TQ_SLOT(timeout()));
#endif
@@ -478,7 +478,7 @@ Slave* Slave::holdSlave( const TQString &protocol, const KURL& url )
socketfile.unlink();
#endif
-#ifndef Q_WS_WIN
+#ifndef TQ_WS_WIN
TDEServerSocket *kss = new TDEServerSocket(TQFile::encodeName(socketfile.name()).data());
Slave *slave = new Slave(kss, protocol, socketfile.name());
@@ -505,7 +505,7 @@ Slave* Slave::holdSlave( const TQString &protocol, const KURL& url )
delete slave;
return 0;
}
-#ifndef Q_WS_WIN
+#ifndef TQ_WS_WIN
slave->setPID(pid);
TQTimer::singleShot(1000*SLAVE_CONNECTION_TIMEOUT_MIN, slave, TQ_SLOT(timeout()));
#endif