summaryrefslogtreecommitdiffstats
path: root/lskat/lskat/KRSocket.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /lskat/lskat/KRSocket.cpp
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 )