From: asl Date: Fri, 27 Nov 2009 09:59:34 +0000 (+0000) Subject: The method AcceptParameters() should accept expression as argument X-Git-Tag: PHASE_17_Part1_V1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9e91f71b6667779b6fda5b4b381224dba6b1fbf7;p=modules%2Fgui.git The method AcceptParameters() should accept expression as argument --- diff --git a/src/SalomeApp/SalomeApp_Notebook.cxx b/src/SalomeApp/SalomeApp_Notebook.cxx index 4c12539f5..e63b21792 100644 --- a/src/SalomeApp/SalomeApp_Notebook.cxx +++ b/src/SalomeApp/SalomeApp_Notebook.cxx @@ -165,9 +165,9 @@ QStringList SalomeApp_Notebook::parameters() const return convert( myNotebook->Parameters() ); } -QStringList SalomeApp_Notebook::absentParameters() const +QStringList SalomeApp_Notebook::absentParameters( const QString& theExpr ) const { - return convert( myNotebook->AbsentParameters() ); + return convert( myNotebook->AbsentParameters( theExpr.toLatin1().constData() ) ); } void SalomeApp_Notebook::setParameters( SALOME::ParameterizedObject_ptr theObject, int theCount, QAbstractSpinBox* theFirstSpin, ... ) diff --git a/src/SalomeApp/SalomeApp_Notebook.h b/src/SalomeApp/SalomeApp_Notebook.h index a628ce6d2..05c757a00 100644 --- a/src/SalomeApp/SalomeApp_Notebook.h +++ b/src/SalomeApp/SalomeApp_Notebook.h @@ -57,7 +57,7 @@ public: void rename( const QString& theOldName, const QString& theNewName ); QStringList parameters() const; - QStringList absentParameters() const; + QStringList absentParameters( const QString& theExpr ) const; void setParameters( SALOME::ParameterizedObject_ptr theObject, int theCount, QAbstractSpinBox* theFirstSpin, ... );