From aa2118f85ef44f5eb22babe5cc53421d7d981a94 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 30 Apr 2002 14:19:15 +0000 Subject: - no default args in method impls - don't unconditionally define _XOPEN_SOURCE (added comment about this being wrong) - fixed parameter shadowing problem in DesktopApplication ctor --- (limited to 'core/launcher/qcopbridge.cpp') diff --git a/core/launcher/qcopbridge.cpp b/core/launcher/qcopbridge.cpp index c8af919..2d084fc 100644 --- a/core/launcher/qcopbridge.cpp +++ b/core/launcher/qcopbridge.cpp @@ -33,7 +33,11 @@ #include #include +// actually this is wrong, _XOPEN_SOURCE should get defined on the commandline +// and it should have a proper value assigned. (Simon) +#if !defined(_XOPEN_SOURCE) #define _XOPEN_SOURCE +#endif #include #include #include @@ -46,8 +50,8 @@ const int block_size = 51200; -QCopBridge::QCopBridge( Q_UINT16 port, QObject *parent = 0, - const char* name = 0) +QCopBridge::QCopBridge( Q_UINT16 port, QObject *parent, + const char* name ) : QServerSocket( port, 1, parent, name ), desktopChannel( 0 ), cardChannel( 0 ) @@ -169,7 +173,7 @@ void QCopBridge::timerEvent( QTimerEvent * ) } -QCopBridgePI::QCopBridgePI( int socket, QObject *parent = 0, const char* name = 0 ) +QCopBridgePI::QCopBridgePI( int socket, QObject *parent, const char* name ) : QSocket( parent, name ) { setSocket( socket ); -- cgit v0.9.0.2