]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Windows port
authoradam <adam>
Fri, 26 Feb 2010 15:20:27 +0000 (15:20 +0000)
committeradam <adam>
Fri, 26 Feb 2010 15:20:27 +0000 (15:20 +0000)
src/GEOMToolsGUI/GEOMToolsGUI_1.cxx
src/GEOMToolsGUI/GEOMToolsGUI_DeflectionDlg.cxx
src/GEOMToolsGUI/GEOMToolsGUI_DeflectionDlg.h

index 34b1f08357bc383629fbdd13c5396ba9df2e408f..543c0727062b48ffa3d1fb8a321acf6b00df4ef2 100644 (file)
@@ -556,13 +556,13 @@ void GEOMToolsGUI::OnDeflection()
 
       GEOMToolsGUI_DeflectionDlg * DeflectionDlg = new GEOMToolsGUI_DeflectionDlg
         (SUIT_Session::session()->activeApplication()->desktop());
-      DeflectionDlg->setDC(aDC);
+      DeflectionDlg->setTheDC(aDC);
       double aNewDC = 0.0;
       bool ok = false;
       while (!ok) {
         if (DeflectionDlg->exec()) {
           SUIT_OverrideCursor();
-          aNewDC = DeflectionDlg->getDC();
+          aNewDC = DeflectionDlg->getTheDC();
           ok = (1e-07 <= aNewDC && aNewDC <= 1.0); // spinbox can return zero
           if (ok) {
             for (; ic->MoreCurrent(); ic->NextCurrent()) {
@@ -628,10 +628,10 @@ void GEOMToolsGUI::OnDeflection()
 
     GEOMToolsGUI_DeflectionDlg* DeflectionDlg = new GEOMToolsGUI_DeflectionDlg
       (SUIT_Session::session()->activeApplication()->desktop());
-    DeflectionDlg->setDC(aDC);
+    DeflectionDlg->setTheDC(aDC);
     if (DeflectionDlg->exec()) {
       SUIT_OverrideCursor();
-      aDC = DeflectionDlg->getDC();
+      aDC = DeflectionDlg->getTheDC();
       while (anAct != NULL) {
         if (GEOM_Actor* anActor = GEOM_Actor::SafeDownCast(anAct)) {
           // There are no casting to needed actor.
index 715c22dee0c042eb5ab2713268f3ba82cabf905c..d36b4f0c5c7f8c5d155fcbb312ed0c4ed247d094 100644 (file)
@@ -137,12 +137,12 @@ GEOMToolsGUI_DeflectionDlg::~GEOMToolsGUI_DeflectionDlg()
   // no need to delete child widgets, Qt does it all for us
 }
 
-double GEOMToolsGUI_DeflectionDlg::getDC() const
+double GEOMToolsGUI_DeflectionDlg::getTheDC() const
 {
   return SpinBox->text().toDouble();
 }
 
-void GEOMToolsGUI_DeflectionDlg::setDC (const double v)
+void GEOMToolsGUI_DeflectionDlg::setTheDC (const double v)
 {
   SpinBox->setValue(v);
 }
index 39bb8cc7e75754f57584e3b5ed4e8b45d290260c..e5b3fe9e6187d438be84fa89e8949ca107681e47 100644 (file)
@@ -44,8 +44,8 @@ public:
   GEOMToolsGUI_DeflectionDlg( QWidget* );
   ~GEOMToolsGUI_DeflectionDlg();
 
-  double    getDC() const;
-  void      setDC( const double );
+  double    getTheDC() const;
+  void      setTheDC( const double );
 
 private slots:
   void      ClickOnHelp();