From e791b0b67aff09971031de46294c9d065f8df101 Mon Sep 17 00:00:00 2001 From: env Date: Wed, 3 Aug 2005 09:05:04 +0000 Subject: [PATCH] ENV: Windows porting --- src/RegistryDisplay/HelpWindow.cxx | 3 ++- src/RegistryDisplay/IntervalWindow.hxx | 2 ++ src/RegistryDisplay/RegWidgetFactory.cxx | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) 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" { -- 2.39.2