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