From: env Date: Wed, 3 Aug 2005 09:05:04 +0000 (+0000) Subject: ENV: Windows porting X-Git-Tag: T_3_0_2a1~53 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e791b0b67aff09971031de46294c9d065f8df101;p=modules%2Fgui.git ENV: Windows porting --- diff --git a/src/RegistryDisplay/HelpWindow.cxx b/src/RegistryDisplay/HelpWindow.cxx index 3d8b682cc..a75b6d4e0 100755 --- a/src/RegistryDisplay/HelpWindow.cxx +++ b/src/RegistryDisplay/HelpWindow.cxx @@ -26,7 +26,6 @@ // Module : SALOME // $Header$ -using namespace std; # include "HelpWindow.hxx" # include "utilities.h" @@ -35,6 +34,8 @@ using namespace std; # include # include +using namespace std; + HelpWindow::HelpWindow(QWidget* parent, const char* name ) : QMainWindow( parent, name, WType_TopLevel | WDestructiveClose ) { diff --git a/src/RegistryDisplay/IntervalWindow.hxx b/src/RegistryDisplay/IntervalWindow.hxx index c5a2b0f79..42a03c2aa 100755 --- a/src/RegistryDisplay/IntervalWindow.hxx +++ b/src/RegistryDisplay/IntervalWindow.hxx @@ -16,7 +16,9 @@ # include # include +#ifndef WNT using namespace std; +#endif class IntervalWindow : public QDialog { diff --git a/src/RegistryDisplay/RegWidgetFactory.cxx b/src/RegistryDisplay/RegWidgetFactory.cxx index 988c6c067..e52b4bd43 100755 --- a/src/RegistryDisplay/RegWidgetFactory.cxx +++ b/src/RegistryDisplay/RegWidgetFactory.cxx @@ -26,10 +26,11 @@ // Module : SALOME // $Header$ -using namespace std; # include "RegWidget.h" # include "utilities.h" +using namespace std; + extern "C" {