/* * Project: MoleCuilder * Description: creates and alters molecular systems * Copyright (C) 2010 University of Bonn. All rights reserved. * Please see the LICENSE file or "Copyright notice" in builder.cpp for details. */ /* * MoleculesQuery.cpp * * Created on: Oct 25, 2010 * Author: heber */ #ifdef HAVE_CONFIG_H #include #endif #include "CodePatterns/MemDebug.hpp" #include "Dialog.hpp" #include "Actions/ValueStorage.hpp" // Molecules Queries Dialog::MoleculesQuery::MoleculesQuery(string title, std::string _description) : Query(title, _description), tmp(0) {} Dialog::MoleculesQuery::~MoleculesQuery() {} void Dialog::MoleculesQuery::setResult() { ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); }