X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSALOME_ProductsView.hxx;h=38b02dba8e60a214f3cc92a343939a89d11a2855;hb=3fc3493387b534f9e0c536de985ac0af3413ae7a;hp=bade8b3388bebdeaedd60a4d7a9d9b0c31d6f700;hpb=e248ae8e6480f161e70bd6d50c2351cf1d64c4e1;p=tools%2Finstall.git diff --git a/src/SALOME_ProductsView.hxx b/src/SALOME_ProductsView.hxx index bade8b3..38b02db 100644 --- a/src/SALOME_ProductsView.hxx +++ b/src/SALOME_ProductsView.hxx @@ -1,10 +1,9 @@ // File : SALOME_ProductsView.hxx // Created : Thu Dec 18 12:01:00 2002 // Author : Vadim SANDLER -// Project : PAL/SALOME -// Module : InstallWizard -// Copyright : 2004 CEA -// $Header$ +// Project : SALOME +// Module : Installation Wizard +// Copyright : 2005 CEA #ifndef __SALOME_ProductsView #define __SALOME_ProductsView @@ -53,13 +52,13 @@ public: void itemActivated( QCheckListItem* item ); // returns true if "install binaries" is on for the item - bool isBinaries( QCheckListItem* item ); + bool isBinaries( QCheckListItem* item ) const; // returns true if "install sources" is on for the item - bool isSources( QCheckListItem* item ); + bool isSources( QCheckListItem* item ) const; // returns true if "use native" is on for the item - bool isNative( QCheckListItem* item ); + bool isNative( QCheckListItem* item ) const; // returns true if "not install" is on for the item - bool isNone( QCheckListItem* item ); + bool isNone( QCheckListItem* item ) const; // sets "install binaries" on for the item; if "binaries" item is absent, set "install sources" on if it is present void setBinaries( QCheckListItem* item ); @@ -70,6 +69,13 @@ public: // sets "not install" on for the item void setNone( QCheckListItem* item ); + // returns true if product supports "binaries" installation mode + bool hasBinaries( QCheckListItem* item ) const; + // returns true if product supports "sources" installation mode + bool hasSources( QCheckListItem* item ) const; + // returns true if product supports "native" installation mode + bool hasNative( QCheckListItem* item ) const; + signals: // emitted when checkbox or radiobutton is switched void itemToggled( QCheckListItem* item );