21 if ( !( mConstraints & constraint ) )
29 if ( !( mConstraints & constraint ) )
40 mConstraintStrengths.remove( constraint );
44 mConstraintStrengths.insert( constraint, strength );
52 mConstraints &= ~constraint;
53 mConstraintOrigins.remove( constraint );
54 mConstraintStrengths.remove( constraint );
58 mConstraints |= constraint;
59 mConstraintOrigins.insert( constraint, origin );
60 if ( !mConstraintStrengths.contains( constraint ) )
74 if ( expression.isEmpty() )
82 mExpressionConstraint = expression;
83 mExpressionConstraintDescription = description;
88 return mConstraints == other.mConstraints && mConstraintOrigins == other.mConstraintOrigins
89 && mExpressionConstraint == other.mExpressionConstraint && mExpressionConstraintDescription == other.mExpressionConstraintDescription
90 && mConstraintStrengths == other.mConstraintStrengths
91 && mDomainName == other.mDomainName;