diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:42:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:42:31 +0000 |
commit | 576eb4299a00bc053db35414406f46372a0f70f2 (patch) | |
tree | 4c030922d533821db464af566188e7d40cc8848c /lskat/lskat/KRSocket.cpp | |
parent | 0718336b6017d1a4fc1d626544180a5a2a29ddec (diff) | |
download | tdegames-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.cpp | 18 |
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 ) |