public override bool Equals(object o) { if (!(o is QTextLength)) { return false; } return this == (QTextLength) o; }