Salome HOME
updated copyright message
[modules/gui.git] / src / SalomeApp / SalomeApp_NoteBook.cxx
index 5467ef600ae5e70bb5d5bf8d48d6feb9bb3a1a47..9ef392a901dab34f65240c2c1695ed3f4ef81305 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -71,8 +71,8 @@
 //============================================================================
 NoteBook_TableRow::NoteBook_TableRow(int index, NoteBook_Table* parentTable, QWidget* parent):
   QWidget(parent),
-  myParentTable(parentTable),
   myIndex(index),
+  myParentTable(parentTable),
   myRowHeader(new QTableWidgetItem()),
   myVariableName(new QTableWidgetItem()),
   myVariableValue(new QTableWidgetItem())
@@ -274,7 +274,7 @@ bool NoteBook_TableRow::IsIntegerValue(const QString theValue, int* theResult)
  *             The whole notebook is verified on apply
  */
 //============================================================================
-bool NoteBook_TableRow::IsValidStringValue(const QString theValue)
+bool NoteBook_TableRow::IsValidStringValue(const QString /*theValue*/)
 {
   int aNumRows = myParentTable->myRows.count();
   if( aNumRows == 0 )
@@ -404,7 +404,7 @@ void NoteBook_Table::Init()
 
   //Add all variables into the table
   std::vector<std::string> aVariables = SalomeApp_Application::getStudy()->GetVariableNames();
-  for(int iVar = 0; iVar < aVariables.size(); iVar++ ) {
+  for(int iVar = 0; iVar < (int)aVariables.size(); iVar++ ) {
     AddRow(QString(aVariables[iVar].c_str()),
            Variable2String(aVariables[iVar]));
   }
@@ -816,7 +816,7 @@ void SalomeApp_NoteBook::Init(){
  *  Purpose  : [slot]
  */
 //============================================================================
-void SalomeApp_NoteBook::onVarUpdate(QString theVarName)
+void SalomeApp_NoteBook::onVarUpdate(QString /*theVarName*/)
 {
   myTable->Init();
 }