Salome HOME
Movement of examples to CVS EXAMPLES SAMPLES_SRC.
[modules/smesh.git] / src / StdMeshersGUI / StdMeshersGUI_CreateStdHypothesisDlg.cxx
index 32aa02df3938459e3d6a37f0dda20b2549127aa2..542600141fe590793ea88ace9c36344c07dfb6a7 100644 (file)
@@ -35,10 +35,10 @@ using namespace std;
 
 #include "utilities.h"
 
-#include "SALOMEGUI_QtCatchCorbaException.hxx"
-#include "QAD_MessageBox.h"
-#include "QAD_WaitCursor.h"
-#include "QAD_Desktop.h"
+#include "SUIT_MessageBox.h"
+#include "SUIT_ResourceMgr.h"
+#include "SUIT_OverrideCursor.h"
+#include "SUIT_Desktop.h"
 
 //=================================================================================
 // class    : StdMeshersGUI_CreateStdHypothesisDlg()
@@ -47,9 +47,9 @@ using namespace std;
 StdMeshersGUI_CreateStdHypothesisDlg::StdMeshersGUI_CreateStdHypothesisDlg (const QString& hypType,
                                                                             QWidget* parent,
                                                                             const char* name,
-                                                                            bool modal,
+                                                                            bool /*modal*/,
                                                                             WFlags fl)
-     : StdMeshersGUI_CreateHypothesisDlg (hypType, parent, name, modal, fl)
+     : StdMeshersGUI_CreateHypothesisDlg (hypType, parent, name, true, fl)
 {
   QString hypTypeStr;
   if (hypType.compare("LocalLength") == 0)
@@ -72,9 +72,9 @@ StdMeshersGUI_CreateStdHypothesisDlg::StdMeshersGUI_CreateStdHypothesisDlg (cons
   QString caption( tr ( QString( "SMESH_%1_TITLE" ).arg( hypTypeStr )));
   QString hypTypeName( tr ( QString( "SMESH_%1_HYPOTHESIS" ).arg( hypTypeStr )));
   QString hypIconName( tr ( QString( "ICON_DLG_%1" ).arg( hypTypeStr )));
-  
-  CreateDlgLayout(caption, 
-                  QAD_Desktop::getResourceManager()->loadPixmap( "SMESH", hypIconName ),
+
+  CreateDlgLayout(caption,
+                  SMESHGUI::resourceMgr()->loadPixmap( "SMESH", hypIconName ),
                   hypTypeName);
 }