Salome HOME
SMH: 3.0.0 preparation = merged version (POLYWORK + RTVDEBUG01) + adopation for new GUI
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI_CanvasView.cxx
index ad96187da2e70a3452d3ac589d62f26d042d5f57..75fe69cc2fe31e13f914e580ea7cedd93bbb89d8 100644 (file)
@@ -18,8 +18,7 @@ using namespace std;
 #include "SUPERVGUI_CanvasNodePrs.h"
 #include "SUPERVGUI_Clipboard.h"
 
-#include "QAD_Config.h"
-#include "QAD_MessageBox.h"
+#include "SUIT_MessageBox.h"
 
 #include <qpixmap.h>
 #include <qcolordialog.h>
@@ -652,8 +651,8 @@ void SUPERVGUI_CanvasView::endSketch(SUPERVGUI_CanvasPort* thePort)
 
     // asv : 13.12.04 : introducing a check for ports' types compatibility (Bugs and Improvements p.1.16, PAL7380)
     if ( !aLinkEngine->IsValid() ) { 
-      const int id = QAD_MessageBox::warn2( this, tr( "TLT_INVALID_LINK" ), tr( "MSG_INVALID_LINK" ), 
-                                          tr( "Keep" ), tr( "Remove" ), 0, 1, 0 );
+      const int id = SUIT_MessageBox::warn2( this, tr( "TLT_INVALID_LINK" ), tr( "MSG_INVALID_LINK" ), 
+                                            tr( "Keep" ), tr( "Remove" ), 0, 1, 0 );
       if ( id == 1 ) { // "Remove" was selected in Message Box
        aLink->remove(); // the new link did not live long...
       }