X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSUPERVGUI%2FSUPERVGUI_Notification.cxx;h=0121236426c8a713f56ab969900febc761535046;hb=ea7f29f75031ca13b9454f5e9ac73730f1f584eb;hp=05e82931d8406b5885388b6615b93a66bed1cf97;hpb=628503854743434655e81a0b11c9b9955315608e;p=modules%2Fsuperv.git diff --git a/src/SUPERVGUI/SUPERVGUI_Notification.cxx b/src/SUPERVGUI/SUPERVGUI_Notification.cxx index 05e8293..0121236 100644 --- a/src/SUPERVGUI/SUPERVGUI_Notification.cxx +++ b/src/SUPERVGUI/SUPERVGUI_Notification.cxx @@ -1,17 +1,40 @@ +// 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 #include #include @@ -72,10 +95,10 @@ SUPERVGUI_Notification::SUPERVGUI_Notification( SUPERVGUI_Main* m ) 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 ); @@ -259,7 +282,7 @@ void SUPERVGUI_Notification::setVerbose( bool on ) /*! Constructor */ -SUPERVGUI_NotifWidget::SUPERVGUI_NotifWidget( QWidget* parent, SUPERVGUI_Node* n ) +SUPERVGUI_NotifWidget::SUPERVGUI_NotifWidget( QWidget* parent, SUPERVGUI_CanvasNode* n ) : QWidget( parent ), myNode ( n ) { init();