// base class bool Constraint::equals(ref<Constraint> c) { if (getCType() != c->getCType()) { return false; } else { return equalsInternal(c); } }
int PrecedenceConstraintDialog::run() { int response = mDialog->run(); mDialog->hide(); std::string tmp = mActTlMin->get_text(); mPrecedenceConstraint.actTlMin(tmp); tmp = mActTlMax->get_text(); mPrecedenceConstraint.actTlMax(tmp); mPrecedenceConstraint.cType(getCType()); return response; }