summaryrefslogtreecommitdiffstats
path: root/lskat/lskat/KRSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lskat/lskat/KRSocket.cpp')
-rw-r--r--lskat/lskat/KRSocket.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/lskat/lskat/KRSocket.cpp b/lskat/lskat/KRSocket.cpp
index 0a699600..91c5e42e 100644
--- a/lskat/lskat/KRSocket.cpp
+++ b/lskat/lskat/KRSocket.cpp
@@ -94,7 +94,7 @@
#define SOMAXCONN 5
#endif
-#include <qsocketnotifier.h>
+#include <tqsocketnotifier.h>
#ifndef UNIX_PATH_MAX
#define UNIX_PATH_MAX 108 // this is the value, I found under Linux
@@ -113,8 +113,8 @@ KRServerSocket::KRServerSocket( const char *_path, int optname, int value, int l
return;
}
- notifier = new QSocketNotifier( sock, QSocketNotifier::Read );
- connect( notifier, SIGNAL( activated(int) ), this, SLOT( slotAccept(int) ) );
+ notifier = new TQSocketNotifier( sock, TQSocketNotifier::Read );
+ connect( notifier, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( slotAccept(int) ) );
}
KRServerSocket::KRServerSocket( const char *_path ) :
@@ -128,8 +128,8 @@ KRServerSocket::KRServerSocket( const char *_path ) :
return;
}
- notifier = new QSocketNotifier( sock, QSocketNotifier::Read );
- connect( notifier, SIGNAL( activated(int) ), this, SLOT( slotAccept(int) ) );
+ notifier = new TQSocketNotifier( sock, TQSocketNotifier::Read );
+ connect( notifier, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( slotAccept(int) ) );
}
KRServerSocket::KRServerSocket( unsigned short int _port ) :
@@ -143,8 +143,8 @@ KRServerSocket::KRServerSocket( unsigned short int _port ) :
return;
}
- notifier = new QSocketNotifier( sock, QSocketNotifier::Read );
- connect( notifier, SIGNAL( activated(int) ), this, SLOT( slotAccept(int) ) );
+ notifier = new TQSocketNotifier( sock, TQSocketNotifier::Read );
+ connect( notifier, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( slotAccept(int) ) );
}
KRServerSocket::KRServerSocket( unsigned short int _port,int optname,int value,int level ) :
@@ -158,8 +158,8 @@ KRServerSocket::KRServerSocket( unsigned short int _port,int optname,int value,i
return;
}
- notifier = new QSocketNotifier( sock, QSocketNotifier::Read );
- connect( notifier, SIGNAL( activated(int) ), this, SLOT( slotAccept(int) ) );
+ notifier = new TQSocketNotifier( sock, TQSocketNotifier::Read );
+ connect( notifier, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( slotAccept(int) ) );
}
bool KRServerSocket::init( const char *_path )