#include <GL/gl.h>
-#include <iostream.h>
+#include <iostream>
+
+using namespace std;
/****************************************************************************
** Class: GLViewer_LineList
#include <qwt_math.h>
#include <qwt_plot_canvas.h>
-#include <iostream.h>
+#include <iostream>
#include <stdlib.h>
//#include "utilities.h"
return 1;
}else{
// Complete and correct text. We evaluate it.
+#ifndef WNT
PyObjWrapper r(PyEval_EvalCode(v,context,context));
+#else
+ PyObjWrapper r(PyEval_EvalCode((PyCodeObject *)&v,context,context));
+#endif
if(!r){
// Execution error. We return -1
PyErr_Print();
#include <Python.h> // must be before qt includes ...
+#ifndef WNT
extern "C" PyObject * PyEval_EvalCode(PyObject *co, PyObject *g, PyObject *l);
+#endif
#define TOP_HISTORY_PY "--- top of history ---"
#define BEGIN_HISTORY_PY "--- begin of history ---"
for( int i=0, n=children.count(); i<n; i++ )
{
QDomNode node = children.item( i );
- QString n = node.nodeName();
+ //QString n = node.nodeName();
if( node.isElement() /*&& node.hasAttributes()*/ &&
( items.contains( node.nodeName() ) || node.nodeName()==option( "separator" ) ) )
{
#include <qfiledialog.h>
#include <qapplication.h>
-#include <iostream.h>
+#include <iostream>
/*!Create and return new instance of STD_Application*/
extern "C" STD_EXPORT SUIT_Application* createApplication()
#include <qdialog.h>
+#include <Standard_Macro.hxx>
+
class QLineEdit;
class QPushButton;
// class : ToolsGUI_CatalogGeneratorDlg
// purpose :
//=================================================================================
-class ToolsGUI_CatalogGeneratorDlg : public QDialog
+class Standard_EXPORT ToolsGUI_CatalogGeneratorDlg : public QDialog
{
Q_OBJECT
// Module : SALOME
// $Header$
-using namespace std;
# include "ToolsGUI_HelpWindow.h"
# include "utilities.h"
# include <qtextstream.h>
# include <qfile.h>
+using namespace std;
+
ToolsGUI_HelpWindow::ToolsGUI_HelpWindow(QWidget* parent, const char* name )
: QMainWindow( parent, name, WType_TopLevel | WDestructiveClose )
{
# include <qpushbutton.h>
# include <qspinbox.h>
+#ifndef WNT
using namespace std;
+#endif
class ToolsGUI_IntervalWindow : public QDialog
{
class QPushButton;
#endif
+#include <Standard_Macro.hxx>
+
class ToolsGUI_HelpWindow;
class ToolsGUI_IntervalWindow;
-class ToolsGUI_InfoWindow : public QMainWindow {
+class Standard_EXPORT ToolsGUI_InfoWindow : public QMainWindow {
public:
ToolsGUI_InfoWindow( QWidget* parent = 0, const char* name = 0);
QTextView* myTextView;
};
-class ToolsGUI_RegWidget : public QMainWindow
+class Standard_EXPORT ToolsGUI_RegWidget : public QMainWindow
{
Q_OBJECT