X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSUPERVGUI%2FSUPERVGUI_Notification.cxx;h=0121236426c8a713f56ab969900febc761535046;hb=ea7f29f75031ca13b9454f5e9ac73730f1f584eb;hp=7515fb02d49e4a5f71dfe0eead4b4a0dee9095be;hpb=c46f174ce52809de76f2a22795db89d229aedc7e;p=modules%2Fsuperv.git diff --git a/src/SUPERVGUI/SUPERVGUI_Notification.cxx b/src/SUPERVGUI/SUPERVGUI_Notification.cxx index 7515fb0..0121236 100644 --- a/src/SUPERVGUI/SUPERVGUI_Notification.cxx +++ b/src/SUPERVGUI/SUPERVGUI_Notification.cxx @@ -26,12 +26,15 @@ // Module : SUPERV using namespace std; + #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 @@ -92,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 ); @@ -279,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();