+// SUPERV SUPERVGUI : GUI for Supervisor component
+//
+// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+//
+//
+//
+// File : SUPERVGUI_Notification.cxx
+// Author : Francis KLOSS
+// Module : SUPERV
+
using namespace std;
-// File : SUPERVGUI_Notification.cxx
-// Created : 21 / 02 / 2002
-// Author : Francis KLOSS
-// Project : SALOME
-// Module : SUPERVGUI
-// Copyright : CEA
#include "SUPERVGUI_Notification.h"
-#include "QAD_Message.h"
-#include "QAD_FileDlg.h"
-#include "SUPERVGUI_Node.h"
#include "SUPERVGUI_Main.h"
+#include "SUPERVGUI_CanvasNode.h"
+
#include "NOTIFICATION.hxx"
+#include "QAD_Message.h"
+#include "QAD_FileDlg.h"
+
#include <qlayout.h>
#include <qlabel.h>
#include <qgroupbox.h>
myMainNotif->setVerbose( false );
/* nodes notification */
- QObjectList* ihmList = myMain->getGraph()->queryList( "SUPERVGUI_Node" );
+ QObjectList* ihmList = myMain->/*getGraph()->*/queryList( "SUPERVGUI_CanvasNode" );
QObjectListIt i( *ihmList );
- SUPERVGUI_Node* theNode;
- while ( ( theNode = ( ( SUPERVGUI_Node* )i.current() ) ) != 0) {
+ SUPERVGUI_CanvasNode* theNode;
+ while ( ( theNode = ( ( SUPERVGUI_CanvasNode* )i.current() ) ) != 0) {
lin = new QFrame( myBox );
lin->setFrameStyle( QFrame::HLine | QFrame::Plain );
/*!
Constructor
*/
-SUPERVGUI_NotifWidget::SUPERVGUI_NotifWidget( QWidget* parent, SUPERVGUI_Node* n )
+SUPERVGUI_NotifWidget::SUPERVGUI_NotifWidget( QWidget* parent, SUPERVGUI_CanvasNode* n )
: QWidget( parent ), myNode ( n )
{
init();