From 9e91f71b6667779b6fda5b4b381224dba6b1fbf7 Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 27 Nov 2009 09:59:34 +0000 Subject: [PATCH] The method AcceptParameters() should accept expression as argument --- src/SalomeApp/SalomeApp_Notebook.cxx | 4 ++-- src/SalomeApp/SalomeApp_Notebook.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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, ... ); -- 2.39.2