Changeset 955b91 for src/UIElements/Qt4


Ignore:
Timestamp:
Mar 27, 2012, 3:53:35 PM (13 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
4d2b33
Parents:
912c40
git-author:
Frederik Heber <heber@…> (03/14/12 18:08:24)
git-committer:
Frederik Heber <heber@…> (03/27/12 15:53:35)
Message:

FIX: Removed using namespace std in Vector.hpp.

  • this caused some follow-up problems in other LinearAlgebra modules,
mostly stuff from iostream not having std
prefix then.
this also caused more of them in MoleCuilder modules, mostly due to string,
stringstream, and numeric_limits with std
prefix.
Location:
src/UIElements/Qt4
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Qt4/Pipe/StringQtQueryPipe.cpp

    r912c40 r955b91  
    2626
    2727
    28 StringQtQueryPipe::StringQtQueryPipe(string *_content, QtDialog *_dialog) :
     28StringQtQueryPipe::StringQtQueryPipe(std::string *_content, QtDialog *_dialog) :
    2929  content(_content),
    3030  dialog(_dialog)
  • src/UIElements/Qt4/Query/AtomQtQuery.cpp

    r912c40 r955b91  
    3030#include "World.hpp"
    3131
    32 QtDialog::AtomQtQuery::AtomQtQuery(string _title,QBoxLayout *_parent,QtDialog *_dialog) :
     32QtDialog::AtomQtQuery::AtomQtQuery(std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
    3333    Dialog::AtomQuery(_title),
    3434    parent(_parent)
  • src/UIElements/Qt4/Query/AtomsQtQuery.cpp

    r912c40 r955b91  
    3333
    3434
    35 QtDialog::AtomsQtQuery::AtomsQtQuery(string _title,QBoxLayout *_parent,QtDialog *_dialog) :
     35QtDialog::AtomsQtQuery::AtomsQtQuery(std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
    3636    Dialog::AtomsQuery(_title),
    3737    parent(_parent)
  • src/UIElements/Qt4/Query/BoxQtQuery.cpp

    r912c40 r955b91  
    3030#include "World.hpp"
    3131
    32 QtDialog::BoxQtQuery::BoxQtQuery(string _title,QBoxLayout *_parent,QtDialog *_dialog) :
     32QtDialog::BoxQtQuery::BoxQtQuery(std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
    3333    Dialog::BoxQuery(_title),
    3434    parent(_parent)
  • src/UIElements/Qt4/Query/DoubleQtQuery.cpp

    r912c40 r955b91  
    2828
    2929
    30 QtDialog::DoubleQtQuery::DoubleQtQuery(string title,QBoxLayout *_parent,QtDialog *_dialog) :
     30QtDialog::DoubleQtQuery::DoubleQtQuery(std::string title,QBoxLayout *_parent,QtDialog *_dialog) :
    3131    Dialog::DoubleQuery(title),
    3232    parent(_parent)
     
    3636  inputBox = new QDoubleSpinBox();
    3737  inputBox->setValue(0);
    38   inputBox->setRange(-numeric_limits<double>::max(),numeric_limits<double>::max());
     38  inputBox->setRange(-std::numeric_limits<double>::max(),std::numeric_limits<double>::max());
    3939  inputBox->setDecimals(3);
    4040  parent->addLayout(thisLayout);
  • src/UIElements/Qt4/Query/DoublesQtQuery.cpp

    r912c40 r955b91  
    3030
    3131
    32 QtDialog::DoublesQtQuery::DoublesQtQuery(string title,QBoxLayout *_parent,QtDialog *_dialog) :
     32QtDialog::DoublesQtQuery::DoublesQtQuery(std::string title,QBoxLayout *_parent,QtDialog *_dialog) :
    3333    Dialog::DoublesQuery(title),
    3434    parent(_parent)
  • src/UIElements/Qt4/Query/IntQtQuery.cpp

    r912c40 r955b91  
    2828
    2929
    30 QtDialog::IntQtQuery::IntQtQuery(string _title,QBoxLayout *_parent,QtDialog *_dialog) :
     30QtDialog::IntQtQuery::IntQtQuery(std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
    3131    Dialog::IntQuery(_title),
    3232    parent(_parent)
  • src/UIElements/Qt4/Query/IntsQtQuery.cpp

    r912c40 r955b91  
    3030
    3131
    32 QtDialog::IntsQtQuery::IntsQtQuery(string _title,QBoxLayout *_parent,QtDialog *_dialog) :
     32QtDialog::IntsQtQuery::IntsQtQuery(std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
    3333    Dialog::IntsQuery(_title),
    3434    parent(_parent)
  • src/UIElements/Qt4/Query/MoleculeQtQuery.cpp

    r912c40 r955b91  
    3131
    3232
    33 QtDialog::MoleculeQtQuery::MoleculeQtQuery(string _title, QBoxLayout *_parent,QtDialog *_dialog) :
     33QtDialog::MoleculeQtQuery::MoleculeQtQuery(std::string _title, QBoxLayout *_parent,QtDialog *_dialog) :
    3434    Dialog::MoleculeQuery(_title),
    3535    parent(_parent)
  • src/UIElements/Qt4/Query/MoleculesQtQuery.cpp

    r912c40 r955b91  
    3131
    3232
    33 QtDialog::MoleculesQtQuery::MoleculesQtQuery(string _title, QBoxLayout *_parent,QtDialog *_dialog) :
     33QtDialog::MoleculesQtQuery::MoleculesQtQuery(std::string _title, QBoxLayout *_parent,QtDialog *_dialog) :
    3434    Dialog::MoleculesQuery(_title),
    3535    parent(_parent)
  • src/UIElements/Qt4/Query/RandomNumberDistribution_ParametersQtQuery.cpp

    r912c40 r955b91  
    3131#include "World.hpp"
    3232
    33 QtDialog::RandomNumberDistribution_ParametersQtQuery::RandomNumberDistribution_ParametersQtQuery(string _title,QBoxLayout *_parent,QtDialog *_dialog) :
     33QtDialog::RandomNumberDistribution_ParametersQtQuery::RandomNumberDistribution_ParametersQtQuery(std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
    3434    Dialog::RandomNumberDistribution_ParametersQuery(_title),
    3535    parent(_parent)
  • src/UIElements/Qt4/Query/StringQtQuery.cpp

    r912c40 r955b91  
    2828
    2929
    30 QtDialog::StringQtQuery::StringQtQuery(string _title,QBoxLayout *_parent,QtDialog *_dialog) :
     30QtDialog::StringQtQuery::StringQtQuery(std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
    3131    Dialog::StringQuery(_title),
    3232    parent(_parent)
  • src/UIElements/Qt4/Query/StringsQtQuery.cpp

    r912c40 r955b91  
    3030
    3131
    32 QtDialog::StringsQtQuery::StringsQtQuery(string _title,QBoxLayout *_parent,QtDialog *_dialog) :
     32QtDialog::StringsQtQuery::StringsQtQuery(std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
    3333    Dialog::StringsQuery(_title),
    3434    parent(_parent)
     
    7676  // dissect by ","
    7777  std::string::iterator olditer = temp.begin();
    78   for(string::iterator iter = temp.begin(); iter != temp.end(); ++iter) {
     78  for(std::string::iterator iter = temp.begin(); iter != temp.end(); ++iter) {
    7979    if (*iter == ' ') {
    80       tmp.push_back(string(iter, olditer));
     80      tmp.push_back(std::string(iter, olditer));
    8181      olditer = iter;
    8282    }
    8383  }
    8484  if (olditer != temp.begin())  // insert last part also
    85     tmp.push_back(string(olditer, temp.end()));
     85    tmp.push_back(std::string(olditer, temp.end()));
    8686
    8787  return temp!="";
  • src/UIElements/Qt4/Query/UnsignedIntQtQuery.cpp

    r912c40 r955b91  
    2828
    2929
    30 QtDialog::UnsignedIntQtQuery::UnsignedIntQtQuery(string _title,QBoxLayout *_parent,QtDialog *_dialog) :
     30QtDialog::UnsignedIntQtQuery::UnsignedIntQtQuery(std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
    3131    Dialog::UnsignedIntQuery(_title),
    3232    parent(_parent)
  • src/UIElements/Qt4/Query/UnsignedIntsQtQuery.cpp

    r912c40 r955b91  
    3030
    3131
    32 QtDialog::UnsignedIntsQtQuery::UnsignedIntsQtQuery(string _title,QBoxLayout *_parent,QtDialog *_dialog) :
     32QtDialog::UnsignedIntsQtQuery::UnsignedIntsQtQuery(std::string _title,QBoxLayout *_parent,QtDialog *_dialog) :
    3333    Dialog::UnsignedIntsQuery(_title),
    3434    parent(_parent)
Note: See TracChangeset for help on using the changeset viewer.