pEnvironmentVariablesManager.sip 1.0 KB

1234567891011121314151617181920212223242526
  1. class pEnvironmentVariablesManager
  2. {
  3. %TypeHeaderCode
  4. #include <gui/environmentvariablemanager/pEnvironmentVariablesManager.h>
  5. %End
  6. public:
  7. pEnvironmentVariablesManager();
  8. bool load();
  9. bool save();
  10. pEnvironmentVariablesModel::Variables variables() const;
  11. void setVariables( const pEnvironmentVariablesModel::Variables& variables );
  12. bool mergeNewVariables( pEnvironmentVariablesModel::Variables& variables ) const;
  13. //FIXME pEnvironmentVariablesModel::Variables mergeNewVariables( const pEnvironmentVariablesModel::Variables& variables ) const;
  14. bool removeUnmodifiedVariables( pEnvironmentVariablesModel::Variables& variables ) const;
  15. //FIXME pEnvironmentVariablesModel::Variables removeUnmodifiedVariables( const pEnvironmentVariablesModel::Variables& variables ) const;
  16. QStringList variables( bool keepDisabled ) const;
  17. protected:
  18. virtual bool writeVariables( const pEnvironmentVariablesModel::Variables& variables ) const;
  19. virtual bool readVariables( pEnvironmentVariablesModel::Variables& variables ) const;
  20. };