diff --git a/tqtinterface/qt4/src/kernel/tqsocketnotifier.cpp b/tqtinterface/qt4/src/kernel/tqsocketnotifier.cpp index 9275de3..a9b3943 100644 --- a/tqtinterface/qt4/src/kernel/tqsocketnotifier.cpp +++ b/tqtinterface/qt4/src/kernel/tqsocketnotifier.cpp @@ -48,7 +48,12 @@ #include #endif -#ifdef USE_QT4 +#if 0 +//#ifdef USE_QT4 + +TQSocketNotifier::TQSocketNotifier( int socket, Type type, TQObject *tqparent, const char *name ) : QSocketNotifier(socket, type, tqparent) { + setObjectName(name); +} #else // USE_QT4 @@ -267,4 +272,4 @@ bool TQSocketNotifier::event( TQEvent *e ) return FALSE; } -#endif // USE_QT4 \ No newline at end of file +#endif // USE_QT4 diff --git a/tqtinterface/qt4/src/kernel/tqsocketnotifier.h b/tqtinterface/qt4/src/kernel/tqsocketnotifier.h index 404e9f7..4904471 100644 --- a/tqtinterface/qt4/src/kernel/tqsocketnotifier.h +++ b/tqtinterface/qt4/src/kernel/tqsocketnotifier.h @@ -47,20 +47,22 @@ #include "tqobject.h" #endif // TQT_H -#ifdef USE_QT4 +#if 0 +//#ifdef USE_QT4 #include #endif // USE_QT4 -#ifdef USE_QT4 +#if 0 +//#ifdef USE_QT4 class TQ_EXPORT TQSocketNotifier : public QSocketNotifier { Q_OBJECT TQ_OBJECT public: - TQSocketNotifier( int socket, Type type, TQObject *tqparent=0, const char *name=0 ) : QSocketNotifier(socket, type, tqparent) { setObjectName(name); } + TQSocketNotifier( int socket, Type type, TQObject *tqparent=0, const char *name=0 ); }; #else // USE_QT4