Changes in src/UIElements/Dialog.cpp [5a7243:24a5e0]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Dialog.cpp
r5a7243 r24a5e0 102 102 Dialog::MoleculeQuery::MoleculeQuery(string title, molecule **_target, MoleculeListClass *_molecules) : 103 103 Query(title), 104 t arget(_target),104 tmp(0), 105 105 molecules(_molecules), 106 tmp(0) 106 target(_target) 107 107 108 {} 108 109 … … 116 117 117 118 Dialog::VectorQuery::VectorQuery(std::string title,Vector *_target,const double *const _cellSize,bool _check) : 118 Query(title), target(_target), cellSize(_cellSize), check(_check) 119 Query(title), 120 cellSize(_cellSize), 121 check(_check), 122 target(_target) 119 123 { 120 124 tmp = new Vector(); … … 129 133 *target = *tmp; 130 134 } 131 132 // Element Queries133 Dialog::ElementQuery::ElementQuery(std::string title, element **_target) :134 Query(title),135 target(_target),136 tmp(0)137 {}138 139 Dialog::ElementQuery::~ElementQuery(){}140 141 void Dialog::ElementQuery::setResult(){142 *target=tmp;143 }
Note:
See TracChangeset
for help on using the changeset viewer.