Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove obsolete code
[modules/gui.git]
/
src
/
SalomeApp
/
SalomeApp_Selection.cxx
diff --git
a/src/SalomeApp/SalomeApp_Selection.cxx
b/src/SalomeApp/SalomeApp_Selection.cxx
index 85bcc90c7391437ebe2da5acea344a19d423c9bb..39ecc9b1cba5df2ff2cb3709b532d05f0b78f59f 100644
(file)
--- a/
src/SalomeApp/SalomeApp_Selection.cxx
+++ b/
src/SalomeApp/SalomeApp_Selection.cxx
@@
-27,7
+27,7
@@
void SalomeApp_Selection::init( const QString& client, SalomeApp_SelectionMgr* m
myStudy = dynamic_cast<SalomeApp_Study*>( mgr->application()->activeStudy() );
SUIT_DataOwnerPtrList sel;
myStudy = dynamic_cast<SalomeApp_Study*>( mgr->application()->activeStudy() );
SUIT_DataOwnerPtrList sel;
- mgr->selected( sel );
+ mgr->selected( sel
, client
);
SUIT_DataOwnerPtrList::const_iterator anIt = sel.begin(), aLast = sel.end();
for( ; anIt!=aLast; anIt++ )
{
SUIT_DataOwnerPtrList::const_iterator anIt = sel.begin(), aLast = sel.end();
for( ; anIt!=aLast; anIt++ )
{
@@
-46,12
+46,20
@@
int SalomeApp_Selection::count() const
return myEntries.count();
}
return myEntries.count();
}
-QtxValue SalomeApp_Selection::param( const int
ind
, const QString& p ) const
+QtxValue SalomeApp_Selection::param( const int, const QString& p ) const
{
{
- if
( p == "client" )
+ if
( p=="client" )
return myPopupClient;
return myPopupClient;
+ else
+ return QtxValue();
+}
- return QtxValue();
+QtxValue SalomeApp_Selection::globalParam( const QString& p ) const
+{
+ if( p=="client" )
+ return myPopupClient;
+ else
+ return QtxPopupMgr::Selection::globalParam( p );
}
void SalomeApp_Selection::processOwner( const SalomeApp_DataOwner* )
}
void SalomeApp_Selection::processOwner( const SalomeApp_DataOwner* )