QString QDomDocumentTypeProto:: publicId() const { QDomDocumentType *item = qscriptvalue_cast<QDomDocumentType*>(thisObject()); if (item) return item->publicId(); return QString(); }
QString QDomDocumentTypeProto::toString() const { QDomDocumentType *item = qscriptvalue_cast<QDomDocumentType*>(thisObject()); if (item) return QString("[QDomDocumentType(type = %1, public = %2, system = %3)]") .arg(item->name()) .arg(item->publicId()) .arg(item->systemId()); return QString("[QDomDocumentType(unknown)]"); }